Drolla / WavePlus_Bridge

Airthings Wave Plus Bridge to Wifi/LAN and MQTT
MIT License
21 stars 9 forks source link

Improve the MQTT interface: Use persistant connection, publish the timestamp, use the Homie library/specification #6

Closed Drolla closed 1 year ago

Drolla commented 2 years ago

There are 3 improvements regarding the MQTT interface that have been originally proposed by @rkoshak:

Drolla commented 1 year ago

The MQTT module has been rewritten to use a persistent connection and a LWT message. Sensor data can be published together with the sensor read timestamp. In addition, a "publish timestamp" is published together with a status (Online, Offline, Connection lost). So, this addresses the 2 first points suggested by @rkoshak. For the 3rd suggested point, a separate ticket has been opened (#14 ).

Drolla commented 1 year ago

Published timestamps: image