Jump to content

Mobilinc/Tasker - Program or Variable Status


Bxsteez

Recommended Posts

Posted

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?

Posted

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.

Archived

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

×
×
  • Create New...