I created a dzventsscript which I use to control a tft screen running on esp
I want to sent two http commands after each other:
- clear screen
- set text on screen
but as a matter of facts only the clear screen is executed
Code: Select all
return {
on = {
devices = {1665},
},
execute = function(dz)
dz.openURL({ url = "http://192.168.2.230/control?cmd=tftcmd,clear" })
dz.openURL({ url = "http://192.168.2.230/control?cmd=tft,txz,10,10,hallo" })
end
}