mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-17 20:49:11 +01:00
020ac1b38b
Only publish door status topic, rest will be done by the opennhab server. Username, password and mqtt's hostname are stored in user's local .config. Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
9 lines
199 B
Bash
Executable File
9 lines
199 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mosquitto_pub -t kitchen/frontdoor/status -m "unlocked"
|
|
|
|
# Wakeup cashdesk
|
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
|
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|