homebridge-zp icon indicating copy to clipboard operation
homebridge-zp copied to clipboard

SyntaxError: init() not yet called

Open bgeveritt opened this issue 6 months ago • 2 comments

I'm trying to add three Sonos products (1 Play:1 speaker, 1 Playbase, and 1 amp.) The Play:1 speaker is added successfully, but I get the following error on the other two. I should note that the two failing products WERE in HomeKit previously, but I removed them. The Play:1 speaker was never added to HomeKit before installing this plugin, and it works fine.

[1/7/2024, 4:49:54 PM] [Sonos] RINCON_347E5C0F60F301400 [192.168.50.125]: request 1: GET /xml/device_description.xml
[1/7/2024, 4:49:54 PM] [Sonos] warning: RINCON_347E5C0F60F301400 [192.168.50.125]: request 1: connect ETIMEDOUT 192.168.50.125:1400
[1/7/2024, 4:49:54 PM] [Sonos] RINCON_B8E93749402401400 [192.168.50.51]: request 1: GET /xml/device_description.xml
[1/7/2024, 4:49:54 PM] [Sonos] warning: RINCON_B8E93749402401400 [192.168.50.51]: request 1: connect ETIMEDOUT 192.168.50.51:1400
[1/7/2024, 4:49:54 PM] [Sonos] found 1 households
[1/7/2024, 4:49:54 PM] [Sonos] Sonos_rKWiXdyaYIji4AHic1mQ23CT3E: RINCON_B8E937525C8401400 [192.168.50.21]: associated S2 zoneplayer
[1/7/2024, 4:49:54 PM] [Sonos] Sonos_rKWiXdyaYIji4AHic1mQ23CT3E: found 3 S2 zone players in 3 zones
[1/7/2024, 4:49:54 PM] [Sonos] ├─ Den
[1/7/2024, 4:49:54 PM] [Sonos] error: RINCON_347E5C0F60F301400: [192.168.50.125]: SyntaxError: init() not yet called
    at ZpClient.checkInit (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:421:13)
    at ZpClient.get audioIn [as audioIn] (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:568:10)
    at ZpPlatform.logTopology (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpPlatform.js:445:28)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[1/7/2024, 4:49:54 PM] [Sonos] ├─ Kitchen
[1/7/2024, 4:49:54 PM] [Sonos] │  └─ RINCON_B8E937525C8401400 [Kitchen]: Sonos Play:1 (S1) (master)
[1/7/2024, 4:49:54 PM] [Sonos] └─ Living Room
[1/7/2024, 4:49:54 PM] [Sonos] error: RINCON_B8E93749402401400: [192.168.50.51]: SyntaxError: init() not yet called
    at ZpClient.checkInit (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:421:13)
    at ZpClient.get audioIn [as audioIn] (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:568:10)
    at ZpPlatform.logTopology (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpPlatform.js:445:28)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[1/7/2024, 4:49:54 PM] [Sonos] error: RINCON_347E5C0F60F301400: [192.168.50.125]: SyntaxError: init() not yet called
    at ZpClient.checkInit (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:421:13)
    at ZpClient.get modelName [as modelName] (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:719:10)
    at ZpPlatform.logTopology (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpPlatform.js:463:30)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[1/7/2024, 4:49:54 PM] [Sonos] error: RINCON_B8E93749402401400: [192.168.50.51]: SyntaxError: init() not yet called
    at ZpClient.checkInit (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:421:13)
    at ZpClient.get modelName [as modelName] (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpClient.js:719:10)
    at ZpPlatform.logTopology (C:\Users\Bailey\AppData\Roaming\npm\node_modules\homebridge-zp\lib\ZpPlatform.js:463:30)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Debug Files

bgeveritt avatar Jan 07 '24 22:01 bgeveritt