Replies: 3 comments 1 reply
-
The more I dive into the Homie convention, I begin to love this one :) Refined proposal:
What do you think? |
Beta Was this translation helpful? Give feedback.
-
I don't use mqtt myself, so i can't really have an opinion. |
Beta Was this translation helpful? Give feedback.
-
Hi! There's one thing that didn't feel good with Homie: I would have to alter the topic structure currently being published. Seems a lot of people use HomeAssistant, and many devices seem to support the discovery structure HomeAssistant suggests. Given that there's support for HomeAssistant discovery in OpenHAB and ioBroker (and probably in some more systems), and given that the HomeAssistant discovery would allow to keep the current topic structure, why not use that one? Therefore I decided to add discovery information according to the HomeAssistant MQTT discovery documentation. As I am not using HomeAssistant, I performed tests with OpenHAB. The mqtt add-on of OpenHAB supports HomeAssistant discovery. Everything seems to work fine by now. Please feel free to test! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
at the moment I am playing around with MQTT.
The current structure offers
I'd love to implement more topics with a structure that's more easy to parse. There are two options I could think of:
A) Separate topics only
keep the current structure and add separate topics for:
Matrix info will be available as JSON object only.
I wouldn't suggest any changes to the incoming message structure:
B) Homie convention-like
keep the current structure and add separate Homie-like topics for:
(plus all required $attributes as per Homie convention).
==> Matrix info will be available as JSON object only.
For the incoming messages, I would keep the current structure plus add a Homie-style topic for setScreen only (requiring a JSON object)
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions