Tasmota Energy Monitoring with NodeRED, Influx and Grafana
Tasmota-Energy-Monitor
Energy monitor using NodeRED, InfluxDB and Grafana
This project is using power monitoring devices like Gosund SP111, SONOFF POW to measure the energy consumption. Data is collected by NodeRED and pushed to a Influx database. Finally Grafana is used to provide a dashboard.
Supporting files are availabe on github:
https://github.com/ThomasH-W/Tasmota-Energy-Monitor
Grafana Monitoring
NodeRED
The flow is kept very generic. You do not need to manually create flows for each devices. Instead of using discovery, NodRED is listening to all SENSOR messages and creating automatically a list of devices.
The fiedls pushed to the influx database are
- device: myDevice,
- event: ‘tele’,
- power: msg.payload.ENERGY.Power,
- today: msg.payload.ENERGY.Today,
- yesterday: msg.payload.ENERGY.Yesterday,
- total: msg.payload.ENERGY.Total
At the end of each day at 11.58 p.m. the value of today is pushed to another measurement in influx.