DisclaimerPlease, proceed carefully following the tips published in this blog, specially when Main Power is involved. I'm not responsible for any damages caused by what is written in this blog.
Home Automation System - OpenHAB 3 Migration - 33. Energy consumption and photovoltaic production [Versione in italiano]
by Marco Lamanna
Thirty-third chapter related to my OpenHAB 2.5 to OpenHAB 3 migration.
In this video I will show you how I configured OpenHAB to monitor energy consumption and the photovoltaic system production.
The physical devices used are PZEM-004t (https://www.banggood.com/custlink/KG3EgwCYRc) for the actual measurement of consumption / production, connected via serial to ESP8266 (https://www.banggood.com/custlink/GmvYeTcyhg) cards that send data to OpenHAB via Wifi and MQTT protocol.
In OpenHAB I have created MQTT-type things and related equipments and points for the visualization of consumption data of the single floors of the house and of the photovoltaic production.
In addition to the individual consumptions, I created a group to automatically aggregate all consumptions in a single value and an item that provides me with the instant energy data, carrying out, through rules, the operation of subtraction between consumption and production.
This video does not presume to be a tutorial, but simply a step by step of what has been done to achieve the goal. I hope that it will help someone.
Enjoy your viewing