Closed neilpatel121 closed 2 years ago
It seems that there is an error when loading your locations
(i.e. homes in evohome). Have you got more than one home in evohome?
Just to comment, I've (not OP) got two locations and don't see this issue.
Hey @neilpatel121, do you still encounter this bug with any regularity?
I will be closing this issue, but I am really interested in solving this for good!
So getting the error TypeError: Cannot read property 'log' of undefined regularly, this causes the homebridge instance to die, I’m currently running the evohome plugin in a seperate instance. After the plugin crashes it loses all the temp control accessories in homekit, after restart the accessories get added back to the default room.
Two issues here I believe
Stack trace..
[3/15/2021, 4:28:03 AM] [Evohome] Updating: Family Bath currentTempChange from: 21 to: 21.5 TypeError: Cannot read property 'log' of undefined at /usr/lib/node_modules/homebridge-evohome/index.js:617:14 at _rejected (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:864:24) at /usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:890:30 at Promise.when (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:1142:31) at Promise.promise.promiseDispatch (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:808:41) at /usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:624:44 at runSingle (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:137:13) at flush (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:125:13) at processTicksAndRejections (internal/process/task_queues.js:75:11) TypeError: Cannot read property 'log' of undefined at /usr/lib/node_modules/homebridge-evohome/index.js:617:14 at _rejected (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:864:24) at /usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:890:30 at Promise.when (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:1142:31) at Promise.promise.promiseDispatch (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:808:41) at /usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:624:44 at runSingle (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:137:13) at flush (/usr/lib/node_modules/homebridge-evohome/node_modules/q/q.js:125:13) at processTicksAndRejections (internal/process/task_queues.js:75:11)