UPnP/IGD integration of UniFi Dream Machine

Since a couple of days some sensors of the UPnP/IGD integration of the UniFi Dream Machine are gone. E.g. sent and received kbit/s. Anyone else having this issue?

same issue here with an xfinity arris modem, no kB/sec and multiple WAN connected sensors

+1
Happened to me after I deleted them by mistake. I cannot retrieve the missing entities since.
The device is TP link Deco, the missing entities are the bits/s
It took place after the 2021.10.0 release update

Cannot return a removed entity

This issue was resolved in 2021.10.4 - https://github.com/home-assistant/core/pull/57436

Unfortunately the values now being returned are an order of thousands incorrect - looks like some fault taking the value and converting it to kilobits per seconds.

1 Like

Looks like the unrealistic values issue is reported now https://github.com/home-assistant/core/issues/57549

rumor it is now fixed in 10.5

It’s fixed now, was merged in last release

1 Like

I’m not sure it’s fixed, or I may do something wrong?

I have installed a new router, a UniFi Dream Machine. With my old Netgear router I was able to monitor WAN performance in HA by using the UPnP/IGD integration, but with Dream Machine, the integration does not find my router. I have enabled UPnP in Dream Machine.

The UniFi Network integration works fine, but does not find WAN data.

Any suggestions?

This problem persists in Home Assistant OS 12.1, core-2024.3.1. Unifi Switch 16 POE. Running network 8.0.28. Debug logs indicate that data arrives in Home Assistant yet is somehow not translated and made accessible in the UI.

2024-03-16 10:16:55.490 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalBytesReceived, args: {}, response_args: {'NewTotalBytesReceived': 4294967295}
2024-03-16 10:17:25.473 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalPacketsReceived, args: {}, response_args: {'NewTotalPacketsReceived': 27374424}
2024-03-16 10:17:25.476 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalBytesSent, args: {}, response_args: {'NewTotalBytesSent': 4294967295}
2024-03-16 10:17:25.480 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalBytesReceived, args: {}, response_args: {'NewTotalBytesReceived': 4294967295}
2024-03-16 10:17:25.481 DEBUG (MainThread) [async_upnp_client.client] Called action: GetExternalIPAddress, args: {}, response_args: {'NewExternalIPAddress': 'x.x.x.x'}
2024-03-16 10:17:25.485 DEBUG (MainThread) [async_upnp_client.client] Called action: GetStatusInfo, args: {}, response_args: {'NewConnectionStatus': 'Connected', 'NewLastConnectionError': 'ERROR_NONE', 'NewUptime': 117436}
2024-03-16 10:17:25.486 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalPacketsSent, args: {}, response_args: {'NewTotalPacketsSent': 13401905}
âžś  config

seems this is fixed after all, we need to select the networks in the Unifi software for which Upnp is enabled.

I added to the issue you raised.

be sure to have these settings in your Unifi firmware, and check the appropriate boxes: