At the moment I am trying to use this app with tasker so that when motion is detected, an android tablet unlocks. When there is no motion, the android tablet locks.
This app has a lot of potential but I am struggling with the tasker configuration.
I am subscribed to a topic: home/input/livingpir_detection
This has 2 messages:
"detected" if motion has been detected
"clear" if no motion has been detected for 5 minutes.
I was wanting to make it so if the message is received as "detected", the screen unlocks. If the message is "clear", the screen locks through tasker.
In the plugin for the "Clear" event I have set up, it is as follows:
topic: home/input/livingpir_detection
varmessage: clear
It would appear that varmqtttopic is compulsory. So I have tried putting in "clear" into this box.
In the plugin for the "detected" event I have set up, it is as follows:
topic: home/input/livingpir_detection
varmessage: detected
varmqtttopic: detected
Unfortunately both tasker profiles trigger, when any message is received, not explicitly the one I put into varmessage. I suspect the varmqtttopic is causing issues, or I am doing something completely wrong here.
Can someone point me in the right direction? Thanks
At the moment I am trying to use this app with tasker so that when motion is detected, an android tablet unlocks. When there is no motion, the android tablet locks.
This app has a lot of potential but I am struggling with the tasker configuration.
I am subscribed to a topic: home/input/livingpir_detection
This has 2 messages:
"detected" if motion has been detected
"clear" if no motion has been detected for 5 minutes.
I was wanting to make it so if the message is received as "detected", the screen unlocks. If the message is "clear", the screen locks through tasker.
In the plugin for the "Clear" event I have set up, it is as follows:
topic: home/input/livingpir_detection
varmessage: clear
It would appear that varmqtttopic is compulsory. So I have tried putting in "clear" into this box.
In the plugin for the "detected" event I have set up, it is as follows:
topic: home/input/livingpir_detection
varmessage: detected
varmqtttopic: detected
Unfortunately both tasker profiles trigger, when any message is received, not explicitly the one I put into varmessage. I suspect the varmqtttopic is causing issues, or I am doing something completely wrong here.
Can someone point me in the right direction? Thanks