Skip to content

sylvek/linkiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linkiki

Linkiki publishes current electricity power consumption of a Linky over MQTT.

Basically, it broadcasts on two topics :

topic retain description
sensors/linky/watt no current Watt consumption (integer)
sensors/linky/indice no current merged indice (HCHP+HCHC)
sensors/linky/state yes 1 for HCHP / 0 for HCHC - sent only during switching
> npm install paho-mqtt pyserial
> python main.py </path/to/serial> <mqtt host>

Or…

> docker build -t linkiki .
> docker run --privileged -v /dev:/dev linkiki </path/to/serial> <mqtt host>

About

linky to MQTT from module TIC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published