Skip to content

Latest commit

 

History

History
103 lines (75 loc) · 4.57 KB

README.md

File metadata and controls

103 lines (75 loc) · 4.57 KB

PagerAlert

Secondary alarm in addition to the digital radio message receiver on the mobile phone by telegram

⚠ DISCONTINUED PROJECT
Especially in product descriptions of this project it may happen that the language German is used. This project is still in Dear Arduino-PagerAlert, from 02/01/2019 to 11/23/2023 you served the fire department well and alerted reliably. With the rollout of Alamos aPager Pro and the associated alerting on mobile devices, we may send you into well-deserved retirement and close this GitHub project.

LINK TO THE FULL PROJECT

You can find the completely described project on my website https://www.filipnet.de/secondary-alarm/

FEATURES

  • Connects to the Wireless Access Pointt / Wifi Router
  • Securely connects to the MQTT Broker (TLS)
  • Controls ESP8266 Chip Level Data Pins
  • Sends a heartbeat signal to the MQTT broker periodically
  • Is supplied with power from the charging station of the Swissphone Radio Pager receiver
  • Taps the potential-free relay contact when an alarm is triggered and sends a signal to a GPIO of the Arduino
  • Sends the relay status via MQTT to the broker (on/off)

REQUIREMENTS

INSTALL AND USAGE

PINOUT

Sensor-Description Sensor-PIN PIN-Description Arduino Port Comment
DIN Sub-5 Cable 1/5 BLUE Relay contact - To Arduino GND to switch pulldown at relay contact
DIN Sub-5 Cable 2/5 WHITE Energy source for Arduino (+) 3-8V USB-Port Arduino 3-8 V 3-8 volts depending on the internal assignments of the Swissphone charging station (solder bridges)
DIN Sub-5 Cable 3/5 COPPER Energy source for Arduino (-) GND USB-Port Arduino GND
DIN Sub-5 Cable 4/5 GREEN N/A - -
DIN Sub-5 Cable 5/5 RED Relay contact - Bridged to Arduino D3 PIN
Arduino - - D3 From D3 to Relay contact to GND - Input with pullup - so you dont need an external resistor

SWISSPHONE LGRA 300/429 5-POLE DIN CONNECTOR

The following is a schematic drawing from the instructions guide of the Pager for the DIN connector

Swissphone LGRA 300/429 5-Pole DIN Connector

LIBRARIES

  • PubSubClient by Nick O'Leary
  • esp8266_mdns by dunk

DIRECTORIES AND FILES

  • src/PagerAlert.ino - The main programm code
  • src/config.h - GPIO configuration, definition of threshold values, etc.
  • src/credentials.h.sample - Sample configuration file for WiFi and MQTT credentials (please rename to secrets.h)
  • README.md - The manual for this Arduino Script
  • LICENSE - The license notes for this Arduino script
  • platformio.ini - Wemos D1 Mini Configuration for PlatformIO

AUTOMATION WITH NODE-RED

PLUGIN REQUIREMENTS

NODE-RED FLOW

Node-RED works with so-called flows, which can be imported and exported. An example of a flow can be found in flows.json in the github repository.

MQTT TOPICS

MQTT Topic Description Possible values
home/pager/alert Status of the potential-free relay contact (sends on when the Pager is triggered) on, off
home/pager/alert/heartbeat Heartbeat for troubleshooting on
home/pager/alert/status Timebased status for MQTTDash dashboard on, off

LICENSE

PagerAlert and all individual scripts are under the BSD 3-Clause license unless explicitly noted otherwise. Please refer to the LICENSE