tekuonline / Homebridge-Assurelink

Assurelink Plugin for Homebridge (DOES NOT WORK ANYMORE)
0 stars 1 forks source link

Securty token Error #2

Closed clubluver closed 7 years ago

clubluver commented 7 years ago

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)

tekuonline commented 7 years ago

Can you try this v2 of Assurelink Plugin? https://github.com/tekuonline/homebridge-assurelink2