After waiting a long time (nearly 2 years!) I upgraded - clean reinstall then reloading settings- Domoticz (running on a Armbian Buster Sunveil R69 TV Box).
Everything went fine, except for one LUA internal script. That script updates an LCD2004 panel associated with an ESP2866 Esp Easy., using a CommandArray with 5 OpenURL calls. The first one clearing the panel, the next four writing the four text lines.
With my old Domoticz version, successives OpenURL calls were synchronous and result was deterministic, but with last stable build, they looks like asynchronous : so the CLEAR command sent to the panel is sometimes executed first (with expected result) but most of the time it's not and lines written before the CLEAR are.. cleared!
Code: Select all
commandArray[1]={['OpenURL'] = baseurlESPEasy..'CMD,clear' }
commandArray[#commandArray + 1]={['OpenURL'] = baseurlESPEasy..',1,1,"'..space..space..jour..'"'}
commandArray[#commandArray + 1]={['OpenURL'] = baseurlESPEasy..',2,1,"'..space..space..space..'DNS'..space..space..space..space..space..space..twopoints..space..otherdevices["Dns Resolution"]..'"'}
commandArray[#commandArray + 1]={['OpenURL'] = baseurlESPEasy..',3,1,"'..space..space..space..'Internet'..space..twopoints..space..otherdevices["Google"]..'"'}
commandArray[#commandArray + 1]={['OpenURL'] = baseurlESPEasy..',4,1,"'..space..space..space..'Serveur'..space..space..twopoints..space..otherdevices["Tatooine"]..'"'}