Hi,
I have the issue that there is no running process anymore while on my iphone the sound-button is on. When switching off the sound- button the homebridge is restarted with the following logging:
[06/02/2021, 10:00:30] Homebridge is running on port 51826.
[06/02/2021, 10:03:48] [SwitchSound] Stopping Sound....
[06/02/2021, 10:03:48] [SwitchSound] OUTLINE DEBUG: [ Kill State .... false ]
[06/02/2021, 10:03:48] [SwitchSound] OUTLINE DEBUG: [ Exit Code .... null ]
[06/02/2021, 10:03:48] TypeError: currentSwitch.playProcess.kill is not a function
at SwitchSoundPlatform.setPowerState (/usr/lib/node_modules/homebridge-switchsound/index.js:263:35)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1439:24
at Array.forEach ()
at Bridge.Accessory._this._handleSetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1281:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Node.Js: v14.15.4
OS: Raspbian GNU/Linux Buster (10)
Hi,
I have the issue that there is no running process anymore while on my iphone the sound-button is on. When switching off the sound- button the homebridge is restarted with the following logging:
[06/02/2021, 10:00:30] Homebridge is running on port 51826.
[06/02/2021, 10:03:48] [SwitchSound] Stopping Sound....
[06/02/2021, 10:03:48] [SwitchSound] OUTLINE DEBUG: [ Kill State .... false ]
[06/02/2021, 10:03:48] [SwitchSound] OUTLINE DEBUG: [ Exit Code .... null ]
[06/02/2021, 10:03:48] TypeError: currentSwitch.playProcess.kill is not a function
at SwitchSoundPlatform.setPowerState (/usr/lib/node_modules/homebridge-switchsound/index.js:263:35)
at Characteristic.emit (events.js:315:20)
at Characteristic.EventEmitter.emit (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at Characteristic._this.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:652:12)
at /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1439:24
at Array.forEach ()
at Bridge.Accessory._this._handleSetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1281:10)
at HAPServer.emit (events.js:315:20)
at HAPServer.EventEmitter.emit (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
at HAPServer._this._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:812:12)
at IncomingMessage. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:280:24)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Node.Js: v14.15.4
OS: Raspbian GNU/Linux Buster (10)