rkoshak / sensorReporter

A python based service that receives sensor inputs and publishes them in various ways.
Apache License 2.0
105 stars 41 forks source link

sensorReporter 2.0 and Homie Support #64

Closed rkoshak closed 4 years ago

rkoshak commented 5 years ago

This is an issue to track the effort to support the Homie MQTT topic standard which will allow automatic discovery of MQTT Things with the openHAB MQTT 2.4 binding (and others). However, this is going to require a significant reworking of the whole structure of sensorReporter so this issue will follow both.

I've created a homie branch to do this work in.

Tasks:

The big difference with Homie is that the sensors and actuators can no longer arbitrarily define their MQTT topics. Furthermore, each node needs to be added to the Homie communicators because part of the standard is publishing metadata about what sensors are available and their data formats and such. I'm not yet positive how cleanly I can retain the existing communicators and also support Homie but I think Homie support is important enough to break some eggs.

Any questions, comments, and discussion are appreciated.

rkoshak commented 4 years ago

Closing for now. I've done most of this and will work on Homie separately.