Page 1 of 1

I will send text from domoticz to a lcd2004 on an espeasy board

Posted: Sunday 29 October 2017 16:41
by adval40
I will send text from domoticz to a lcd2004 on an espeasy board

commandArray = {}

commandArray['OpenURL'] = '192.168.0.144/control?cmd=lcd,3,1,ditiseentest'
print ('test ')
return commandArray


it works but in the logfile i see

2017-10-28 19:03:30.280 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.237 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.311 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.382 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.694 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.925 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest

whats wrong in my lua script
thanks in advance
Ad

Re: I will send text from domoticz to a lcd2004 on an espeasy board

Posted: Friday 19 January 2018 20:08
by marin849
I have the same issue.
The ESP Easy receives the command and print what I want on the LCD but the Event System thinks the "openurl" command fail.
Perhaps because the ESP Easy only returns an empty page?

Re: I will send text from domoticz to a lcd2004 on an espeasy board

Posted: Saturday 20 January 2018 15:45
by Qcvictor
same thing for me, never found answer.... but it's working

Re: I will send text from domoticz to a lcd2004 on an espeasy board

Posted: Tuesday 21 May 2019 15:36
by yo3hjv
adval40 wrote: Sunday 29 October 2017 16:41 I will send text from domoticz to a lcd2004 on an espeasy board

commandArray = {}

commandArray['OpenURL'] = '192.168.0.144/control?cmd=lcd,3,1,ditiseentest'
print ('test ')
return commandArray


it works but in the logfile i see

2017-10-28 19:03:30.280 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.237 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.311 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.382 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.694 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest
2017-10-28 19:03:31.925 Error: Error opening url: 192.168.0.144/control?cmd=lcd,3,1,ditiseentest

whats wrong in my lua script
thanks in advance
Ad
Try to use "http://192.168.0.144/control?cmd=lcd,3,1,ditiseentest"