Code: Select all
cmd = 'curl "'..domoticzBaseUrl..'/json.htm?type=command¶m=udevice&idx='..idxLux..'&nvalue=0&svalue='..tostring(round(weightedLux,0))..'"'
local update=assert(io.popen(cmd))
print('<b style="color:Red">Lux updated!?</b>')
print(cmd)
"LUA: curl "http://127.0.0.1:8084/json.htm?type=com ... svalue=412""
Where does the ¶ come from?
It looks like the '¶' is converted somehow, also related to bug 295.. viewtopic.php?f=6&t=3548