Jump to content

Mobilinc/Tasker - Program or Variable Status


Bxsteez

Recommended Posts

Is it possible to tie into the variables within the ISY or tie into whether a program has been run? I'm trying to create a task in tasker that checks to see if certain things are active. Is that possible or maybe a feature can be added?

Link to comment
Share on other sites

I use Tasker with Autoremote - and then push items I care about via network resources from ISY. You can have a network resource trigger from a variable change - or at any point in a program to send specific data you want to track on your android device.

 

The Network Resource looks like this (for my Patio Door sensor):

 

https://autoremotejoaomgcd.appspot.com/sendmessage?key={APIKEY}&message=SETVAR ISYOtherPatioDoor=:=1

and

https://autoremotejoaomgcd.appspot.com/sendmessage?key={APIKEY}&message=SETVAR ISYOtherPatioDoor=:=0

 

for door open and close.

 

I have an 'AutoRemote-Set-Var' profile on Tasker ('Event' behaviour, message filter 'SETVAR'), with the task ('AR-SetVar') being a simple 'Variable Set' name '%%arpar2' To '%arcomm'.

 

When the network resource is called - Tasker creates and sets the variable (in this case 'ISYOtherPatioDoor') to the value (0 or 1).

 

Your tasks in Tasker can now be triggered on the local variables changing. It creates a beautiful push based system that does not need any polling.

 

Michael.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      367.8k
×
×
  • Create New...