-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: MQTT Discovery #224
Comments
Looking at the link I'm assuming that you're suggesting that ebusd should support Homeassitant's proprietary device discovery protocol? |
@andig I think there is a universal way described in Homie convention: https://homieiot.github.io/. |
Isn't your link to hassio is a different thing from homie? The hassio link explains how to tell hassio which devices exist on mqtt while homie describes a self-describing mqtt topic hierarchy for compatible devices? Or I'm getting this all wrong, sigh. Please don't get me wrong- I'm not debating this is isn't useful, I just don't think that its core ebusd responsibility. |
No, you're right @andig, i never used Homie, but i was under impression that HA Discovery is just an implementation of Homie. This means that there are two very similar although different standards of discovery, both already quite well estabilished with hardware support, etc. |
Does anyone know of a comparison which discovery convention is "more" universal or has best support? |
Both have some decent hardware support, but they differ with software support: Maybe instead of looking which system has more compatibility, check which system's philosophy suits your project better. |
Btw, I have just implemented Homie for GoSDM in gonium/gosdm630#85. Homie looks definitely interesting- it remains to be seen how far adoption will go. I.e. iobroker does not offer it yet although its conceptual approach seems quite close. One interesting aspect for the implementation is that it makes sense- since homie devices are retained in mqtt- to unpublish the entire device tree upon startup in case structure has changed. |
Seems that HA discovery gets a wider adoption so far - Sonoff switches, Valetudo (robotic vacuum open firmware), Zwave2MQTT, Zigbee2MQTT. |
this is really not an easy one as each message would have to mapped to some HA device if I understood the documentation correctly. This is especially tricky as combined values (like temperature and status) as seen on eBUS can not be easily integrated like that. Somebody with deeper knowledge of HA or willing to spend a lot of time would be needed here. I don't have that time available. |
Hi. You're right, HA would need to create a entity for each of the values, that's the point of autodiscovery. I think it would actually work great with eBus, as everybodys setup has different values, a lot of values, so manual creation of sensors for HA may take many, many hours and cannot be just copied and pasted to another setup. |
implemented |
MQTT is not a very intuitive system and a lot of users struggle with setting it up (not only with ebus). There's a system which allows autodiscovery of MQTT services:
https://www.home-assistant.io/docs/mqtt/discovery/
I dont know C++ but i bet it wont be easy to implement this. This being said, i believe that this system would allow ebusd to grow it's userbase faster.
The text was updated successfully, but these errors were encountered: