After adding and configuring a DLink dsp215w smart plug an error is logged during Homebridge start up:
[7/14/2020, 6:34:48 AM] [Grow Light] Initializing w215 accessory...
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:41)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
Values
{ power: false, consumption: 0, totalConsumption: NaN, temperature: 0 }
A similar issue is logged when trying to fetch the status e.g. via iPhone Home app:
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:41)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
error: TypeError: Cannot read property 'nodeValue' of null
at readResponseValue (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:248:41)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/hnap/js/soapclient.js:81:16
at tryCallOne (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:37:12)
at /opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/promise/lib/core.js:123:15
at flush (/opt/homebridge/.npm-global/lib/node_modules/homebridge-w215/node_modules/asap/raw.js:50:29)
at processTicksAndRejections (internal/process/task_queues.js:75:11)
Values
{ power: false, consumption: 0, totalConsumption: NaN, temperature: 0 }
Values
{ power: false, consumption: 0, totalConsumption: NaN, temperature: 0 }
Switching the plug on and off via iPhone Home app works however:
true
OK
false
OK
Configuration used:
{
"accessory": "w215",
"name": "Grow Light",
"host": "10.0.1.225",
"username": "admin",
"password": "XXXXXX" // The actual PIN instead of XXXXXX
}
After adding and configuring a DLink dsp215w smart plug an error is logged during Homebridge start up:
A similar issue is logged when trying to fetch the status e.g. via iPhone Home app:
Switching the plug on and off via iPhone Home app works however:
Configuration used: