I’m currently using Screentime app on Android to monitor how much time my kids spend using android apps such as games. Also, it keeps track of what websites and YouTube videos my kids watch.
Is there any way to get information like this to Home Assistant? I searched for this on Google, but didn’t find any search results.
You can use the screen interactive sensor to measure the display on time.
Perhaps the games use notifications? You can monitor that.
And then there is the intrusive way, you can take screenshots and send those to Google drive and have them show up on Lovelace, and/or take images with the front and back cameras and upload that.
But this requires Tasker I believe. I haven’t tried to do it with only HA app but I don’t think it’s possible.
I never found a solution. I like @Hellis81 's idea to use Tasker. I’m just not sure its worth trying to setup Tasker. It’s too bad the mobile Home Assistant app couldn’t offer a couple of extra sensors such web browser history and YouTube history.
any update’s on this?
I would also like to have this option…
‘screen on’ sensor (when you check the battery of the phone you can see the ‘screen on time’ it would be nice to know how many hours a day we use our phone in homeassistant.
The closest thing I can find is the the Device Locked binary sensor from the Home Assistant Companion app. Maybe someone could help us to make a “Screen Time” template which actively calculates how long the screen has been unlocked each day. Would that be a good work-around?
Using the History Stats Integration, it is possible to monitor both the daily screen time type: time as well as the amount of times the screen has been turned on that day type: count