perbrage / sectoralarm

Sector Alarm Node.js Library
MIT License
23 stars 8 forks source link

breaking changes from sectoralarm. #43

Open burner- opened 5 months ago

burner- commented 5 months ago

https://mypagesapi.sectoralarm.net/ wont work anymore. So this library wont get needed information of site and all commands fail. Example reading info will give error TypeError: Cannot read properties of undefined (reading 'info')

burner- commented 5 months ago

Hmm actually it looks that api is still exist but something have changend.

TypeError: Cannot read properties of undefined (reading 'info') at info (/data/node_modules/node-red-contrib-sectoralarm/lib/sectoralarm-site.js:294:20) at SiteNode._inputCallback (/data/node_modules/node-red-contrib-sectoralarm/lib/sectoralarm-site.js:54:21) at /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:214:26 at Object.trigger (/usr/src/node-red/node_modules/@node-red/util/lib/hooks.js:166:13) at SiteNode.Node._emitInput (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:206:11) at SiteNode.Node.emit (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:190:25) at SiteNode.Node.receive (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:499:10) at deliverMessageToDestination (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:800:40) at Immediate._onImmediate (/usr/src/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:816:21) at processImmediate (node...

Gidenskold commented 3 months ago

Talked with Sector Alarms customer support and they confirmed that the "open" API has been closed since it caused issues with the alarm systems. They do not plan on enabling it again. The new authentication uses OAuth 2.0 and login requires a secret only known to Sector Alarm. Asked if it would be possible to generate developer credentials, which they replied that they won't do.

burner- commented 3 months ago

I got same kind information and I have project to terminate all sector alarm contracts and change to another vendor. Previously I recommend sectoralarm to everyone but after they did that I recommend to everyone avoid it.