Domoticz Plug-In for Tasker

Moderator: leecollings

User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Domoticz Plug-In for Tasker

Post by galadril »

Hi everybody,

I've released a Domoticz Plug-In app for Tasker, download it now from the app store:
https://play.google.com/store/apps/deta ... icz.tasker


and please help us translate!
https://crowdin.com/project/domoticz-for-android

This plugin app also works with Locale, MacroDroid and Automate Android apps!!



Features:
Spoiler: show
This app has support for the next Tasker Actions:
- Toggle a Switch, selector, group or scene
- Send a notification
- Write a log
- Toggle an Event
- Set a value of user variables
- Call any generic Domoticz endpoint

Next the the actions, we have an websocket based Input Event:
- Get an Event in Tasker when a specific state is reached for a switch.

Screenshots:
(Of current version.. so they can change)
Spoiler: show
Image
Image
Image
Image
Image
Image
Image
Image

Let me know what you think!
Last edited by galadril on Thursday 21 May 2020 8:59, edited 8 times in total.
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

I also finished another Tasker Action to send a Domoticz Notification!

Some samples
Spoiler: show
Image
Image
Image
Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

And ive added an action for setting the state of an event in domoticz:
Spoiler: show
Image

Image

Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

Also added the action to write a log to domoticz from tasker
Spoiler: show
Image
Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Domoticz Plug-In for Tasker

Post by Derik »

Great JOB!!!
Looking nice

Love to test if you need someone..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
wimmme
Posts: 20
Joined: Sunday 11 October 2015 23:38
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by wimmme »

Nice, following this!
I am already using domoticz to control tasker, controlling domoticz from tasker would close the loop! :D
RogerSch
Posts: 51
Joined: Saturday 04 April 2015 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by RogerSch »

Wow great.
As a long time Tasker user (although very simple tasks at the moment) I nowneed to think of a scenario where I would to use this functionality. :D
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz Plug-In for Tasker

Post by Brutus »

Looking good!
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

Also implemented the possibility to set a user variabele
Spoiler: show
Image
Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Luigi87
Posts: 79
Joined: Thursday 17 March 2016 14:58
Target OS: Linux
Domoticz version:
Location: Pijnacker, the Netherlands
Contact:

Re: Domoticz Plug-In for Tasker

Post by Luigi87 »

Wow nice.
I use tasker for a long time already.

This make it easy to add a domoticz switch to something. Nice!
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Domoticz Plug-In for Tasker

Post by jake »

RogerSch wrote:Wow great.
As a long time Tasker user (although very simple tasks at the moment) I nowneed to think of a scenario where I would to use this functionality. :D
Well, what about this one: as soon as your phone disconnects from your car and your phone is connected to the cell around your house, it is dark etc: turn on the light besides the front door of the house!

I tried to get this scenario to work for a long time. However tasker doesn't react on the Bluetooth disconnect when the phone is in my pocket, I guess some kind of sleep mode issue.
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

jake wrote: Sunday 17 May 2020 20:19 I tried to get this scenario to work for a long time. However tasker doesn't react on the Bluetooth disconnect when the phone is in my pocket, I guess some kind of sleep mode issue.
The domoticz premium android app has also bluetooth features..
You could set a switch on or off depending on your bluetooth connection.

For example I have a selector switch with my Name defined.. with states: Work, Home, Shopping, Swimming, Driving, Jogging

Work/Shopping/Swimming/Home are set on my selector based on Geofencing.
Driving and jogging are set based on the bluetooth connections of my car or headsed
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

Another update, I've also implemented an generic json endpoint option..
if you want some specific call to be done via api.. for example vacuum the database every night

I think this covers all the possible Actions that you would / could do with Tasker/Domoticz.
Im now going to look at the Events / Input.. see if we can implement a listeren for specific switches via Websockets..

Spoiler: show
Image

Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
Geitje
Posts: 170
Joined: Monday 22 January 2018 21:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by Geitje »

Nice one! Have been looking for this couple of times...
Domoticz beta, on Raspberry Pi 3B, Raspian Buster
Zwave, Zigate, RFlink etc.
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

Also got a first version with websockets realtime switch changes as Tasker input
Spoiler: show
Image
Image
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
User avatar
galadril
Posts: 828
Joined: Monday 07 September 2015 10:32
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Domoticz Plug-In for Tasker

Post by galadril »

A first release is available in the Play Store
https://play.google.com/store/apps/deta ... icz.tasker
Solar panels of Ginlong, Omnik-Solar, Transenergy or Solarman?? Try my Android app:
https://play.google.com/store/apps/deta ... ongmonitor
eserero
Posts: 17
Joined: Monday 25 June 2018 23:41
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by eserero »

Hi, can i use this plugin to notify tasker to launch an app in android?
I would like to click a physical button connected to domoticz and this should open a camera app on my andoid tablet.
Geitje
Posts: 170
Joined: Monday 22 January 2018 21:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by Geitje »

Best may be to try it for yourself, and find out if the app suits your needs. If not, you can apply for a refund within 48 hours after app purchase (google play store). If so, please post your requests/comments here so developers can see what you need.
Domoticz beta, on Raspberry Pi 3B, Raspian Buster
Zwave, Zigate, RFlink etc.
eserero
Posts: 17
Joined: Monday 25 June 2018 23:41
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by eserero »

Just looking at my comment, maybe it wast clear:
I would like to send a message from domoticz server to tasker running on android - so that I can link an action in domoticz (button press) to an activity in tasker. this can be by triggering a URL or some other action.
Surely its a reasonable question before I buy - instead of going through the trouble of getting a refund...
wimmme
Posts: 20
Joined: Sunday 11 October 2015 23:38
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz Plug-In for Tasker

Post by wimmme »

eserero wrote: Saturday 23 May 2020 18:36 Hi, can i use this plugin to notify tasker to launch an app in android?
I would like to click a physical button connected to domoticz and this should open a camera app on my andoid tablet.
You can do this with Tasker and Autoremote, I do this already.
Bought this plugin, and it should be able to do the same. Domoticz event triggers tasker via the Domoticz app and the plug-in. Haven't tried it yet however
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests