-
Using PAI 3.6.1 and have HA working and can arm, disarm and see alarm actions through the various entities (MG5050 panel and IP150+). I am trying to create an automation using an MQTT trigger and using paradox\events\raw to trigger on payload "id: 2" as it appears MQTT messages containing id: 2 is only generated after an the panel is armed or disarmed. The "message" payload is what I want out of the MQTT message as it basically says "arming by User" and I can just use that message text for my notification. So far, I cannot get it to trigger on id: 2 and also pushover does not want to send a message that includes a template. here is the trigger: MQTT - paradox/events/raw I have tried everything that I can think of to get this to work in the condition using [ ] [ ] but the automation never fires. I am patterning off of the examples here: https://github.com/ParadoxAlarmInterface/pai/wiki/Home-Assistant-integration Using HA |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
OK, I figured it out via trial and error and by listening to topic /paradox/events/raw messages via MQTT/Configure This is for a Paradox MG5050 panel with an IP150+ ip connection. Here is the yaml for the automation: alias: Home Alarm Arming or Disarming Email Notification
Here are the raw topic messages: **Note that the payload - "id": 6, corresponds to the user number in the alarm panel that arms or disarms the alarm system. The alarm sends one message for the arming user and one message for the disarming user. The payload - "message" give you exactly what you need to see who is arming or disarming which turns out to be quite convenient. I have users 2-7 exposed in PAI. Message 16 received on paradox/events/raw at 1:53 PM: Message 7 received on paradox/events/raw at 1:53 PM: Works like a charm. The reason I wanted to do this is because I had the IP150+ set up to email directly using the build in configuration which used to be accessible by the IP150+ web interface. Of course, once you update to the most recent firmware, the web interface is no longer accessible so it is hard to go into the IP150+ interface to modify smpt/email settings and email addresses you want to send to. If you have an old install of Insite Gold and your panel is set up(even if it was using swan), you can still access this information by touching the hamburger menu and selecting installer section and then on the following screen select the Panel Accounts tab and then you should be able to connect to your IP150+ interface. Select Modules Programming, then Module Config and then click on the config button and then you can modify the IP150+ settings that used to be on the web interface. I don't think it works with the new blue app and I am not sure you can set this up using insite gold if you have never set it up before while having a swan connection. It is very confusing as to if you still can and I fear that it may be impossible to modify this stuff in the future. Hope this helps someone. Thanks to the PAI team for such a great interface to Home Assistant!!!!! |
Beta Was this translation helpful? Give feedback.
OK, I figured it out via trial and error and by listening to topic /paradox/events/raw messages via MQTT/Configure
This is for a Paradox MG5050 panel with an IP150+ ip connection.
Here is the yaml for the automation:
alias: Home Alarm Arming or Disarming Email Notification
description: ""
triggers:
topic: paradox/events/raw
conditions:
value_template: >-
{{ trigger.payload_json['id'] == 2 or trigger.payload_json['id'] == 3 or
trigger.payload_json['id'] == 4 or trigger.payload_json['id'] == 5 or
trigger.payload_json['id'] == 6 or trigger.payload_json['id'] == 7 }}
enabled: true
actions:
metadata: {}
data:
message: Home Alarm is {…