Newbie considering migration to MacroDroid - overlays

Wibbly

New member
renderTimingPixel.png

Considering migrating to MacroDroid from another automation app (the now unsupported Automagic). One key automation I would want to port is an OLED 'screensaver' for use when when driving using Google Maps.

The effect is that, when navigating, the screen goes blank after x seconds, but temporarily wakes up when I approach a turn or I touch the screen. If I'm travelling above 60MPH it wakes up earlier.

Question is if all the below should be achievable with MacroDroid, given its standard features?
Today the automation design is to:
  1. Start and continue the automation only whilst connected to the car's Bluetooth
  2. After a timeout, put a 100% black overlay over the whole screen, including notification area
  3. Whole overlay is cleared/removed if it's touched or the proximity sensor is approached with my hand
  4. Reads the Google Maps notification and parses the distance to the next turn (regex expression). If less than 0.X miles, clears the overlay and resets the timeout
  5. Whilst speed is greater than 60MPH, X (above) is increased
  6. When disconnected from the car's Bluetooth, clicks the Google Maps notification to end navigation and clears the overlay
I use an overlay, as trying to just dim the screen as an alternative doesn't play well with adaptive brightness and I couldn't find a method for reversing dimming of the screen by just touching the screen anywhere...
 

Swap_File

New member
I think I'm doing something similar to you in my car.

I handle screen dimming by setting an unlimited screen timeout and then I alternate brightness between Auto and 0%.

To detect screen presses anywhere like you want to do, I'm pretty sure you need to use the TouchTask plugin. I don't think Macrodroid can do that natively, and neither can AutoInput. Just keep in mind, it's best to use one UI plugin and stick with it, having too many accessibility plugins turned on at the same time can cause problems and one might shut itself off.

Personally, I switched over to to having car mode enabling a floating button in the corner of my screen, which can toggle brightness.

As for reading notifications, you can probably do that either by Macrodroid's built in notification parsing, or the AutoNotification plugin.
 
Last edited:
Top