fablab-luenen / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
218 stars 30 forks source link

Autodiscovery not working in Home-Assistant #73

Closed qu4nt4r closed 4 years ago

qu4nt4r commented 4 years ago

Hi there, I am struggling with the HA integration as HA is not finding any new lights. Maybe some one can help me with this.

I followed the McLighting guide and have general access to the lights via WebUI. I changed the Hostname to my one and the lights are properly connected to the MQTT server. As I integrated different lights via mqtt auto-discovery before, this feature should also work. The HA log is the only place where they appear (as "neopixels"), but I cant find them nowhere within HA.

But what I wonder here: As the topics are set to "home/McLightingRGBW_1_ha/state/out" (e.g., in my case) and auto-discovery prefix is set to "homeassistant", how can then HA find the light? For example, my Milights are integrated via "homeassistan/light/milight_hub/...." why isnt there a topic like "homeassistant/light/McLighting....."? Do I miss something here? Thanks KeLvin

EDIT: I found them! Due to unknown reasons, I get access to them in HA when I create a new badge, then they show up. Nevermind and thanks anyway ;)