Jump to content

Tasker to run an ISY program through mobilinc?


Blackbird

Recommended Posts

Posted

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

Posted
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. 

Posted

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.

Posted

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

Posted
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.

Posted

Hey oberkc, I have never used programs for status, does the ISY retain the last status after a reboot?

 

Sent from my Nexus 7 using Tapatalk

Thanks, and yes, always best to set the init values for important variables like that.

 

Sent from my Nexus 7 using Tapatalk

Posted

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.

Posted

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.

Posted

 

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.

 

That sounds like a great solution.  I like the simplicity of the approach.

Posted

My biggest challenge with using rest is the SSL certificate not working correctly on the Android phones. I always get the message where I have to click continue.

 

Frustrating.

Posted

My biggest challenge with using rest is the SSL certificate not working correctly on the Android phones. I always get the message where I have to click continue.

 

Frustrating.

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

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 ;)

Posted

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.
Guest
This topic is now closed to further replies.

×
×
  • Create New...