Jump to content

Tasker to run an ISY program through mobilinc?


Blackbird

Recommended Posts

Ok here is what I want to do.  I have a program for the ISY that will send an email notification whenever the  front or back door is open but if im home I don't want it to notify me.  So I created a Tasker profile that if Im not near my cell tower then activate the door notification program.  But how do I prevent the ISY from also independently running that program when I am home and open the door?

 

Thanks

Link to comment
Make the Tasker profile run a program to set a variable to true as the entry task, and false as the exit task, then use that variable in your door notification trigger.

 

Or, simply, create a program with no conditions or actions.  Tasker would simply run the program THEN path as an entry task and run the ELSE path as an exit task, and you can use program status (TRUE or FALSE) as a program or folder condition.  No variables required. 

Link to comment

Or, simply, create a program with no conditions or actions.  Tasker would simply run the program THEN path as an entry task and run the ELSE path as an exit task, and you can use program status (TRUE or FALSE) as a program or folder condition.  No variables required. 

Any chance you can show me an example because I don't quite get it.

Link to comment

create the most simple program possible:

 

if

nothing

then

nothing

else

nothing

 

In tasker create a couple of tasks.  One will be the entry task for the profile.  The other will be the exit task for the profile.  The entry task will be, from the mobilinc add on, to run the simple program (then path).  The exit task will be to run the simple program (else path).

 

Then, in mobilinc, create a profile.  The profile will be active based on conditions you choose to determine when you are home.  The conditions can be GPS coordinates, cell towers, connected to home wifi, etc....When the profile is active, run the entry task.  When the program becomes inactive, run the exit task.   

 

Now, when you are home, the simple program will be true, because it last ran the THEN path.  When you are away, the simple program will be FALSE, because you last ran the ELSE path.

 

Use the status of the simple program as a program condition:

 

if

simple program is false

and

(

back door is opened

or

front door is opened

)

then

notify me

else

nothing

Link to comment
does the ISY retain the last status after a reboot?

 

That is a great question/point.  Unfortunately, the answer is NO.  If this is important, variables might be the best/only option, but you would have to supplement your approach by changing the variable initial value each time you come and go.

Link to comment

There is an writeup by MWareman on the wiki for using the rest interface directly, but that should help get you going. If not, let us know what part of the setup you have issues with.

 

Sent from my Nexus 7 using Tapatalk

 

Here is the writeup: http://wiki.universal-devices.com/index.php?title=ISY-99i_Series_INSTEON:Networking:Tasker

 

There are examples for running programs (If, Then or Else), setting variables, triggering network resources, scenes etc.

 

Michael.

Link to comment

Thank you for your help. I still have lots to learn as I didnt fully understand the replies but I just found a very simple answer. I leave my one single program on isy to send a notification when my door is open. Then I set a profile on tasker with a location of 50 meters from my house. My task is the mobilinc plugin and within mobilinc I select program then my door open notification program and say disable. My exit task is simply re enable the program. So far works perfect. I did a simple test that it is activated when wifi connected so I could watch my isy. Everytime I connected to the wifi my program disabled in the isy. When I shut off wifi the program enabled instantly on the isy.

Link to comment

Have you tried the RESTask for Tasker? Just curious if it helps with that issue.

Did try it once and had several errors. I was working on an autovoice, text file, REST to turn lights on and off. It just wasn't working for the secure https. Did work for the http but I didn't have the patience to trouble shoot.

Maybe I need to give it another shot ;)

Link to comment

Did try it once and had several errors. I was working on an autovoice, text file, REST to turn lights on and off. It just wasn't working for the secure https. Did work for the http but I didn't have the patience to trouble shoot.

Maybe I need to give it another shot ;)

Thanks, it's on my list of things to try, but haven't had time.
Link to comment

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.9k
    • Total Posts
      370.2k
×
×
  • Create New...