originallyus / node-red-contrib-better-sonos

NodeRed node for controlling Sonos Players
MIT License
8 stars 9 forks source link

Search not working #6

Closed Rolf-M closed 6 years ago

Rolf-M commented 6 years ago

When pressing the "search Button", no device is found/show. Manualy entering the Sonos ID will let me control the device, but randomly not only the chosen but all sonos devices are addressed

Rolf-M commented 6 years ago

My ID-s are formatted: 94-9F-3E-xx-xx-xx:x

torinnguyen commented 6 years ago

The Search function is based on the follow function in sonos API https://github.com/bencevans/node-sonos/blob/master/API.md#var-search--function-searchoptions

It works on my system. I can't tell what is wrong or how to troubleshoot it when I don't encounter the problem myself. I'd need you to do a pull request instead.

torinnguyen commented 6 years ago

Alternatively, in the latest version, you can enter an IP Address in the config node

Rolf-M commented 6 years ago

I've tried the example "search.js" code from node-sonos directly with nodejs and it returns my players. So it's not related to node-sonos. Maybe your timeout is not enough??

torinnguyen commented 6 years ago

I've increased the timeout in latest version. please try again.

Rolf-M commented 6 years ago

Still not working.... not sure why

ParkerJulius commented 6 years ago

Not working for me either.

fredylg commented 6 years ago

yeah not for me either, I can see an error on the console:

vendor.js:5 GET http://192.168.0.4:1880/sonosSearch 404 (Not Found)

torinnguyen commented 6 years ago

I did a small modification to the search function. Please try again with version v0.1.17.