nfarina / homebridge-sonos

Sonos plugin for homebridge: https://github.com/nfarina/homebridge
155 stars 52 forks source link

Not detecting Sonos device #74

Closed robbert1977 closed 4 years ago

robbert1977 commented 4 years ago

Hi,

My playbar is having trouble to be detected.. I don't knkow why, airplay from iPhone Spotify to Sonos is working well however detecting from Homebridge I get the error:

[2020-5-20 14:40:52] [Huiskamer] Ignoring request; Sonos device has not yet been discovered.

The name Huiskamer is exactly the same as in Sonos app. I really have no idea why he won't discover the playbar .. any help would be apreciated :)

Kind regard robbert

My config is: { "bridge": { "name": "Homebridge 3157", "username": "0E:A6:AE:B9:B3:A0", "port": 51380, "pin": "XXX-XX-XXX" }, "accessories": [ { "name": "Huiskamer", "room": "Huiskamer", "accessory": "Sonos" } ], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "Domoticz", "server": "user:pass@127.0.0.1", "port": "8080", "roomid": 2, "mqtt": true, "ssl": false, "dimFix": 0, "platform": "eDomoticz" } ] }

robbert1977 commented 4 years ago

Ok the question has to be rewritten. I had put sonos and other devices in a seperate IoT vlan. And however evrything (airdrop MDNS etc) was working fine in between the vlans apparently not fine enough... Have to google further on that topic.

Anyway putting sonos back in the normal lan was the trick.. for now.. :P

After checking specially the mDNS rule mirror on the homekit host it works all ways https://community.ui.com/questions/HomeKit-on-Isolated-VLAN/2fd20346-59df-4662-9559-0ecac7ec83cb