My Nextion display interferes with the WIFI of the pretty close mounted Wemos D1 - I don't know why, but its a fact.
If I try the following:
Code: Select all
On WiFi#Connected Do
Timerset,1,60
EndOn
On Rules#Timer=1 Do
SendTo 63,'event,NextionInit'
EndOn
If I try
Code: Select all
on WiFi#Connected do
Timerset,1,5
EndOn
On Rules#Timer=1 Do
SendToHTTP <ipofthedevice>,80,'/control?cmd=event,NextionInit'
EndOn
I figured out, that it takes sometimes minutes for the booting Nextion device to get known to the other devices in the network. So I suppose, that for sending the event using p2p the booting device has missing informations or whatever. Is there a way to actively scan / search the udp network for another device using rules?