Comment on Post your setup. no matter how uggo
Cyber@feddit.uk 3 days agoI’ve done similar with an old Android tablet. Installed Fully Kiosk Browser to display the dashboard AND read the battery level - above 75%, switch off power…
But… automations only trigger when going past the threshold once, so if there’s a random issue where HA doesn’t see the battery drop below 10%, (had that happen a few times in the past), then I also have multiple triggers for 5% and 2%… to turn the power back on again 😉
TrenchcoatFullofBats@belfry.rip 3 days ago
Yeah, the tablet runs Fully Kiosk and I tried the same thing with the battery percentage thing and ran into the same issue, so I just simplified and made the automation time-based.
The tablet also likes to freeze a few times a day, so I also created an automation that toggles the smart plug power whenever HA loses connection to the tablet for more than 5 seconds, then toggles back to the original state at the start of the automation, which corrects the problem. Until the next time. But hey! It was only $60, so it’s fine.
Cyber@feddit.uk 2 days ago
Ah, good call on using the power to get the tablet to respond… I don’t have that problem (tablet freezing), but it does drop off the wifi sometimes.