-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Varmqtttopic assistance with tasker #84
Comments
I believe So for example if you set I don't use |
Can you explain pls? When setting up event, if leaving |
Yes, you need to put some Tasker variable names in the Here's how MQTT Client and Tasker are generally set up on my device: In MQTT Client:
In Tasker:
|
oh, awesome, thx for such a detailed answer! i've used instructions from here, so i thought, that it's neccessary using |
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
The text was updated successfully, but these errors were encountered: