node-sonos-http-api icon indicating copy to clipboard operation
node-sonos-http-api copied to clipboard

Feature request: endpoint to show current household_id

Open hankhank10 opened this issue 4 years ago • 3 comments
trafficstars

Given the move to S2 I have found that many more users are now running dual S1 and S2 systems on the same network. This has led to many more errors reported by users of my vinylemulator project (https://github.com/hankhank10/vinylemulator) that the system is failing to find their zones (because it is connecting incorrectly to the wrong system).

I would make two suggestions:

  1. In the readme around settings.json include the "household" as an example - it is currently described but an example is not given in the sample json (happy to do a pull request on the readme if you like - let me know)

  2. Add an endpoint to the node server (eg "/household") which returns the current household_id to which it is connected. This is much more user friendly for users to populate their settings.json than having to connect to the base sonos api which entails working out a Sonos player IP address and fighting through Sonos' horrible API

hankhank10 avatar Dec 29 '20 08:12 hankhank10

I'm also using a dual S1 and S2 system and added the household in the settings.json file but it is not working. We have 3 household in our network and I always get the wrong speaker.

That's my settings.json:

{
    "household": "HHID_Ts...........X_2"
},

{ 
    disableIpDiscovery: true
}

gjuecat avatar Jan 07 '21 19:01 gjuecat

any updates on this? still having the same problem

gjuecat avatar Jan 04 '23 12:01 gjuecat

I for one would really appreciate a new release. Last release of this API was over 5 years ago

jsiegenthaler avatar Jan 04 '23 14:01 jsiegenthaler