chic / tydom2mqtt

Link between tydom (deltadore) and mqtt for home assistant integration
0 stars 0 forks source link

[Feature] Implement Mqtt standard specification #1

Open slobberbone opened 3 years ago

slobberbone commented 3 years ago

It would be interesting to implement in this project the specification describe here : https://homieiot.github.io/

However, MQTT doesn’t define the structure and content of these messages and their relation. An IoT device publishes data and provides interaction possibilities but a controlling entity will need to be specifically configured to be able to interface with the device.

The Homie convention defines a standardized way of how IoT devices and services announce themselves and their data on the MQTT broker.

It is thereby a crucial aspect on top of the MQTT protocol for automatic discovery, configuration and usage of devices and services.

Some other xxx2mqtt already purpose this and I think specification for MQTT is the futur of home automation. It would be not changing the way of this project work actually, but add another way to publish.

I'm from the open source project NextDom (home automation software) and we are working on another solution from scratch. We want to organize NextDom directly with MQTT and Node-Red (Nextdom becoming a kind of orchestrator. In this way, this standard for MQTT will be very interesting for us of course, but also for all others home automation software.

Thanks for reading and give me some feed back about that !

chic commented 3 years ago

Hello. Thank's for your feedback and advize and info. Shame on me, I didn't know "homie". Sounds interesting. I've been begining to read the documentation as long as looking at the lib implementation. I need to check the correct implementation and see if it fits with pluging into homeassistant (which is my primary target). I've seen there was a validation tool. So I'll rework this interface to integrate your idea. If I can't make homeassistant understanding the homie topic, I'll setup an option to be able to publish the data as "homie" compatible.

I'll keep you posted on this

Enjoy !

Cheers.

ZeChic

slobberbone commented 3 years ago

I'm glad to see your interest for this specification. But for me the goal is to unify MQTT stuff, of course I understand you need to keep HA compliant, but with the Homie standard, (I don't know and don't have Homie stuff) we have a specification and my goal is tu use it whatever the home automation software you have after ... HA or ohter, I'll try to converte HA mqtt stuff to use this specification because it's better than a convention .