Two days ago HA stopped working, and I could not get it to work . So I decided to a new install and restore a backup. After that I saw that the AsusRouter integration has 1 problem, the main router gave an error. So I removed it and try to add it again, no luck. it just stays endlessly in this situtation:
2024-09-09 09:15:08.300 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:15:10.778 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:15:22.508 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:15:36.717 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:15:40.780 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:15:50.925 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:16:05.133 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:16:10.783 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:16:19.342 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:16:33.549 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:16:40.785 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:16:47.757 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:17:01.965 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:17:10.787 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:17:16.172 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:17:30.380 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:17:40.789 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:17:44.588 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:17:58.797 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:18:10.791 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:18:13.004 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:18:27.213 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:18:40.794 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:18:41.420 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:18:44.072 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=31 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=31, family=2, type=2, proto=0, laddr=('0.0.0.0', 45470)>
2024-09-09 09:18:55.632 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:19:09.837 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:19:10.796 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:19:24.044 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:19:38.252 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:19:39.708 ERROR (MainThread) [custom_components.asusrouter.config_flow] Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.2.1`: ('Cannot connect to `192.168.2.1` on port `80`. Failed in `_send_request` with error: `Server disconnected`', None)
2024-09-09 09:19:40.798 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:19:45.551 ERROR (MainThread) [custom_components.asusrouter.config_flow] Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `192.168.2.1`: ('Cannot connect to `192.168.2.1` on port `80`. Failed in `_send_request` with error: `Server disconnected`', None)
2024-09-09 09:19:52.460 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:19:56.447 ERROR (MainThread) [custom_components.asusrouter.config_flow] Unknown error of type '<class 'asusrouter.error.AsusRouterTimeoutError'>' during connection to `192.168.2.1`: ('Reached maximum allowed timeout for a single connection attempt: 425.0. The last error: ("Cannot connect to `192.168.2.1` on port `8443`. Failed in `_send_request` with error: `Cannot connect to host 192.168.2.1:8443 ssl:False [Connect call failed (\'192.168.2.1\', 8443)]`", None)', None)
2024-09-09 09:20:06.668 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:20:10.801 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:20:20.887 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:20:35.116 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:20:40.804 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:20:49.325 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:21:03.537 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:21:10.806 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:21:17.741 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:21:31.949 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:21:40.808 ERROR (MainThread) [async_upnp_client.ssdp] Received error: [Errno 101] Network unreachable, transport: <_SelectorDatagramTransport fd=93 read=polling write=<idle, bufsize=0>>, socket: <asyncio.TransportSocket fd=93, family=2, type=2, proto=0, laddr=('0.0.0.0', 56425)>
2024-09-09 09:21:46.156 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)
2024-09-09 09:21:53.206 DEBUG (MainThread) [asusrouter.connection] Initializing connection to 192.168.2.1
2024-09-09 09:21:53.206 DEBUG (MainThread) [asusrouter.connection] Requesting authorization
2024-09-09 09:21:53.213 DEBUG (MainThread) [asusrouter.connection] Connection failed with error: ("Cannot connect to `192.168.2.1` on port `8443`. Failed in `_send_request` with error: `Cannot connect to host 192.168.2.1:8443 ssl:False [Connect call failed ('192.168.2.1', 8443)]`", None)
2024-09-09 09:21:53.220 DEBUG (MainThread) [asusrouter.connection] Will try again in 120.0 seconds
2024-09-09 09:22:00.365 ERROR (MainThread) [custom_components.tuya_local.device] Failed to fetch device status for Asus router switch (local)`Preformatted text`
The router is pingable from the pi, and the normal webinterface works just fine.