Closed Chiragbrains closed 6 years ago
Hello @Chiragbrains,
Thanks for opening the issue here and I apologize for your problems. I'll try to fix it as soon as possible. At the moment I'm having trouble reproducing the crash and the issue seems serious enough to be easily overlooked in any earlier release.
Can you, please, try to run Homebridge server in debug mode (homebridge -D
) and re-post the log here? Also what plugin version and Homebridge version are you using?
This is what I see when I do homebridge -D
As soon as I add the homebridge to HomeKit, it crashes saying:
/usr/local/lib/node_modules/homebridge-ecobee3-sensors/source/sensor.js:116
callback();
^
TypeError: callback is not a function
at EcobeeSensor.identify (/usr/local/lib/node_modules/homebridge-ecobee3-sensors/source/sensor.js:116:3)
at emitTwo (events.js:106:13)
at PlatformAccessory.emit (events.js:191:7)
at PlatformAccessory.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/platformAccessory.js:155:12)
at emitTwo (events.js:106:13)
at Accessory.emit (events.js:191:7)
at Accessory._identificationRequest (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:122:10)
at Accessory.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:984:14)
at emitMany (events.js:127:13)
at Characteristic.emit (events.js:201:7)
I sent you my Debug mode. BTW, I am trying to get Motion Sensing to increase or decrease the temp when it detects motion and when it does not detect motion, and it does not seem to work. Do you know if I can do this?
Thanks, Chirag
Thanks for the logs. I think I've got an idea what could be a problem now. What version of Homebridge and the homebridge-ecobee3-plugin are you using?
Homebridge: 0.4.3 homebridge-ecobee3-plugin: 0.1.4
Thanks. I'll get the exact same versions and get back here with my findings.
The problem is fixed. You can either get the latest version of this plugin (0.1.5) or Homebridge server (>0.4.11) and the crash shouldn't be happening.
Thanks
Sent from my iPhone
On Nov 11, 2017, at 5:13 PM, Vojta Molda notifications@github.com wrote:
The problem is fixed. You can either get the latest version of this plugin (0.1.5) or Homebridge server (>0.4.11) and the crash shouldn't be happening..
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@vojtamolda - It seems this issue is happening again with the latest version of Homebridge 0.4.45
I now get the same crash: “callback is not a function”