Page 1 of 1

Trigger tasker from domoticz

Posted: Tuesday 19 January 2016 20:41
by olleman
Hello,

I'm trying to build a simple alarm system with a motion detector and a magnetic switch at my front door. I'm going to use the sec panel in domoticz and have an older smartphone constantly on at the door. I want to be reminded to disarm the alarm when I get home so via tasker in android I've found a way to start playing a sound and then stop it.

When I get home and the alarm is active the smartphone starts to "buzz" and as soon as I disarm the sound stops. All this can be done from tasker but the question is how to trigger these profiles in tasker. I've found that pushbullet has a nice plugin for tasker that let's me do this but then I will get notifications to my other devices as well and I don't want that.

So if anyone have a suggestion on how I can trigger a profile in tasker via some kind of function in domoticz I'm all ears.


,Olle

Re: Trigger tasker from domoticz

Posted: Tuesday 19 January 2016 21:30
by DutchHans
Hi, i think autoremote, a plugin for Tasker, can do the trick for you...
Hope this helps.
Cheers, Hans

Re: Trigger tasker from domoticz

Posted: Tuesday 19 January 2016 21:33
by wssmith
I use Pushover notifications to run Tasker tasks on other devices. Pushover on Android includes Tasker integration which allows you to send to a specific device.

Re: Trigger tasker from domoticz

Posted: Wednesday 20 January 2016 9:24
by MrGee
You could also use IFTTT > maker channel
Incidentally this also integrates with autoremote

An alternative would be to assign a static ip to your "door" phone and start playing with python/php scripts
doing this makes sure that everything is contained locally (e.g. on your own network) all other options require internet access.

Autoremote also has a "local" functionality but i've never used it

Re: Trigger tasker from domoticz

Posted: Wednesday 20 January 2016 13:15
by olleman
Thanks for all suggestions. I had a quick look at autoremote yesterday and it seems to be aqble to do exactly what I want without being to difficult to learn. PHP scrips etc is a bit out of my league...

About autoremote: It seems that domoticz have issues with these long https url's when used in events. Any ideas on how to use it in domoticz to send the "trigger" to tasker?

,Olle

Re: Trigger tasker from domoticz

Posted: Friday 26 February 2016 12:12
by MrGee
just thought i'd chime in, create a new script in domoticz/scripts/*
on a Raspberry my preferred language would be bash :
---------------------------------------
#!/bin/bash
curl "http://autoremotejoaomgcd.appspot.com/s ... e=<MESSAGE>"

---------------------------------------

Thats it, you can then call the script when needed

Re: Trigger tasker from domoticz

Posted: Friday 26 February 2016 13:14
by Raspberry Piet
MrGee wrote:just thought i'd chime in, create a new script in domoticz/scripts/*
on a Raspberry my preferred language would be bash :
---------------------------------------
#!/bin/bash
curl "http://autoremotejoaomgcd.appspot.com/s ... e=<MESSAGE>"

---------------------------------------

Thats it, you can then call the script when needed
Yes, i make use of same kind of AutoRemote bash script (to trigger Tasker and Eventghost) works very well.

Re: Trigger tasker from domoticz

Posted: Friday 15 May 2020 20:32
by galadril
old topic, but im looking into Tasker integrations with a plugin app
https://www.domoticz.com/forum/viewtopi ... 37&t=32696