Skip to content

scripts to log data from a deye inverter to a grafana dashboard

License

Notifications You must be signed in to change notification settings

thigg/deye-solar-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deye-solar-dashboard

Scripts to export data from a dee inverter with serial no 21xxxx through prometheus to a grafana dashboard. (Tested with firmware MW3_16U_5406_1.53 and MW3_15U)

What it looks like

what the dashboard looks like

Setup

The scripts a re running on a rasperry pi

  • have the deye inverter in the same network as the raspberry pi. With a fritzbox you can even block the inverter from accessing the internet via "kindersicherung".
  • have prometheus, prometheus-node-exporter and grafana installed
  • install the prometheus-exporter.sh as a systemd service with a timer
  • add your password for the inverter and the inverters ip address to the prometheus-exporter.sh
  • tell the prometheus node exporter to collect textfiles from the right directory:
    • put NODE_EXPORTER_ARGS="--collector.textfile.directory /var/lib/node_exporter/" into /etc/conf.d/prometheus-node-exporter
  • check if data is logged to prometheus. (all are exported with a solar_ prefix
  • configure grafana by importing the dashboard from grafana-dashboard.json

Other useful tools

Feedback

let me know if you tried it and got improvements via the issues/PRs.

About

scripts to log data from a deye inverter to a grafana dashboard

Topics

Resources

License

Stars

Watchers

Forks

Languages