1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00

Send lock/unlock messages using retain flag

This commit is contained in:
Thomas Basler 2018-05-21 13:10:28 +02:00 committed by Ralf Ramsauer
parent 84d61c04db
commit 8058fda326
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
mosquitto_pub -t kitchen/frontdoor/status -m "locked"
mosquitto_pub -r -t kitchen/frontdoor/status -m "locked"

View File

@ -1,6 +1,6 @@
#!/bin/bash
mosquitto_pub -t kitchen/frontdoor/status -m "unlocked"
mosquitto_pub -r -t kitchen/frontdoor/status -m "unlocked"
# Wakeup cashdesk
wol -i 172.23.2.44 00:0b:ca:94:13:f1