mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24: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
|
#!/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
|
#!/bin/bash
|
||||||
|
|
||||||
mosquitto_pub -t kitchen/frontdoor/status -m "unlocked"
|
mosquitto_pub -r -t kitchen/frontdoor/status -m "unlocked"
|
||||||
|
|
||||||
# Wakeup cashdesk
|
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user