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

Code for disarm not working #433

Open
mrbrdo opened this issue Jan 30, 2024 · 5 comments
Open

Code for disarm not working #433

mrbrdo opened this issue Jan 30, 2024 · 5 comments
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed

Comments

@mrbrdo
Copy link

mrbrdo commented Jan 30, 2024

The wiki describes it is possible to require a code for disarming through HA:
https://github.com/ParadoxAlarmInterface/pai/wiki/Home-Assistant-integration#make-home-assistant-to-ask-for-a-code-to-armdisarm-dev-branch

First of all it mentions dev branch, but at the moment the dev branch is only 2 commits behind master (I assume that's stable), and those commits are unrelated to this. So the wiki should be updated.

In any case, adding the MQTT_HOMEASSISTANT_CODE in PAI config, and adding the customize code in my HA configuration.yaml doesn't change anything. Disarm still works and doesn't ask for a code.

PS: I also tried the development version of this HA addon, but with that one, arming/disarming doesn't work at all for me. The logs don't show any obvious errors.

Related:
#194
#318

CC @yozik04

@mrbrdo mrbrdo added bug Something isn't working to be confirmed Reported but not yet confirmed labels Jan 30, 2024
@yozik04
Copy link
Collaborator

yozik04 commented Mar 28, 2024

Interesting. It used to work. Can you try one more time? Code on HomeAssistant side still expects same data that I am sending: https://github.com/home-assistant/core/blob/dev/homeassistant/components/mqtt/alarm_control_panel.py

@yozik04
Copy link
Collaborator

yozik04 commented Mar 28, 2024

More interesting that they started to suppport remote command. So I'd be able to send code to the PAI and validate there. From the code I'd be able to figure out the user who did the action and somehow use that info. But it all requires development.

@yozik04
Copy link
Collaborator

yozik04 commented Apr 8, 2024

I need to spend some time to debug it. Maybe, I will implement code checking on the PAI side. For EVO I am able to get user codes to match against, not sure if MG panels support that.

@yozik04
Copy link
Collaborator

yozik04 commented Apr 8, 2024

I need to spend some time to debug it. Maybe, I will implement code checking on the PAI side, for EVO I am able to get user codes to match against, not sure if MG panels support that. @jpbarraca is it possible to get user codes from MG panels?

@mrbrdo
Copy link
Author

mrbrdo commented Apr 29, 2024

@yozik04 it should be possible, as Babyware does show the codes, and I'm using PAI to connect to the panel from Babyware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed
Projects
None yet
Development

No branches or pull requests

2 participants