Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activate power plug > crash #16

Open
phenomeus opened this issue Dec 15, 2017 · 0 comments
Open

activate power plug > crash #16

phenomeus opened this issue Dec 15, 2017 · 0 comments

Comments

@phenomeus
Copy link

Dez 15 22:31:53 raspberrypi homebridge[27826]: crypto.js:219
Dez 15 22:31:53 raspberrypi homebridge[27826]: this._handle.initiv(cipher, toBuf(key), toBuf(iv));
Dez 15 22:31:53 raspberrypi homebridge[27826]: ^
Dez 15 22:31:53 raspberrypi homebridge[27826]: TypeError: Key must be a buffer
Dez 15 22:31:53 raspberrypi homebridge[27826]: at new Cipheriv (crypto.js:219:16)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Object.Cipheriv (crypto.js:217:12)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Mijia.generateKey (/usr/lib/node_modules/homebridge-smarthome/kit/mijia.js:364:25)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Characteristic.service.getCharacteristic.on (/usr/lib/node_modules/homebridge-smarthome/kit/mijia/plug.js:76:31)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at emitMany (events.js:147:13)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Characteristic.emit (events.js:224:7)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Characteristic.setValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:292:10)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Bridge. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:856:22)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Array.forEach ()
Dez 15 22:31:53 raspberrypi homebridge[27826]: at Bridge.Accessory._handleSetCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:801:8)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at emitMany (events.js:147:13)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at HAPServer.emit (events.js:224:7)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at HAPServer._handleCharacteristics (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:972:10)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at HAPServer. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at emitNone (events.js:106:13)
Dez 15 22:31:53 raspberrypi homebridge[27826]: at IncomingMessage.emit (events.js:208:7)
Dez 15 22:31:53 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=1/FAILURE
Dez 15 22:31:53 raspberrypi systemd[1]: Unit homebridge.service entered failed state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant