homebridge-soundtouch-platform
homebridge-soundtouch-platform copied to clipboard
Accessories absent or unstable
When I install your plugin using the discoverAllAccessories feature, I get one of 2 errors:
- No accessories appear
- Homebridge shuts down with the following error:
TypeError: Cannot read properties of undefined (reading 'source')
at SoundTouchAccessoryWrapper.
(/var/lib/homebridge/node_modules/homebridge-soundtouch-platform/src/sound-touch-accessory-wrapper.ts:163:23) at step (/var/lib/homebridge/node_modules/homebridge-soundtouch-platform/dist/sound-touch-accessory-wrapper.js:46:23) at Object.next (/var/lib/homebridge/node_modules/homebridge-soundtouch-platform/dist/sound-touch-accessory-wrapper.js:27:53) at fulfilled (/var/lib/homebridge/node_modules/homebridge-soundtouch-platform/dist/sound-touch-accessory-wrapper.js:18:58) at processTicksAndRejections (node:internal/process/task_queues:96:5)
The system goes back and forth as I re-save the config file.
What is the problem here?
Thanks.
The entire config follows:
{ "bridge": { "name": "Homebridge 5583", "username": "0E:7D:A8:F5:55:83", "port": 51825, "pin": "177-76-539", "advertiser": "avahi" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "platform": "SoundTouchPlatform", "name": "SoundTouch", "discoverAllAccessories": true, "global": { "pollingInterval": 2000 } } ] }