I intend to use Android tablets as control panels for my home automation system. One tablet will be placed on my bedside, which requires the screen to be dimmed at night based on the light sensor output. When touched (regardless where) however the screen should immediately become brighter/less dimmed, and when not touched again within 20 seconds, return to the previous dimming state again.
How to check if the screen has been touched?
How to dim using a transparent overlay? (Reducing the backlight to minimum still is too bright and distracting. MacroDroid for instance has a Dimming action in addition to the Backlight reduction).
Note that the tablets have no proximity sensors and I don't want to use a swipe action either, as the home automation interface shown on the screen should always be visible and instantly responsive at all times.
Can this be done with Tasker? If yes, how? Example script would be great.
Thanks in advance,
André
How to check if the screen has been touched?
How to dim using a transparent overlay? (Reducing the backlight to minimum still is too bright and distracting. MacroDroid for instance has a Dimming action in addition to the Backlight reduction).
Note that the tablets have no proximity sensors and I don't want to use a swipe action either, as the home automation interface shown on the screen should always be visible and instantly responsive at all times.
Can this be done with Tasker? If yes, how? Example script would be great.
Thanks in advance,
André