diff --git a/custom_50x/readme.MD b/custom_50x/readme.MD index a6c1782..651dac8 100644 --- a/custom_50x/readme.MD +++ b/custom_50x/readme.MD @@ -4,4 +4,10 @@ When the main solarcene.community server is offline a custom 50x html error page ## Design -In the `solar_monitor.py` script the `write_html()` function grabs the latest solar data (from the vedirect serial connection to the Victron SmartSolar MPPT Charger) which are stored in the redis database. It then simply overwrites the custom file with hardcoded html. I've got a scheduler that just runs this job every 10 minutes \ No newline at end of file +In the `solar_monitor.py` script the `write_html()` function grabs the latest solar data (from the vedirect serial connection to the Victron SmartSolar MPPT Charger) which are stored in the redis database. It then simply overwrites the custom file with hardcoded html. I've got a scheduler that just runs this job every 10 minutes. + +## Installation + +* Install the requirements for the `solar_monitor.py` script (redis, vedirect, apscheduler), recommended to be put in `venv` environment. +* Add the code from `nginx.setup` to your nginx file +* Setup `solar_monitor.py` to run, I use a systemd setup (see solar_monitor.service) \ No newline at end of file