home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.7k stars 30.45k forks source link

UPnP/IGD integration: Ubee EVW3226 reports false upload and download speeds #107122

Closed lazabalint closed 6 months ago

lazabalint commented 9 months ago

The problem

The UPnP/IGD integration successfully identified my Ubee EVW3226 gateway, a widely used hardware distributed by Vodafone (formerly UPC). However, the Ubee EVW3226 consistently reports inaccurate upload and download speeds, as evidenced by the provided image:

image

Considering that this should reflect all bandwidth usage (?) in my home, the reported speeds appear implausible, given that every device in my household relies on this gateway.

It's crucial to note that this issue is not specific to the 2024.1 release, as I have identified the problem earlier (never worked properly). Additionally, it is not confined to the Home Assistant OS, as I have observed similar behavior in the Container environment.

What version of Home Assistant Core has the issue?

core-2024.1.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

UPnP/IGD

Link to integration documentation on our website

https://www.home-assistant.io/integrations/upnp/

Diagnostics information

UPNP_home-assistant_upnp_2024-01-04T12-12-46.936Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 9 months ago

Hey there @stevenlooman, mind taking a look at this issue as it has been labeled with an integration (upnp) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `upnp` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign upnp` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


upnp documentation upnp source (message by IssueLinks)

StevenLooman commented 9 months ago

Hi @lazabalint, thank you for this issue. I had a Ubee router, from the same Liberty Global company (then called Ziggo in The Netherlands, today VodafoneZiggo), before. For me it also never reflected my own internet use, but the router seemed to report some other channel. Perhaps the VoIP/SIP interface (which we didn't use), or the "Global hotspot" interface, or some other hidden interface?

In other words, the router decides what it reports. If its numbers are off/invalid/from something else, the upnp integration cannot do anything about this. It is not possible to choose a different interface via UPnP. Perhaps there is some setting in the router itself, but I doubt it.

If you do think the router actually reports the proper values, you can enable debugging logging. You can do so by going to Settings --> Devices & services --> UPnP/IGD --> Enable debug logging. This will show the actual values received from the router in the home assistant logs, together with the timestamps of these values. You can then, manually, keep track and compare these in home assistant. Although I doubt you'll see differences, please do report it if you see any! Mind you that you the logging will probably grow fast, depending on the number of UPnP devices (not only routers, also other devices such as TVs) you have on your network.

Otherwise, you can file a report at Ubee and/or Vodafone. Perhaps these companies will actually do something, but YMMV.

Please let me know if you're going to monitor the debug logging. Otherwise I'll close this issue as there is not much to do regarding the upnp component.

lazabalint commented 9 months ago

Dear @StevenLooman, thank you for your prompt response. I'll attempt to file a report with Ubee and Vodafone if necessary. I'll also explore hidden interfaces and seek additional reports.

I've already enabled debug logging, and the attached log is derived from those results (see above). Do you require more logs?

Upon interpreting the log, it appears that you are correct; it is transmitting improper values.

StevenLooman commented 9 months ago

I must have missed the attached logs, sorry. (Did so too for another issue.) Thank you for providing these up front. I'll investigate these soon and get back to you.

StevenLooman commented 9 months ago

The logs show that the Ubee does respond with values, such as:

2024-01-04 02:15:20.302 DEBUG (MainThread) [async_upnp_client.client] Called action: GetTotalBytesReceived, args: {}, response_args: {'NewTotalBytesReceived': 3466244440}

I am unable to determine whether these values are correct for your network, of course.

There is probably not much that I can do regarding this. Please - if you feel like it! - do check if there are any settings in the Ubee webinterface regarding this, and file a bug report at Ubee and/or Vodafone if needed.

issue-triage-workflows[bot] commented 6 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.