Hi
I'd like to use the autodiscover MQTT feature of Home Assistant as showed here on HA website: https://home-assistant.io/docs/mqtt/discovery/
Did someone succeeded to implement that in ESPEasy ? and if so would he mind to share settings he used in ESPEasy ?
Thanks
Vincèn
ESPEasy with Autodiscover MQTT feature in Home Assistant ?
Moderators: grovkillen, Stuntteam, TD-er
Re: ESPEasy with Autodiscover MQTT feature in Home Assistant ?
No one on this ??
Thanks
Vincèn
Thanks
Vincèn
Re: ESPEasy with Autodiscover MQTT feature in Home Assistant ?
I haven't done this myself and I'm no expert on EASPEasy Rules, but the documentation for Home Assistant seems to indicate that HA autodiscovery is subscribed to MQTT topic "homeassistant". So publishing a MQTT message using the homeassistant topic along with some other details (NodeID, device type, etc.) should work. I think this can be done by coding a series of MQTT messages (one for each device) using ESPEAasy Rules to publish on bootup once WiFI is up.
Re: ESPEasy with Autodiscover MQTT feature in Home Assistant ?
Thanks for clarification and looks like it's pretty complicated to doyang3535 wrote: ↑21 Jan 2018, 18:48 I haven't done this myself and I'm no expert on EASPEasy Rules, but the documentation for Home Assistant seems to indicate that HA autodiscovery is subscribed to MQTT topic "homeassistant". So publishing a MQTT message using the homeassistant topic along with some other details (NodeID, device type, etc.) should work. I think this can be done by coding a series of MQTT messages (one for each device) using ESPEAasy Rules to publish on bootup once WiFI is up.


-
- New user
- Posts: 4
- Joined: 26 Jan 2021, 22:59
Re: ESPEasy with Autodiscover MQTT feature in Home Assistant ?
I also wanted the auto-discover feature faster(then coding directly on EE) and less demending from each espeasy so i have created a Node-Red flow to do the work at creating devices according to the name of the variable
Current support of
* Sensors
* Switches
* Dimmer
* RGB Dimmer
Working on Termostat to get it to output set temperature
note that because there is not /Set to set a variable i do need to have rules on each device but i dont need to do anything inside configuration.yaml
and each device is under Devices and has all values there.
https://github.com/KnatteAnka/NodeRED_E ... oDiscovery
Current support of
* Sensors
* Switches
* Dimmer
* RGB Dimmer
Working on Termostat to get it to output set temperature
note that because there is not /Set to set a variable i do need to have rules on each device but i dont need to do anything inside configuration.yaml
and each device is under Devices and has all values there.
https://github.com/KnatteAnka/NodeRED_E ... oDiscovery
-
- New user
- Posts: 4
- Joined: 26 Jan 2021, 22:59
Re: ESPEasy with Autodiscover MQTT feature in Home Assistant ?
Not sure if anyone more is interested but is working on an update to my auto discovery Node to enable Select device type
Currently in Alpha state but will soon go to main branch
Currently in Alpha state but will soon go to main branch
Who is online
Users browsing this forum: No registered users and 27 guests