Skip to content

Home energy monitoring using a matrix display

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

taunusflieger/energy-monitor

Repository files navigation

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

Requirements

Requires nightly Rust to build.

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

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages