chrisjshull / homebridge-nest

Nest plugin for HomeBridge
699 stars 112 forks source link

StructureID #608

Closed bBsS4 closed 1 year ago

bBsS4 commented 1 year ago

Hi - Google account. Two homes, two raspberry pi's running homebridge. 3 Nest Learning Thermostats in Home 1, 2 Nest Learning Thermostats in Home 2. Devices were set up in Nest App and verified they're appropriately segregated by home in the Google Home App. I added the StructureID variable to the config file and specified the structureID of Home 1 on RPI#1 and structureID of Home 2 on RPI#2. Restarted each multiple times and all 5 thermostats are still in both homes. Do I need to exclude specific thermostats by serial number in the respective config files? Why isn't it filtering down to the structureID in each home? I'm not the most advanced user here on Github but I am pretty competent in terms of general tech issues. Config text below. Thank you for your help.

bBsS4 commented 1 year ago

{ "name": "Nest", "googleAuth": { "issueToken": "XXX", "cookies": "XXX" }, "platform": "Nest", "_bridge": { "username": "XXX", "port": XXX, "structureId": "XXX" }

// I did just try putting the structure ID outside of that final bracket as well and it doesn't seem to have changed anything after save and restarting the RPI.

//EDIT: THAT SEEMS TO HAVE DONE IT. Please close this issue or if anyone can confirm, I would be interested in knowing whether moving the STRUCTUREID argument outside of that final bracket is what did the trick. Thanks!

adriancable commented 1 year ago

structureId goes in the main section of the configuration (i.e. same section as name, googleAuth etc.), not under _bridge.