Open avdz opened 6 years ago
I have the same! anybody got a fix ?
I downgraded to v 1.0.2 and the error is gone...
$ sudo npm install -g homebridge-loxone-ws@1.0.2
also got the same error. should we update ws api?
+1, have the same error. Downgrade to 1.0.2 works...
EDIT: 1.0.2 doesn't work, the mini server doesn't accept the commands (doesn't process them): I'm on Firmware 9.0.9.26
The DimmerItem has a bug that tries to set the State before the connection is established. https://github.com/Sroose/homebridge-loxone-ws/pull/28 for the fix
Should be solved in release 1.0.5.
Hello,
I confirm, it's solved for me in 1.0.5 ;)
Hi!
I have the similar problem;
homebridge-loxone-ws: 1.0.5 Loxone Miniserver: 10.0.9.24
[2019-3-17 18:47:27] [Loxone] [blinds] iOS - send message to Cortina in Cocina: ManualPosition/0 /usr/lib/node_modules/homebridge-loxone-ws/node_modules/node-lox-ws-api/lib/API.js:190 this.connection.send(this._auth.prepare_control_command(control, command)); ^
TypeError: Cannot read property 'send' of undefined
at API.send_control_command (/usr/lib/node_modules/homebridge-loxone-ws/node_modules/node-lox-ws-api/lib/API.js:190:21)
at API.send_cmd (/usr/lib/node_modules/homebridge-loxone-ws/node_modules/node-lox-ws-api/lib/API.js:203:10)
at WSListener.sendCommand (/usr/lib/node_modules/homebridge-loxone-ws/libs/WSListener.js:140:13)
at BlindsItem.setItem (/usr/lib/node_modules/homebridge-loxone-ws/items/BlindsItem.js:127:22)
at emitMany (events.js:147:13)
at Characteristic.TargetPosition.emit (events.js:224:7)
at Characteristic.TargetPosition.Characteristic.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:321:10)
at Bridge.
I'm not really sure what is happening and I do not understand javascript enough to really be able to situate the problem but whenever I try to start homebridge (with the loon plugin) I get one of the following two errors: I think it might have something to do with the ws-api you're using but maybe it's best if you create a new issue there if that's the case.