Error: "value" required in setHeader("SecurityToken", value)
at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:354:11)
at new ClientRequest (_http_client.js:86:14)
at Object.exports.request (http.js:31:10)
at Object.exports.request (https.js:199:15)
at Request.start (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:914:30)
at Request.end (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:1728:10)
at end (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:704:14)
at Immediate. (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:718:7)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)
Whenever I load my config file (which looks like this)
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 61025, "pin": "031-45-154" },
"accessories": [ { "accessory": "Assurelink", "name": "Right Garage Door", "username": "<redacted>", "password": "<redacted>" } ] }
i receive this error:
Error: "value" required in setHeader("SecurityToken", value) at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:354:11) at new ClientRequest (_http_client.js:86:14) at Object.exports.request (http.js:31:10) at Object.exports.request (https.js:199:15) at Request.start (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:914:30) at Request.end (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:1728:10) at end (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:704:14) at Immediate. (/usr/local/lib/node_modules/homebridge-assurelink/node_modules/request/request.js:718:7)
at runCallback (timers.js:637:20)
at tryOnImmediate (timers.js:610:5)
at processImmediate [as _immediateCallback] (timers.js:582:5)