Skip to content

custom made logging with streamlit dashboard for photovoltaic systems

Notifications You must be signed in to change notification settings

yannikmotzet/pv-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pv-dashboard

Custom made logging with dashboard for photovoltaic systems

  • logging via RS485
  • database: sqlite3
  • dashboard: streamlit

dashboard day dashboard month

specs

PV system

  • 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

hardware

  • Banana Pi BPI-M1 with armbian
  • RS485 to USB converter: YYH-256 (MAX485, CH340)

Getting started

  1. clone repo
    git clone https://github.com/yannikmotzet/pv-dashboard.git

  2. install Python dependencies
    pip install -r requirements.txt

  3. 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

knowledge pool

About

custom made logging with streamlit dashboard for photovoltaic systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages