jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

Sonos Roam cannot be addressed via API #818

Open Hunt3rle opened 2 years ago

Hunt3rle commented 2 years ago

I have different Sonos speakers (Sonos Play1, Play 5 1st and 2nd gen) and all of them can be accessed via the Sonos HTTP API without any problems. Now I've added a Sonos Roam. Here I only get error messages. when I try to address the speaker via API. Is there a trick here or is the speaker not yet supported?

jishi commented 2 years ago

I don't own a Roam or have any insights on how it communicates with the other players. I don't see why it wouldn't work. If anyone could run a wireshark dump while controlling the roam via the desktop app and see what's going on, it might help.But just to e sure, did you restart the http api after adding the Roam? I don't remember if that is required or not, the discovery logic might not handle that case well (I know it struggles if devices are powered off).