Custom made logging with dashboard for photovoltaic systems
- logging via RS485
- database: sqlite3
- dashboard: streamlit
- panels: 132x Schüco MPE 185 MS 06 (185W)
- inverter: 4x Schüco SGI 4500 plus, 1x Schüco 3500 T plus 02
- commissioning date: 2011
- Banana Pi BPI-M1 with armbian
- RS485 to USB converter: YYH-256 (MAX485, CH340)
-
clone repo
git clone https://github.com/yannikmotzet/pv-dashboard.git
-
install Python dependencies
pip install -r requirements.txt
-
create and start services
-
logger:
sudo vim /etc/systemd/system/pv-logger.service
[Unit] Description=PV logger daemon [Service] WorkingDirectory=/home/pi/pv-dashboard/ User=pi ExecStart=/usr/bin/python3 logging/logger_daemon.py Type=simple [Install] WantedBy=multi-user.target
sudo systemctl enable pv-logger.service
-
dashboard:
sudo vim /etc/systemd/system/pv-dashboard.service
[Unit] Description=PV Dashboard (Streamlit) [Service] WorkingDirectory=/home/pi/pv-dashboard/ User=pi ExecStart=python3 -m streamlit run dashboard/main.py --browser.gatherUsageStats False Type=simple [Install] WantedBy=multi-user.target
sudo systemctl enable pv-dashboard.service