diff --git a/share/doorlockd/scripts/post_lock b/share/doorlockd/scripts/post_lock index bcb1e3e..bb64fd4 100755 --- a/share/doorlockd/scripts/post_lock +++ b/share/doorlockd/scripts/post_lock @@ -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" diff --git a/share/doorlockd/scripts/post_present b/share/doorlockd/scripts/post_present index 4ca5f64..408eb20 100755 --- a/share/doorlockd/scripts/post_present +++ b/share/doorlockd/scripts/post_present @@ -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" diff --git a/share/doorlockd/scripts/post_unlock b/share/doorlockd/scripts/post_unlock index ac2af3c..a48199b 100755 --- a/share/doorlockd/scripts/post_unlock +++ b/share/doorlockd/scripts/post_unlock @@ -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