@Lokkye I tried to install and configure your UPnP IGD extension to get stats from my Freebox Pop server. But the scan doesn’t detect it. And in Freebox OS, UPnP IGD is enabled, but the described feature concerns creating redirections.
A quick search with AI seems to indicate that the Pop doesn’t actually publish these stats in this way, and that you actually need to go through the Freebox OS API.
Would this fit in your integration? Or would it be more of a separate integration?
@StephaneB Hi, yes I was also very disappointed by the UPnP IGD implementation in the Freebox pop , I think we should rather use the integration of @Will_71 because I’m not going to add Freebox-specific code to this integration. (@Will_71, I’m going to test your integration )
Thanks @StephaneB for the feedback, you’ve spotted a real bug.
Automatic discovery wasn’t finding any boxes, regardless of the brand. The format returned by Gladys for the SSDP scan wasn’t the one the integration was expecting. This is fixed in 1.0.1, which has just been released.
I tested it on an Orange Livebox: the box is found, and we retrieve the link status, external IP, uptime, and packet counters.
However, a surprise regarding bytes: the Livebox caps its counters at the maximum 32-bit value (around 4.29 GB) instead of resetting them. After a few hours, the value no longer changes. The integration therefore no longer publishes a stuck value, rather than displaying a false figure. Result: on a Livebox, no bandwidth via UPnP.
@StephaneB, can you try again with 1.0.1? If the Pop is found but without counters, @Will_71’s Freebox integration will be the best option, as it goes through the Freebox OS API.
@Prof_Techno, same for your SFR box: try 1.0.1 and let me know what comes up. It depends on what the box exposes via UPnP, I don’t have an SFR box to test.
@Prof_Techno thanks for the screenshots, you were right: the byte totals didn’t make sense. On your box, the counter had already reset several times (182 M packets for 3.6 GB, that’s not possible).
1.1.0 has just been released and replaces these totals with a download speed and an upload speed in Mbit/s, updated every 15 seconds.
To get them, go to the Discovery screen of the integration and click on « Update » on your box. If the old « Bytes sent / Bytes received » lines remain, you can delete them.
I don’t have an SFR box to test the speed in real life, so your feedback interests me: do the values look like what you see on a speed test?
On my end, the Freebox server POP is now correctly detected and added as a device. However, when I add it to a devices widget, a lot of information is missing: