Help with Lua
-
Hi!
I have a 433mhz temp sensor in domoticz there i want to send value to a Nextion display with espeasy. Here is my Lua scriptlocal devicename = 'Ute'
commandArray = {}if devicechanged[devicename] then
commandArray['OpenURL']= 'http://192.168.1.115/control?cmd=Nextion,page2,t2.txt='..otherdevices_svalues[devicename]..""
end
return commandArrayIn domoticz log is everything fine but it dont shows up in Nextion.
Any ideas?
-
If i put http://192.168.1.115/control?cmd=Nextion,page2.t2.txt="12"
in my webexplorer it works
-
@dragon
Look at characters on end of your command.
You have got two times " instead of two times '
-