4 ms·
Ask HN: What's the best app for Android device automation?
Hey!
I'd like to automate my Android device (Pixel 7a) some more_ Open an app at a specific time, set volume based on location or time or Wifi, maybe react to more triggers from Apps, set display to monochrome after one hour of daily usage, stuff like that.
Which app would you use for things like these? Do I need to root my phone for that?
- average_r_user 2y agoYou could try MacroDroid, it's free with a premium one-time purchase if you want. You don't need root for most of the automation/routine; only a bunch of those require special permissions or workarounds. Its UI is not that bad. You could also try Tasker
- martin_a 2y agoThanks, I'll look into those two!
- madduci 2y agoYour best bet is Tasker. It is probably the most known automation system, you can define scenarios and different kind of events
- David2076 2y agoI love tasker but my Nokia g42 is limited e.g. I'm not sure it can be rooted easily and it unoverridably kills background apps. Is there a android phone that is recommended for maximum automation with tasker.
- mellow-lake-day 2y agoI prefer this one because of the UI: https://play.google.com/store/apps/details?id=com.llamalab.automate https://play.google.com/store/apps/details?id=com.llamalab.a...
- wonger_ 2y agoHere's some notes from my experience using Automate: - flowchart block scripting feels intuitive and flexible - free tier allows 30 running blocks - some blocks I've tried: send SMS, show toast, set clipboard, await motion gesture (finnicky), await volume button long press. - it comes with an app inspector. Example usage: I wanted to make a shortcut for creating new notes. So I created a test note, activated the app inspector, and copied this output into an "app start" block: Package: com.automattic.simplenote Activity class: com.automattic.simplenote.NotesActivity Action: android.intent.action.SEND MIME type: text/plain Extras: {"android.intent.extra.SUBJECT": "test title", "android.intent.extra.TEXT": "content"} Not sure how this compares with Tasker.
- smusamashah 2y agoThe documentation is not good enough. It's OK at best. My wife has a habit of putting phone to vibrate. I used Automate to turn the volume to full if I was ringing. It was not as simple as macro droid (may be it was some other tool) and documentation was a bit frustrating.
- TeMPOraL 2y agoTasker. It's probably the most well-known app for this, definitely most full-featured one. It's messy, and carries a bit of baggage of questionable design decisions, but that's a given for a program that's been in high-paced development for 15 years now. There are alternatives like Automate or MacroDroid, but they're simpler, less feature-full. (EDIT: it may look like that some of the newer apps have similar feature sets, but the devil is in the details - Tasker tends to expose more parameters, give you more fine-grained control over any feature.) (FWIW, Tasker has recently gained a sister project, Tasky, that tries to expose the same functionality using a much dumber^Wsimpler UI, geared towards more common scenarios and more casual users.) > Open an app at a specific time, set volume based on location or time or Wifi, maybe react to more triggers from Apps, set display to monochrome after one hour of daily usage, stuff like that. Most of those you can do without root. Recently, "Wireless Debugging" aka. ADB WiFi became a way to do some privileged activities without full root, and Tasker can use that too (caveat being, as I understand it, that technique only works when you're connected to a WiFi network). Tasker may be a bit rough around the edges wrt. the UI, and the low-code model/language it exposes feels a lot like ol' PHP 4 in terms of stringly-typed data, but it works, and is well-established. Importantly, you can easily pair it with Termux, so if you prefer writing code over "GUI programming" with list views, you can use Tasker as an easy "event listener" layer, and just have your tasks fire Termux scripts.
- gloflo 2y agoLlama was the best. Alternatives to Llama for Android: https://gist.github.com/bmaupin/b1443d3872b288554008c47b245a463b https://gist.github.com/bmaupin/b1443d3872b288554008c47b245a...
- deleted 2y ago[deleted]
- leros 2y agoI use Sleep as Android and Tasker. When I go to sleep, I set my alarm with Sleep as Android. Tasker uses that event as a trigger and makes an http request to my home automation hub. That http request is pushing a virtual button. That button puts my house into sleep mode. So the end effect is that I turn on my alarm and my house goes to sleep. I can also push a physical button on the wall to enable sleep mode, so I don't have to use this automation, but I like the way this works. I also use Tasker to enable Do Not Disturb when using a set of applications: Kindle for ebooks, my meditation app, etc.