alarm-handlers/armed.d/10_mqtt

3 lines
80 B
Bash
Executable file

#!/bin/bash
mqtt-simple -r -h mqtt.bitlair.nl -p 'bitlair/alarm' -m "armed $2"