SolarPower
Jump to navigation
Jump to search
OpenDTU
Balkonkraftwerk
My "Balkonkraftwerk" uses OpenDTU to query the rf data of the microinverter TSOL-M800 from TSUN (Hoymiles HM600 compatible).
Monitoring Setup
- http://OpenDTU1
- mqtt@job4 (mosquitto_sub -v -t 'OpenDTU1/#')
- job4:/etc/systemd/system/openDtu2Db@OpenDTU1.service (sudo systemctl status openDtu2Db@OpenDTU1.service, sudo journalctl -f -u openDtu2Db@OpenDTU1.service)
- python -u /home/joachim/bin/openDtu2Db.py OpenDTU1 (prints to stdout)
- Influx database openDtu (influx -database openDtu -precision rfc3339 -execute "select * from string order by time desc limit 10")
- Grafana Source openDtu@InfluxDB
- Grafana Dashboard https://banzhaf.chickenkiller.com/grafana/d/_rNE2oO7k/stromverbrauch?orgId=1&refresh=10s&viewPanel=7
Troubleshooting
- Sometimes mqtt connection gets lost (see https://github.com/tbnobody/OpenDTU/issues/965)
Go to http://opendtu1/settings/mqtt, hit "Save". Should fix it
Garagenkraftwerk
My "Garagenkraftwerk" uses Tasmota to query power data and control a fan via Nous power plugs
- Fan http://nous1 (on after 2 min > 250 W, off after 6 min < 150 W by tasmogy.py)
- Power: http//nous2
- mqtt@job4 (mosquitto_sub -v -t '+/nous1/#' -t '+/nous2/#')
- job4:/etc/systemd/system/tasmogy.service (sudo systemctl status tasmogy.service, sudo journalctl -f -u tasmogy.service)
- See my repo https://github.com/joba-1/Tasmogy
- python -u /home/joachim/bin/tasmogy.py nous2 nous1 (prints to stdout)
- Influx database energies (influx -database energies -precision rfc3339 -execute "select * from energy order by time desc limit 10")
- Grafana Source energies@InfluxDB
- Grafana Dashboard https://banzhaf.chickenkiller.com/grafana/d/_rNE2oO7k/stromverbrauch?orgId=1&refresh=10s&editPanel=12