**** I AM NOT A PROGRAMMER *** Realtime and historical monitoring of envoy system
You need python and sqlite3 installed. I have used apache for my web server but you can choose what you want. Just update the path in the makepage.py file.
solar.py will grab usage data from local envoy device and insert into sqlite3 database. makepage.py will create a html file as per the attached image. This fits perfectly on a 3.5" touch screen for the Pi. This does include a section at the bottom for my front gate ESP32. I will remove that on next update for general use.
Yes it generates a index.php file but has no php... I was thinking of making it server side generated but I still need to learn PHP!
crontab config:
-
-
-
-
- python /home/pi/solar/solar.py
-
-
-
-
-
-
-
- sleep 20; python /home/pi/solar/solar.py
-
-
-
-
-
-
-
- sleep 40; python /home/pi/solar/solar.py
-
-
-
-
-
-
-
- sleep 5; python /home/pi/solar/makepage.py
-
-
-