This Friday, my network manager came to install a smart meter at the house.
Yep, in Belgium, mechanical meters are still very, very common (electric).
To tell you, this one was supposed to be installed in 2029 but since the mechanical one was defective, I jumped ahead of the others!
Anyway. The result is that I want to integrate the info from this one into Gladys. Unfortunately, this device doesn’t exist as such.
I managed to extract the data and send it to Gladys via MQTT over WiFi (very easy with a telephone cable and a Wemos D1 mIni, I’ll make a tutorial) but I’m struggling with the categories.
If I take the device called “Téléinformations”, I find some of the categories but they don’t seem to have units:
The « Teleinformation (Téléinformation) » device is really specific to the Lixee TIC normally, and normally it’s the Zigbee2mqtt integration that creates these features with the correct units
In your case, in my opinion if the only thing that interests you is monitoring your electricity consumption, you should use the « Energy sensor / index » feature:
It’s a Python script on the Wemos that retrieves the info and then publishes it to MQTT. What I don’t understand is that the data and their processing are the same (with three decimals). It’s Gladys that rounds one and not the other… It’s not a big deal, I’ll look into it