chrisjshull / homebridge-nest

Nest plugin for HomeBridge
694 stars 111 forks source link

Homebridge startup logs now report all my Nest devices are being "skipped". Until recently they had been working. #620

Closed jmporter34 closed 1 year ago

jmporter34 commented 1 year ago

At startup of Homebridge, the log now reports for each Nest device: [Nest] Skipping device xxx because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6.

Until a few weeks ago, they were all accessible in Homebridge.

node --version v18.16.1 homebridge --version 1.6.1 homebridge-nest v4.6.9

[02/07/2023, 21:54:27] [Nest] Skipping device 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device b50bff90-0ea1-11ee-a1c6-0e084d1e6a47 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] initing home_away_sensor "Home Occupied - 3118 Potshop": deviceId: 4aed6500-b26e-11ea-8801-0a62396729b6 structureId: 4aed6500-b26e-11ea-8801-0a62396729b6 [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000C841A4 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000C84E32 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000C845A7 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000CB6082 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000CB4786 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 6416660000C846C6 because it is not in the required structure. Has 18cd3040-a9a1-11e9-ac17-0a2a613f7a5e, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F31959 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F32548 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F309BF because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F316A1 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F337E8 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F311B3 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F33947 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F326EB because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F162A2 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [02/07/2023, 21:54:27] [Nest] Skipping device 18B4300000F15FD3 because it is not in the required structure. Has b50bff90-0ea1-11ee-a1c6-0e084d1e6a47, looking for 4aed6500-b26e-11ea-8801-0a62396729b6. [0

adriancable commented 1 year ago

Edit your config.json, and replace your incorrect structureId with the correct one b50bff90-0ea1-11ee-a1c6-0e084d1e6a47 - or just remove the structureId line completely if you want devices from all Nest homes in HomeKit.

jmporter34 commented 1 year ago

Thank you for the suggestion. I tried that, and it fixed the issue for some but not all of my devices. I ended up uninstalling and then re-installing the plugin, configuring the "googleAuth" structure with updated "issueToken" and "cookies" fields as described in the installation instructions, and it's all working now. I think my confusion about the error message "incorrect structureId" is that I assumed it was talking about a data structure, e.g. a C or Java struct. It was actually talking about which building it expected to find the device information in (I own several buildings with Nest devices installed). So, my mistake. Closing the issue. Thank you