taunusflieger / energy-monitor

Home energy monitoring using a matrix display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

energy-monitor

Energy monitor enables displaying information about energy production from solar panels and energy consumption from the grid for a household on a Ulanzi TC001 with the Awtrix3 firmware

The solution is tailored to my specific setup, but can be easily adapted to other setups. It uses the the information OpenDTU provides about the solar energy production and the information provided by the Tibber Pulse Bridge (with web server enabled) to get the energy consumption. It also uses the Tibber API to get the current price of electricity. The API key needs to be provided as an environment variable TIBBER_API_KEY as well as the password for accessing the web server on the Tibber Pulse Bridge PULSE_BRIDGE_PASSWORD when starting emtibberd.

There are two parts to the solution:

  1. tibber-data-provider which reads the data from the Tibber Pulse Bridge and the Tibber API and publishes it to a MQTT broker
  2. matrix-display-driver which subscribes the data published by tibber-data-provider and the OpenDTU to the MQTT broker. It creates new MQTT publications in a format which the Awtrix firmware is able to display on the Ulanzi TC001

Watch the video

Acknowledgements

This project contains some code from the Rust tibber library.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Home energy monitoring using a matrix display

License:Apache License 2.0


Languages

Language:Rust 100.0%