(Raspberry Pi3 on the latest Beta)
I am trying to update a uservariable (according to the wiki) with the API command from a LUA script:
Code: Select all
os.execute('http://xxx:[email protected]:8080/json.htm?type=command¶m=updateuservariable&vname=RainPrediction&vtype=2&vvalue=25')
Am I missing something?{
"status" : "OK",
"title" : "UpdateUserVariable"
}
Please help.
Regards, Hans