werthdavid / homebridge-website-to-camera

Homebridge plugin that displays a Website as virtual camera (intended for Google Maps Traffic)
MIT License
54 stars 7 forks source link

Since Update HB rebooting every time #20

Closed philmue1988 closed 4 years ago

philmue1988 commented 4 years ago

Hi,

first of all thank you for that nice plugin! since the update, i got the callback function error and the HB reboots new every time.

[website-camera] Loading finished, waiting 2000ms before taking screenshot Apr 29 14:08:32 raspberrypi homebridge[28173]: [4/29/2020, 14:08:32] [website-camera] Created screenshot Apr 29 14:08:32 raspberrypi homebridge[28173]: [4/29/2020, 14:08:32] [website-camera] Got screenshot Apr 29 14:08:32 raspberrypi homebridge[28173]: [4/29/2020, 14:08:32] [website-camera] identify Apr 29 14:08:32 raspberrypi homebridge[28173]: [4/29/2020, 14:08:32] TypeError: callback is not a function Apr 29 14:08:32 raspberrypi homebridge[28173]: at CameraAccessory. (/usr/local/lib/node_modules/homebridge-website-to-camera/CameraAccessory.js:28:13) Apr 29 14:08:32 raspberrypi homebridge[28173]: at CameraAccessory.emit (events.js:223:5) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Accessory. (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:85:12) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Accessory.emit (events.js:223:5) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Accessory.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Accessory._this._identificationRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:259:12) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Identify. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:248:16) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Identify.emit (events.js:223:5) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Identify.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22) Apr 29 14:08:32 raspberrypi homebridge[28173]: at Identify.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:614:12)

Could you help out?

Phil

werthdavid commented 4 years ago

please try homebridge-website-to-camera@1.5.2