access to calling URL

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
jonluk
Posts: 8
Joined: Friday 10 February 2017 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

access to calling URL

Post by jonluk »

Hi there,
Just started using dzvents, seems great so far.
I'm calling a virtual switch from ifttt via a json url.
Is there a way to get the actual url called within a dzvents script.

flow would be:
ifttt -> domoticz url -> -> device switched on -> dzvents script
is there anyway for the dzvents script to actually see the domoticz url called by ifttt ?

domoticz version running : 3.8798
jonluk
Posts: 8
Joined: Friday 10 February 2017 9:56
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: access to calling URL

Post by jonluk »

I've done it a different way.
Using ifttt to update a user variable I can pass the name of the light to turn on via google assistant.
dvents now just needs to take the contents on the user variable and turn on or off the associated light.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest