Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95419

A little help with MQTT Alarm

$
0
0

@Makis wrote:

Hi
I have a Paradox Alarm system and I integrated to HA with this setup

In the configuration.yaml I have the following
alarm_control_panel:

  - platform: mqtt
    state_topic: "paradoxdCTL/hassio/Arm"
    command_topic: "paradoxCTL/in"
    payload_disarm: '{"password":"0000","Command":"disarm","Subcommand":"0"}'
    payload_arm_night: '{"password":"0000","Command":"sleep","Subcommand":"0"}'
    payload_arm_home: '{"password":"0000","Command":"stay","Subcommand":"0"}'
    payload_arm_away: '{"password":"0000","Command":"arm","Subcommand":"0"}'

Iknow that I have to change the password to the one I have but I will do it later (I am noob so one step at a time)
I have also setup all the binary sensors and are working ok.

The problem right now is I don’t get the status of the of the alarm in Home Assistant alarm card
but I can get the messages in the MQTT topic. (see below message 71)
I am not sure what I have to type in the subcommand in configuration yaml or what the problem is.
Can someone help a little please?

Listen to a topic
 
Listening to
#
 
Message 98 received on paradoxCTL/in at 11:50 AM:
{
    "password": "0000",
    "Command": "disarm",
    "Subcommand": "0"
}
QoS: 0 - Retain: false
Message 97 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 0,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone OK",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 96 received on paradoxdCTL/hassio/zone3 at 11:48 AM:
OFF
QoS: 0 - Retain: false
Message 95 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 1,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone open ",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 94 received on paradoxdCTL/hassio/zone3 at 11:48 AM:
ON
QoS: 0 - Retain: false
Message 93 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 0,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone OK",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 92 received on paradoxdCTL/hassio/zone3 at 11:48 AM:
OFF
QoS: 0 - Retain: false
Message 91 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 0,
    "sub_event": 4,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone OK",
    "data": "R.XOL"
}
QoS: 0 - Retain: false
Message 90 received on paradoxdCTL/hassio/zone4 at 11:48 AM:
OFF
QoS: 0 - Retain: false
Message 89 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 1,
    "sub_event": 4,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone open ",
    "data": "R.XOL"
}
QoS: 0 - Retain: false
Message 88 received on paradoxdCTL/hassio/zone4 at 11:48 AM:
ON
QoS: 0 - Retain: false
Message 87 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 1,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone open ",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 86 received on paradoxdCTL/hassio/zone3 at 11:48 AM:
ON
QoS: 0 - Retain: false
Message 85 received on paradoxdCTL/out at 11:48 AM:
{
    "event": 0,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone OK",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 84 received on paradoxdCTL/hassio/zone3 at 11:48 AM:
OFF
QoS: 0 - Retain: false
Message 83 received on paradoxdCTL/out at 11:47 AM:
{
    "event": 1,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone open ",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 82 received on paradoxdCTL/hassio/zone3 at 11:47 AM:
ON
QoS: 0 - Retain: false
Message 81 received on paradoxdCTL/out at 11:47 AM:
{
    "event": 0,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone OK",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 80 received on paradoxdCTL/hassio/zone3 at 11:47 AM:
OFF
QoS: 0 - Retain: false
Message 79 received on paradoxdCTL/out at 11:47 AM:
{
    "event": 1,
    "sub_event": 3,
    "partition": 0,
    "sub_eventD": "",
    "eventD": "Zone open ",
    "data": "R.SALONI"
}
QoS: 0 - Retain: false
Message 78 received on paradoxdCTL/hassio/zone3 at 11:47 AM:
ON
QoS: 0 - Retain: false
Message 77 received on paradoxdCTL/hassio/zone8 at 11:40 AM:
OFF
QoS: 0 - Retain: true
Message 76 received on paradoxdCTL/hassio/zone10 at 11:40 AM:
OFF
QoS: 0 - Retain: true
Message 75 received on paradoxdCTL/hassio/zone6 at 11:40 AM:
ON
QoS: 0 - Retain: true
Message 74 received on paradoxdCTL/hassio/zone9 at 11:40 AM:
ON
QoS: 0 - Retain: true
Message 73 received on paradoxdCTL/hassio/zone11 at 11:40 AM:
ON
QoS: 0 - Retain: true
Message 72 received on paradoxdCTL/hassio/zone2 at 11:40 AM:
OFF
QoS: 0 - Retain: true
Message 71 received on paradoxdCTL/hassio/Arm0 at 11:40 AM:
disarmed

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>