Skip to content

Varmqtttopic assistance with tasker #84

@DarkStorm99

Description

@DarkStorm99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions