How ethernet gateway code can check if is connected with controller?
- 
					
					
					
					
Having arduino ethernet gateway I need to send messages with senors values to controller (Home assistant requirement to auto configure sensors).
With serial gateway simple sending in first iteration of loop:void loop() { if ( ! inital_msgs_sent ) { inputs.sendStates(); outputs.sendStates(); inital_msgs_sent = true;worked.
But with ethernet controller loop starts when HA is not yet connected to GW so sent messages do not reach controller

So, how should I fix it?- Is any way to know if controller is connected ?
 - Is any way to know if controller requested presentation?
 - Is any way to know if send message really reached controller?
 
TIA, regards,
 - 
					
					
					
					
@matkor said in How ethernet gateway code can check if is connected with controller?:
- Is any way to know if controller is connected ?
 - Is any way to know if send message really reached controller?
 
Seems positive send() result means message reached controller when executed on gateway?
 - 
					
					
					
					
Answering one of my own questions.
On ethernet gateway send() may return true when there is no connected controller, even when there is no ethernet cable plugged in.