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:
parent
84d61c04db
commit
8058fda326
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
mosquitto_pub -t kitchen/frontdoor/status -m "locked"
|
||||
mosquitto_pub -r -t kitchen/frontdoor/status -m "locked"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user