09-27-2023, 03:40 AM
(09-26-2023, 11:57 PM)admin Wrote: i think you can use esphome to visit one internet URL, if can't visited, then use relay ON/OFF for your router's power supply.
Thank you that is not the problem.
The problem is that if the board is initiated before it has a LAN connection (while the router is starting) then the esp32 does not connect, there's no webgui in the assigned IP.
The board is connected to the network, because it's connected via ethernet, so I can see it in my router webpage, but it doesn initiate or start the esp32 in esphome. There's no control.
If I restart the board, while it has a 'live' network connection, then it works fine.
It just doesn't work correctly when it's initiated without a network connection.