Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disarm doesn't work #46

Open
evgolsh opened this issue May 25, 2022 · 1 comment
Open

Disarm doesn't work #46

evgolsh opened this issue May 25, 2022 · 1 comment

Comments

@evgolsh
Copy link

evgolsh commented May 25, 2022

Hello. Thank you for the plugin (I did read reasons of stopping maintenance of this plugin).

Everything works just fine except for disarming the system. I get the following log:

[25/05/2022, 16:37:09] [RiscoAlarm] Error on getAlarmState: TypeError: Cannot convert undefined or null to object at Function.values (<anonymous>) at /usr/lib/node_modules/homebridge-risco-platform/Risco.js:742:36 at Array.map (<anonymous>) at RiscoPanelSession.getAlarmState (/usr/lib/node_modules/homebridge-risco-platform/Risco.js:733:18) at RiscoPanelSession.UpdateCPStates (/usr/lib/node_modules/homebridge-risco-platform/Risco.js:1116:70) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5) [25/05/2022, 16:37:09] [RiscoAlarm] Error on UpdateCPStates: undefined

@evgolsh
Copy link
Author

evgolsh commented May 31, 2022

Tried to debug it. The error I mentioned pops only there is an alarm. It sends disarm command successfully but it keeps in the armed state silently. Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant