mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
scripts: update mqtt topics
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
82fd80b02d
commit
128cc2ced2
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
mosquitto_pub -r -t kitchen/frontdoor/status -m "locked"
|
||||
mosquitto_pub -r -t kitchen/doorlock/frontdoor/lockstate -m "locked"
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
mosquitto_pub -r -t kitchen/frontdoor/status -m "present"
|
||||
mosquitto_pub -r -t kitchen/doorlock/frontdoor/lockstate -m "present"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
mosquitto_pub -r -t kitchen/frontdoor/status -m "unlocked"
|
||||
mosquitto_pub -r -t kitchen/doorlock/frontdoor/lockstate -m "unlocked"
|
||||
|
||||
# Wakeup cashdesk
|
||||
wol -i 172.23.2.44 00:0b:ca:94:13:f1
|
||||
|
Loading…
Reference in New Issue
Block a user