ScreenOn is an application to measure how much time an user spends on their phone. It is composed of an Automate flow, and a web application with a Polymer frontend and a Python/Flask backend.
I described it in a dedicated blog post
DISCLAIMER: in its current state, this application is not meant to be hosted on the internet. It's recommended to host this application on a host in a local network (eg on a Raspberry Pi).
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
$ polymer serve
$ polymer build
This will create builds of your application in the build/
directory, optimized to be served in production.
See the provided basic nginx.conf file. If you already use pi-hole, you can add a special domain name to the local DNS server.
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -e .
$ bash run_app.sh
You need to install Automate on your phone.
- Import the "Screen tracker.flo" file from the application
- Execute the "Config" flow
- Edit the "Backup" flow to change the URL of the backup server
- Launch the "Start" flow to start screen changes recording