Alarm MQTT help on correct state topic config

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]

How do i use this message S:OPEN,P:1,N:“Living Room PIR” to change the state of my binary_sensors
HELP Please

Also these work below to arm / disarm but two separate buttons and no status updated

  • platform: mqtt
    name: “Arm Alarm”
    state_topic: “Paradox/AS”
    command_topic: “Paradox/C/P1/Arm”
    payload_on: “1”
    payload_off: “0”
    qos: 0
    retain: true

  • platform: mqtt
    name: “Disarm Alarm”
    state_topic: “Paradox/AS”
    command_topic: “Paradox/C/P1/Disarm”
    payload_on: “1”
    payload_off: “0”
    qos: 0
    retain: true

Hello,

I need your help in setting oaradox ip150 with home assistant. can you pls help me ?

M

Hi there what issues are you having I’ll do my best my Evo 48 works very well

I need guideline how to start. I am quite new to this. I have already setup the HomeAssistant on Rasberry pie3.

Ok I’m happy to help but at what point are you at .
You have Home Assistant installed and configured
I’m assuming you have a Paradox alarm panel what version are you using as there are quite a few eg evo48 evo192 mg5050 are you using the IP150 interface module. Have you downloaded the python alarm software for Paradox .
There is the v1 or v2 depending on your alarm panel