jstrausd / homebridge-simple-wled

Homebridge Plugin to control WLED LED-Strips
ISC License
64 stars 18 forks source link

Not able to connect with mDNS #61

Closed theTobster500 closed 1 year ago

theTobster500 commented 1 year ago

I had it working on an old config, now I can't get homebridge to connect to wled with an mDNS instead of an IP address. Here's my config, which works when I put in the IP.

 "platform": "WLED",
 "wleds": [
     {
         "name": "Light Bars",
         "host": "http://wled-lightbars.local",
         "log": false
     }
 ]

I've tried without the "http://" since the IP doesn't need it and that didn't work either. there's also nothing in the documentation about mDNS

theTobster500 commented 1 year ago

my mistake, my docker and mDNS config was wrong. in case someone else has this issue, the mDNS configuration issue is solved here: https://github.com/homebridge/homebridge/issues/1957 the issue I had with docker was not using "netowork_mode: host" (or at least not routing my network well without using the host network)