PiAlarmAdapter

Raspberry adapter for alarm sensors to MQTT broker

MIT License

Downloads
25
Stars
0
Committers
2

PiAlarmAdapter

Application to manage contact sensors and send messages with state change to an MQTT Broker.

Install

Prerequisite

E' necessario che sul raspberry siano installata la libreria RPi.GPIO o la pigpio

From PIP

You can use pip directly through the command:

pip install pi_alarm_adapter

Settings

Environment variables

Variable Default Info
LOG_LEVEL INFO Optional. Possible values: DEBUG, INFO, WARNING, ERROR. If not specified, the default is INFO

When running the application for the first time, you are prompted for the configurations that will later be saved in the .PiAlarmAdapter folder inside the user's home folder

ToDo List

  • move configuration from environment variables to a yaml file
  • Add support for NFC readers