Open yozik04 opened 4 years ago
I have pushed https://github.com/ParadoxAlarmInterface/pai/tree/send_panic branch to verify the code.
MQTT topic format: paradox/panic/{panic_type}/{partition}
Payload: {user_id}
Replace data in curly brackets.
panic_type
can be:
user_id
and partition
: numeric id or label
That will fail. I need full debug output what was received from the panel after this command.
So this is not possible now? I've created a battery powered door contact with esp8266 and was thinking that I could use this to trigger the alarm if the door is opened and partition is in arm mode
Not yet. Something is missing. Unfortunately no documentation.
Are there any updates on this topic? It would be a great function of pai. At the moment I can trigger the alarm with an esp32 relay used as a zone, but triggering it through mqtt would be awesome!
Nope, unfortunately.
Thank you!
@DjBac can you show ho you have wired the esp32 ?
I have some spare time coming up. If someone can point me in the direction of what needs to be done then I will gladly code it up.
(This would be a great feature that I would use a lot!)
Hi everyone. Below are my configs.
Using esphome to interface between paradox alarm and HA and to trigger one of the zone 'remotely' when armed (essentially like a panic button).
esphome:
name: esp-paradox-alarm
platform: ESP8266
board: nodemcuv2
logger:
baud_rate: 0
api:
ota:
password: "xxx"
wifi:
ssid: "WIFI_SSID"
password: "secret_ssid"
external_components:
- source: github://oxan/esphome-stream-server
uart:
id: uart_bus
baud_rate: 9600
tx_pin: GPIO1
rx_pin: GPIO3
stop_bits: 1
stream_server:
uart_id: uart_bus
port: 23
sensor:
- platform: uptime
name: Uptime Sensor
switch:
- platform: gpio
pin: GPIO5 #D5
inverted: false
id: relay
name: "Alarm Trigger"
icon: "mdi:alarm"
on_turn_on:
- delay: 1200ms
- switch.turn_off: relay
Hope this helps.
Thank you @fishermanG. I somehow missed your post. Great write up!
This is a cool project thanks for sharing. I did something similar to you but I was using PAI to control a onboard pgm via mqtt that triggered my keyswitch zone worked perfectly.
Feature description
Implement an MQTT endpoint to send a message to alarm.