Page 1 of 1

Json URL for Event?

Posted: Saturday 25 March 2017 20:18
by MatthijsD
Hello!

I now use Automate (Android) and JSON URL's to do some switch actions, but I would like to start an Event I made in Domoticz.
So, is it possible to call for an Event via an JSON URL?

Re: Json URL for Event?

Posted: Sunday 26 March 2017 1:17
by sion
I'm not sure if you can trigger an event directly from Json URL, however you could create a virtual switch, switch that with Json, and use it in the event / blocky.

Re: Json URL for Event?

Posted: Sunday 26 March 2017 9:32
by RayAmsterdam
Events always run. They perform the way you make them. Only switches, groups and scenes can be triggered.

Re: Json URL for Event?

Posted: Sunday 26 March 2017 13:10
by MatthijsD
sion wrote:I'm not sure if you can trigger an event directly from Json URL, however you could create a virtual switch, switch that with Json, and use it in the event / blocky.
Thanks, didn't think of that one.
Jut what I needed :)