I run Home Assistant in Docker on a Raspberry Pi running Raspian to perform some automation tasks, like recording movement, and checking for water leaks. Part of my operation takes some time stamps and builds a html page which is uploaded it to my VPS. This involves a combination of Home Assistant, and scripts running in Raspian controlled by crontab.
The picture shows my frontend. The main items are the third and fourth icons on the top line. In this case the third is showing my coffee maker is on as it's eating over 1,000 watts. The fourth shows 8 because I just walked by the motion detector; it goes 0 after a couple of minutes.
Both recorded a time stamp to a file, and the file is later manipulated by my makehtml script to build a web page and send it off to my sparemove VPS.
This is a list of the files I normally interact with. Omitted are logs and other system files. Click on the file to see what's in it.
/usr/share/hassio/homeassistant/ automations.yaml configuration.yaml customize.yaml notify.yaml secrets.yaml /usr/share/hassio/homeassistant/hafiles/ archive_files/ dated copies of files I want to keep data/ activity.txt coffee.txt door_entry.txt tomup.txt html/ move_foot.html move_head.html notes.txt tscripts/ bu-hasser hasser t-up-check makehtml /etc/ crontab
The web page on my VPS that is the result of a combination of the automation.yaml and notify.yaml creating files with timestamps, and the makehtml script generating, and transferring the web page. It looks like this.