ianmichell / homebridge-w215

Homebridge D-Link w215 plugin
Apache License 2.0
7 stars 4 forks source link

Multiple plug error #6

Closed spaceman1212 closed 7 years ago

spaceman1212 commented 7 years ago

I am getting the following error and all plugs are not working when i am using multiple plugs.

One plug works fine, though multiple has issue. The window still shows the button going 0 or 1 for on or off.

Error:

error: TypeError: Cannot read property 'nodeValue' of null at readResponseValue (/usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:40) at /usr/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16 at tryCallOne (/usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12) at /usr/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15 at flush (/usr/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)

ianmichell commented 7 years ago

What version of the plugin are you using?

spaceman1212 commented 7 years ago

w215 with firmware 1.25

ianmichell commented 7 years ago

No, the plugin I wrote.

spaceman1212 commented 7 years ago

is this the version: Loaded plugin: homebridge-w215 homebridge API version: 2.2

spaceman1212 commented 7 years ago

worked out the issue. I was on version 0.2 now on v 0.6 and working. Not sure why it installed the old version.