Auto-create a light component (like z wave does) via mqtt?

I just wondered, rather than manually edit the config of HA and add a light component is there a way that a mqtt client could publish a config to HA for a light switch ?

No…

I’m not an expert on z wave but my understanding is that it creates a mesh network using 433mhz that polls the devices for their status. So each device knows each other and can be created by that list. So z wave has a protocol and a network.

mqtt is just a form of communication without a protocol. I can send a file over mqtt for example. It does not create a network but resides on one you created. In order for this to work the device would need to publish to a universal topic (which everyone would have to agree to) and our hub would have to subscribe to. There would also need to be a specified format for that information (create a protocol) to be relayed every so often or when a button is pushed on the hub and the device… We still haven’t touched on how to name each device and the topics it would listen to etc…

1 Like