-
Notifications
You must be signed in to change notification settings - Fork 87
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
Comments
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 |
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. |
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. |
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? |
@yozik04 it should be possible, as Babyware does show the codes, and I'm using PAI to connect to the panel from Babyware. |
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
The text was updated successfully, but these errors were encountered: