Page 1 of 2

Domoticz Plug-In for Tasker

Posted: Friday 15 May 2020 10:31
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!

Re: Domoticz Plug-In for Tasker

Posted: Friday 15 May 2020 16:09
by galadril
I also finished another Tasker Action to send a Domoticz Notification!

Some samples
Spoiler: show
Image
Image
Image
Image

Re: Domoticz Plug-In for Tasker

Posted: Friday 15 May 2020 16:51
by galadril
And ive added an action for setting the state of an event in domoticz:
Spoiler: show
Image

Image

Image

Re: Domoticz Plug-In for Tasker

Posted: Friday 15 May 2020 20:29
by galadril
Also added the action to write a log to domoticz from tasker
Spoiler: show
Image
Image

Re: Domoticz Plug-In for Tasker

Posted: Friday 15 May 2020 23:10
by Derik
Great JOB!!!
Looking nice

Love to test if you need someone..

Re: Domoticz Plug-In for Tasker

Posted: Saturday 16 May 2020 0:09
by wimmme
Nice, following this!
I am already using domoticz to control tasker, controlling domoticz from tasker would close the loop! :D

Re: Domoticz Plug-In for Tasker

Posted: Saturday 16 May 2020 7:19
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

Re: Domoticz Plug-In for Tasker

Posted: Saturday 16 May 2020 18:45
by Brutus
Looking good!

Re: Domoticz Plug-In for Tasker

Posted: Saturday 16 May 2020 20:22
by galadril
Also implemented the possibility to set a user variabele
Spoiler: show
Image
Image

Re: Domoticz Plug-In for Tasker

Posted: Sunday 17 May 2020 17:18
by Luigi87
Wow nice.
I use tasker for a long time already.

This make it easy to add a domoticz switch to something. Nice!

Re: Domoticz Plug-In for Tasker

Posted: Sunday 17 May 2020 20:19
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.

Re: Domoticz Plug-In for Tasker

Posted: Sunday 17 May 2020 22:51
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

Re: Domoticz Plug-In for Tasker

Posted: Sunday 17 May 2020 23:31
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

Re: Domoticz Plug-In for Tasker

Posted: Monday 18 May 2020 11:10
by Geitje
Nice one! Have been looking for this couple of times...

Re: Domoticz Plug-In for Tasker

Posted: Monday 18 May 2020 17:03
by galadril
Also got a first version with websockets realtime switch changes as Tasker input
Spoiler: show
Image
Image

Re: Domoticz Plug-In for Tasker

Posted: Wednesday 20 May 2020 19:48
by galadril
A first release is available in the Play Store
https://play.google.com/store/apps/deta ... icz.tasker

Re: Domoticz Plug-In for Tasker

Posted: Saturday 23 May 2020 18:36
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.

Re: Domoticz Plug-In for Tasker

Posted: Saturday 23 May 2020 19:33
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.

Re: Domoticz Plug-In for Tasker

Posted: Saturday 23 May 2020 23:04
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...

Re: Domoticz Plug-In for Tasker

Posted: Saturday 23 May 2020 23:10
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