Skip to content

Listen, decode and forward lightwaverf energy usage data to your metrics backend

Notifications You must be signed in to change notification settings

zefer/energy-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Energy Monitor

This listens for, decodes, and sends electricity usage to an InfluxDB database so it can be plotted on a Grafana dashboard and MQTT for home automation tools.

The electricity usage data used comes from a LightwaveRF Electricity Monitor which broadcasts usage over UDP on port 9761.

Grafana Dashboard

Here is mine.

Links

Docker

Included is sample Docker usage based on how I'm running this at home.

# Build the docker image.
docker build -t energy-monitor .

# Run it, exposing the UDP broadcast port & configuring the target InfluxDB.
docker run -it -p 9761:9761/udp --env INFLUXDB_URL=$INFLUXDB_URL --env MQTT_URL=$MQTT_URL --name energy-monitor energy-monitor

# Save the docker image to a local file, for distribution.
docker save energy-monitor > energy-monitor.tar

About

Listen, decode and forward lightwaverf energy usage data to your metrics backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published