My take on a TIC 2 MQTT python service that read and expose Teleinfo from the french powergrid provider to MQTT.
Not inspired by but named the same as https://github.com/JcDenis/tic2mqtt
The requirement file should have everything.
This is based on a fork of pyticcom
, asyncio
, asyncio-mqtt
, homeassistant-mqtt-binding
, and paho-mqtt
because homeassistant-mqtt-binding
don't work in async.
I'm not a dev so this is a cobbled-together python script. It was quite clean before i tried to add home assistant mqtt discovery ... but for my need it will be good enough.