Hi guys I have managed to integrate my paradox EVO48 Alarms system into MQTT
and home assistant I am having trouble with how to get my binary sensors to open in close in home assistant I have tryed everything Ill post the messages from alarm and my config hopefully someone can help me get it right.
I am able to arm and disarm my alarm from home assistant just no state updates.
[MQTT Topics]
Topic_Publish_Zone_States = Paradox/ZS
Payload_Publish_Zone_States_1 = OPEN
Payload_Publish_Zone_States_0 = CLOSED
Topic_Publish_Alarm_States = Paradox/AS
Topic_Publish_Siren_Status = Paradox/SS
Topic_Subscribe_Control = Paradox/C/
[CODE]Events
Once the script has settled to listen for events, the following topics are available (and their names are also configurable in the config.ini file):
From Web site instructions below
Events:
Topic: Paradox/Events
Payload (example): Event:Zone OK;SubEvent:Braaikamer PIR
Payload (example): Event:Zone open;SubEvent:Braaikamer PIR
Payload (example): Event:Partition status;SubEvent:Disarm partition
Payload (example): Event:Zone forced;SubEvent:Back Door
Payload (example): Event:Disarming with user;SubEvent:User 06
Payload (example): Event:Non-reportable event;SubEvent:Arm in sleep mode
etc…
Controls
Controlling the alarm or outputs
Publish the following topic to control the alarm:
Paradox/C/P1/Disarm
(C = Control; P = Partition, followed by number; Then the action = Disarm / Arm / Sleep / Stay)
The payload is not evaluated in this case. Note that alarm controls can take a few seconds as the script must first be re-authenticated
Paradox/C/P1, Payload: Disarm
.
[\CODE]
[CODE]- platform: mqtt
name: Garage Door
state_topic: “Paradox/ZS/Z3/State”
Event_OK: “Zone OK”
Event_open: “Zone open”
qos: 0
retain: true
-
platform: mqtt
name: Living Room PIR
icon: mid:home
state_topic: “Paradox/ZS/Z3”
Event_OK: “Zone OK”
Event_open: “Zone open”
qos: 0
retain: true -
platform: mqtt
name: Hallway PIR
state_topic: “Z3/Paradox/ZS”
Event_OK: “Zone OK”
Event_open: “Zone open”
qos: 0
retain: true -
platform: mqtt
name: Theater PIR
state_topic: “Paradox/ZS/Z3/States”
Event_OK: “Zone OK”
Event_open: “Zone open”
qos: 0
retain: true -
platform: mqtt
name: Upstairs PIR
state_topic: “ZS/Theater PIR”
payload_on: “1”
payload_off: “0”
qos: 0
retain: true[\CODE]
MQTT MESSAGES RECEIVED BELOW
[CODE]Unsure: (8)
Client mosqsub/2042-raspberryp received PINGRESP
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (8)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (8)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (8)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘tele/sonoff/STATE’, … (150 bytes))
{“Time”:“2017-07-11T00:48:01”, “Uptime”:20, “Vcc”:3.155, “POWER”:“ON”, “Wifi”:{“AP”:1, “SSID”:“ParkwayDrive”, “RSSI”:90, “APMac”:“C4:EA:1D:6D:3D:BB”}}
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘tele/sonoff/SENSOR’, … (47 bytes))
{“Time”:“2017-07-11T00:48:01”, “Switch3”:“OFF”}
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (8)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (8)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (30 bytes))
S:OPEN,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
Unsure: (9)
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/ZS/Z1’, … (32 bytes))
S:CLOSED,P:1,N:“Living Room PIR”
Client mosqsub/2042-raspberryp received PUBLISH (d0, q0, r0, m0, ‘Paradox/AS/P1’, … (11 bytes))
ALARM LOGGING ON BELLOW THIS CAN PROB BE IGNORED
MQTT Message: Paradox/C/P1/Arm 1
Control Partition: 1
Control’s New State: Arm
MQTT Message: Paradox/C/P1/Disarm 1
Control Partition: 1
Control’s New State: Disarm
Disconnect OK received from IP Module
SES Key Found: B7D9A6821002642E
spass: A6BC7567EFEA7DAF6BF02F6EAE886C8FB7D9A6821002642E
user: 1980
P: 28D7032F7D38B187E7751B87F048E1EB
U: 238C7384
OK received from requesting: default.html
Waiting for initial data to be received (scripts, etc.)…
.
.
.
.
.
.
.
Get zone definitions
Alarm Name: MyParadox
Area Names: [’“Area 1”’, ‘“Area 2”’, ‘“Area 3”’, ‘“Area 4”’]
Zone Names & Partition assignment: [‘1’, ‘“Living Room PIR”’, ‘1’, ‘“Hallway PIR”’, ‘1’, ‘“Theater PIR”’, ‘1’, ‘“Upstairs PIR”’, ‘1’, ‘“Garage PIR”’, ‘1’, ‘“G-Roller Door”’, ‘1’, ‘“PERIMETER DOORS”’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’]
Zone Names (Total: 48): [‘1’, ‘“Living Room PIR”’, ‘1’, ‘“Hallway PIR”’, ‘1’, ‘“Theater PIR”’, ‘1’, ‘“Upstairs PIR”’, ‘1’, ‘“Garage PIR”’, ‘1’, ‘“G-Roller Door”’, ‘1’, ‘“PERIMETER DOORS”’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’, ‘0’, ‘" "’]
Going to State_Machine 3
Connected and polling data every 0.5s
.
Preparing to send a control command
.
[\CODE]