When the Fritz!Box 6660 cable connection is forcibly disconnected by the provider, Zigbee2MQTT reports the error ETIMEDOUT / z2m: Adapter disconnected, stopping
It would then restart:
and of course, it can’t reach the IP/port. “EHOSTUNREACH”
This is attempted 9 times - for 30 seconds each
and then the ZigBee2MQTT restart is stopped.
PROBLEM: The Fritz!Box takes longer than 30 seconds to start <<<
Z2M should already have a built-in watchdog which runs 1min, 5min, 15min, 30min & 60min after disconnection.
Go to Settings > Apps > Zigbee2MQTT > Configuration tab & toggle the “Show unused optional configuration options” switch. You can set custom timings, something like 1,3,5,10,15 should do it.
If that still doesn’t work, let me know & I’ll tell you how to get around it using an automation.
Just to throw a “really dumb” solution into the mix - for less than $20 you could probably buy a small switch (4 or 8 port) and throw it between Z2M and your router.
That would probably stop the cable company from from tripping your Z2M box off the network.
Yes - you’re right! Thank you!
Good idea! not “dumb” !!
A 5-port PoE switch is located 1 meter away from me. This means I no longer have a device directly connected to the Fritzbox and it also provides power to the SMLIGHT SLZB-MR4U coordinator.
That’s great!