From 128cc2ced237bd527d970a6c6a878f7b294a5fb9 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sat, 6 Oct 2018 22:19:04 +0200 Subject: [PATCH] scripts: update mqtt topics Signed-off-by: Ralf Ramsauer --- share/doorlockd/scripts/post_lock | 2 +- share/doorlockd/scripts/post_present | 2 +- share/doorlockd/scripts/post_unlock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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