updating 2 variables in one url
Posted: Tuesday 31 January 2017 16:28
Hi all,
I want to update 2 variables but I only can put the 2 vars into 1 url. How do I make domoticz understand this?
these are the 2 url's:
/json.htm?type=command¶m=updateuservariable&vname=lat&vtype=2&vvalue=%LAT
/json.htm?type=command¶m=updateuservariable&vname=long&vtype=2&vvalue=%LONG
Just putting the 2 together with %2b or with & or with + results only in the update of the first var...
I want to update 2 variables but I only can put the 2 vars into 1 url. How do I make domoticz understand this?
these are the 2 url's:
/json.htm?type=command¶m=updateuservariable&vname=lat&vtype=2&vvalue=%LAT
/json.htm?type=command¶m=updateuservariable&vname=long&vtype=2&vvalue=%LONG
Just putting the 2 together with %2b or with & or with + results only in the update of the first var...