Closed olofbokedal closed 5 years ago
Thanks for creating an issue. Your config looks correct.
I find it strange that targetStateCharacteristic.props.validValues
in your environment is undefined
.
Which version of Homebridge are you running?
$ homebridge --version
Your question reminded me that I haven't updated node in some time, and I was running version 6.x. The issue might definitely be caused by the old version, but an update to version 10 caused a whole bunch of other problems with other packages.
I'll get back to you when I've got Homebridge itself up and running again.
I see. I'm running node v10.15
in my setup. Let's revisit if the problem still occurs 👍
For anyone else encountering this: It works fine after updating node. Currently running v10.15.1 without any problems.
Fantastic news! Maybe we should declare node 7+
as a requirement?
That could be a good idea yes, especially since Homebridge itself only requires v4.3.2 or above.
I've changed my mind, sorry. Tests are currently passing in node 6
, therefore let's keep supporting that environment until we have identified a reproducible issue.
If you where able to reproduce this issue with a stand-alone setup, please share your exact versions of node
, npm
, homebridge
etc.
I'm afraid I didn't take notice of all the versions involved so I can't help much further in order to reproduce it.
I've added the platform to my array of platforms with the following structure:
Homebridge stopped responding after this addition, and running it in debug mode gives me the following errors:
Maybe this is an issue for https://github.com/ptz0n/node-verisure but since I'm using this plugin I figured I might as well add the issue here.
Let me know if I can provide any further details.