SolarPower: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* http://OpenDTU1 | * http://OpenDTU1 | ||
* mqtt@job4 (mosquitto_sub -v -t 'OpenDTU1/#') | * mqtt@job4 (mosquitto_sub -v -t 'OpenDTU1/#') | ||
* job4:/etc/systemd/system/openDtu2Db@OpenDTU1.service (sudo systemctl status openDtu2Db@OpenDTU1.service, journalctl -f -u openDtu2Db@OpenDTU1.service) | * 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) | ** 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") | * Influx database openDtu (influx -database openDtu -precision rfc3339 -execute "select * from string order by time desc limit 10") |
Revision as of 12:17, 19 June 2023
OpenDTU
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