All Projects → maragelis → ParadoxRs232toMqtt

maragelis / ParadoxRs232toMqtt

Licence: MIT license
esp8266, serial bus to mqtt for Paradox alarm systems

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to ParadoxRs232toMqtt

Pai
Paradox Magellan, Spectra and EVO, with MQTT, Signal, Pushbullet, Pushover and others
Stars: ✭ 185 (+180.3%)
Mutual labels:  alarm, homeassistant
ad-qolsys
AppDaemon app for Qolsys IQ Panel 2
Stars: ✭ 19 (-71.21%)
Mutual labels:  alarm, homeassistant
Raspberry-Pi-Electricity-Monitor
Software for monitoring the electricity consumption of a home with a Raspberry Pi
Stars: ✭ 33 (-50%)
Mutual labels:  serial, rs232
micronova controller
Allows you to easily control via MQTT any Micronova equiped pellet stove. (MCZ, Extraflame, Laminox, and many others brands!)
Stars: ✭ 30 (-54.55%)
Mutual labels:  serial, homeassistant
ocpp
Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
Stars: ✭ 82 (+24.24%)
Mutual labels:  homeassistant
addon-tailscale
Tailscale - Home Assistant Community Add-ons
Stars: ✭ 47 (-28.79%)
Mutual labels:  homeassistant
select-list-card
Select List Card displays an input_select entity as a list in lovelace
Stars: ✭ 51 (-22.73%)
Mutual labels:  homeassistant
ESP DoubleResetDetector
ESP_DoubleResetDetector is a library for the ESP32/ESP8266 Arduino platform to enable trigger configure mode by resetting twice.
Stars: ✭ 34 (-48.48%)
Mutual labels:  esp8266-arduino
panasonic smart app
Panasonic Smart App integration for Home Assistant.
Stars: ✭ 22 (-66.67%)
Mutual labels:  homeassistant
purifier-card
Air Purifier card for Home Assistant Lovelace UI
Stars: ✭ 155 (+134.85%)
Mutual labels:  homeassistant
Android-Alarm
This repository is an Alarm application, demonstrate how to use multiple pending intent to set alarm's time wake up. use popup menu, RecyclerView Adapter, use SQLite to store data
Stars: ✭ 25 (-62.12%)
Mutual labels:  alarm
ESPShaker
ESP8266 interactive serial command processor via Arduino core.
Stars: ✭ 24 (-63.64%)
Mutual labels:  esp8266-arduino
lovelace-collapsable-cards
A custom Lovelace card that hides other cards behind a dropdown toggle
Stars: ✭ 83 (+25.76%)
Mutual labels:  homeassistant
SerialProtocol
A protocol for sending data between two Arduino devices, or between an Arduino and another device through a serial port
Stars: ✭ 36 (-45.45%)
Mutual labels:  serial
arduino-audio-tools
Arduino Audio Tools (Music Player, Music Recorder supporting I2S, Microphones, DAC, ADC, A2DP, Url, MP3, AAC, AudioKit, ES8388)
Stars: ✭ 393 (+495.45%)
Mutual labels:  serial
homeassistant-mi-water-purifier
XiaoMi Water Purifier component for Home Assistant.
Stars: ✭ 70 (+6.06%)
Mutual labels:  homeassistant
home-assistant-config
🏠 Home Assistant Configuration & Documentation for my smart home using Node-RED for automations. Press ⭐ for notification of updates.
Stars: ✭ 34 (-48.48%)
Mutual labels:  homeassistant
lovelace-valetudo-map-card
Draws the map available from a Xiaomi Vacuum cleaner flashed with Valetudo in a Home Assistant Lovelace card
Stars: ✭ 149 (+125.76%)
Mutual labels:  homeassistant
MQTT VPN
IP over MQTT for ESP controllers and Linux
Stars: ✭ 95 (+43.94%)
Mutual labels:  esp8266-arduino
homeassistant-plant
Alternative Plant component of home assistant
Stars: ✭ 62 (-6.06%)
Mutual labels:  homeassistant

Anyone intrested in a esp32 version running micropython check here https://github.com/maragelis/micropython_paradox

ParadoxRs232toMqtt

This project uses a WEMOS ESP8266 to read the events of the serial bus on Paradox alarm systems and send them to an MQTT server

Making a connection

There are 2 ways to connect the devices together:

  • Alarm system serial to WEMOS through RX/TX
  • paradoxTX into GPIO15 (WEMOS D8), paradoxRX to GPIO13 (WEMOS D7), using serial_swap 1

Arduino IDE settings

Edit the PubSubClient.h header file and change MQTT_MAX_PACKET_SIZE to 256

Libraries:

  • Arduino Core 2.4.1
  • WifiManager by tzapu 0.12.0
  • PubSubClient by Nick O`Leary 2.6.0

Set the Hassio flag to 1 for Home assistant, and check out the wiki (Home Assistant in V2)

The 37 byte message is broken down into a json message with "Event Group" and "Sub-group", and one more dummy attribute which is the zone/partition label.

See the wiki for more info on Groups and Sub-groups

After flashing the WEMOS board, connect to it's Wi-Fi (paradoxdCTL), open the 192.168.4.1 IP address in your browser, input your Wi-Fi credentials and MQTT server address. That's all.

MQTT Topics

Topic Notes
paradoxdCTL/out All alarm event messages
paradoxdCTL/status The program messages
paradoxdCTL/in Input topic

HomeAssistant MQTT Topics

Topic Notes
paradoxdCTL/hassio/Arm/zoneX Where x is zone number from 1-32
paradoxdCTL/hassio/Arm/zoneX Gives values ON/OFF
paradoxdCTL/hassio/Arm Gives values: disarmed, armed_home, armed_away, triggered

Sending commands

The command payloads are in JSON. Template:

{
 "password":"1234",
 "Command":"arm",
 "Subcommand":"0"
}

The password is the user's 4 digit password.

A command can be any of the following:

  • arm
  • disarm
  • sleep
  • stay
  • bypass
  • armstate
  • panelstatus
  • setdate
  • PGM_ON
  • PGM_OFF

Subcommands depending on the main command

Main Command Subcommand
arm,sleep,disarm partition
bypass The zone number from 0 to 31
panelstatus panel data
panelstatus panel voltage and battery data

Release Logs

20200126:

  1. Added ArmStatus: pending when exit delay
  2. Added Event 29 (because of change pending status to arm_away after exit delay)

20190212:

  • Added retain message on hassio/Arm topic
  • Added the ability to add credentials to mqtt.
  • Added Homekit topic for Homebridge plugin. (comming soon).

20190130: added PGM support (command "PGM_ON" subcomand "0-31)

20190114: V2 Live (Homeassistant)

20190104: Added wiki Node-red v2 flow

20190103: Added v2 test branch (stable working)

20180804: Wiki added Home Assistant Config (works with node-red)

20180721: Changed to user based password, use the same 4 digit code used on panel for control.

Continue reading the wiki for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].