Trigger tasker from domoticz

Moderator: leecollings

Post Reply
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Trigger tasker from domoticz

Post 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
DutchHans
Posts: 229
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Trigger tasker from domoticz

Post by DutchHans »

Hi, i think autoremote, a plugin for Tasker, can do the trick for you...
Hope this helps.
Cheers, Hans
wssmith
Posts: 4
Joined: Wednesday 30 December 2015 19:24
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Trigger tasker from domoticz

Post 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.
MrGee
Posts: 10
Joined: Thursday 04 September 2014 16:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Location: NL
Contact:

Re: Trigger tasker from domoticz

Post 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
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: Trigger tasker from domoticz

Post 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
MrGee
Posts: 10
Joined: Thursday 04 September 2014 16:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Location: NL
Contact:

Re: Trigger tasker from domoticz

Post 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
Raspberry Piet
Posts: 158
Joined: Saturday 11 January 2014 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: Trigger tasker from domoticz

Post 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.
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Trigger tasker from domoticz

Post by galadril »

old topic, but im looking into Tasker integrations with a plugin app
https://www.domoticz.com/forum/viewtopi ... 37&t=32696
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests