IFTTT and Webhooks
Posted: Monday 01 July 2024 13:34
I am trying to use IFTTT to send a webhook request to set user variables (forecast high and low temperatures) within Domoticz and thus trigger an event. The request format is:
http://IFTTT:password@serverURL:port/json.htm?type=command¶m=updateuservariable&vname=Narboroughhigh&vtype=0&vvalue=18
My problem is that, although the IFTTT applet runs correctly and sends the request to Domoticz, it doesn’t set the variable but just generates an error message: “Error: User: IFTTT tried to update a uservariable!”
However, if I open the link manually from within IFTTT or even just a browser, it sets the variable without a problem!
The Domoticz user IFTTT has “User” rights and “sharing” set to ON. It successfully uses other webhooks to set the state of virtual switches but cannot seem to change a user variable. Is there another permission or something else that I have missed?
Any suggestions would be most welcome! Thanks
http://IFTTT:password@serverURL:port/json.htm?type=command¶m=updateuservariable&vname=Narboroughhigh&vtype=0&vvalue=18
My problem is that, although the IFTTT applet runs correctly and sends the request to Domoticz, it doesn’t set the variable but just generates an error message: “Error: User: IFTTT tried to update a uservariable!”
However, if I open the link manually from within IFTTT or even just a browser, it sets the variable without a problem!
The Domoticz user IFTTT has “User” rights and “sharing” set to ON. It successfully uses other webhooks to set the state of virtual switches but cannot seem to change a user variable. Is there another permission or something else that I have missed?
Any suggestions would be most welcome! Thanks