core
core copied to clipboard
Wrong Country
Feedback
When i am trying to set a Speedtest server , i only have the option for servers in Turkey although i am in Cyprus and there are many servers in Cyprus. The results from TR servers are low because there is no direct connection from CY providers to TR providers
URL
https://www.home-assistant.io/integrations/speedtestdotnet/
Version
2021.9.0
Additional information
No response
Hey there @rohankapoorcom, @engrbm87, mind taking a look at this feedback as it has been labeled with an integration (speedtestdotnet
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Hello @nikolas22t , the servers are fetched using the speedtest-cli
api. The integration doesn't do any filtering on the list of servers. Just to clarify, were you able to see these servers in a previous version of HA?
speedtestdotnet documentation speedtestdotnet source (message by IssueLinks)
Recently the integration said the server I chose no longer existed. I checked the speed test website and it was still there. I then changed the integration to point at another server. Tonight I updated home assistant and that server also disappeared. The previous one is still missing. Is there a limit of servers it allows you to choose from?
Ok, so we have the same problem in the netherlands.
Speedtest integration has been working well for quite some time, without any problems. I had set up a fixed Dutch test server and the values matched with Ookla on my laptop.
At some point I ran an update and then it stopped working. Not available and that's it. The solution was to set the test server back to Auto detect. It worked immediately and without any problems, or so I thought.
Now I noticed that the speed regularly drops from 150Mbit to 100Mbit or even 10-20Mbit, for longer periods too. I thought Ziggo was messing around again. BUT, now it turns out that the speed on my laptop via Ookla DOES gives the expected values at the same time!
It turns out that speedtest always defaults to servers in Belgium! every time ! I manually put it on a Dutch server and then it stopped working. After reverting to Auto detect, the Dutch servers are completely gone now. I can only select servers in Belgium and a few in France. that explains the lower measured speeds and corresponds quite nicely with what I measure in Ookla when I select a Belgian server.
And "Ok, so we have the same problem in the Hungary." It offers me servers in Slovakia, so I get 10 megabits instead of gigabits.
Same here. List of servers that the integration allows has nothing to do with what I get from speedtest-cli. Comparison below: CLI:
root@test:~ # speedtest -L
Closest servers:
ID Name Location Country
==============================================================================
9510 ClassCom sp. z o.o. Krakow Poland
30221 ISTS Sp. z o.o. Krakow Poland
8123 S-Net Sp. z o.o. Krakow Poland
7175 Orange Polska S.A. Krakow Poland
28324 Petroinform.net Krakow Poland
30193 FIBERLINK Sp. z o.o. Krakow Poland
25726 Krakowski Internet Krakow Poland
37699 Domonet Krakow Poland
37698 Wnet Krakow Poland
1958 F.H.U. Compower Krakow Poland
HA Integration:
The issue comes most probably from speedtest-cli already. Tested it in the homeassistant bash and on my computer.
Guys can you check, for me it is working fine again on this morning, without doing any updates ...
Not in my case, still limited list and from wrong city.
Just curious, did you reload the integration beforehand?
I have installed it from scratch as I'm not using it anymore. Instead I've switched to official speedtest-cli being integrated with command line sensor. Now it gives results that are in line with speedtest.net web based. Details here if you are interested: https://github.com/adorobis/SpeedTest-CLI-With-Home-Assistant
Btw, the key issue with this official HA integration is that it uses some python cli which is not official speedtest-cli and has nothing to do with it. Hence the results are way off. Btw the project page says the following: "There is the potential for this tool to report results inconsistent with Speedtest.net. There are several concepts to be aware of that factor into the potential inconsistency:
- Speedtest.net has migrated to using pure socket tests instead of HTTP based tests
- This application is written in Python
- Different versions of Python will execute certain parts of the code faster than others
- CPU and Memory capacity and speed will play a large part in inconsistency between Speedtest.net and even other machines on the same network
- Issues relating to inconsistencies will be closed as wontfix and without additional reason or context."
Btw, the key issue with this official HA integration is that it uses some python cli which is not official speedtest-cli and has nothing to do with it. Hence the results are way off.
Yes that's exactly what I put in for comparison in these two screenshots: https://github.com/home-assistant/core/issues/55579#issuecomment-952092687
But today it just works as it should. Thats all I am saying ...
You are of course right this should be migrated ...
You are of course right this should be migrated ...
If at all possible. Speedtest.net is providing binaries only, I don't think they release any source code or python package that we could integrate with HA. But I'm not an expert in HA integrations so maybe there is a way to migrate to the official cli?
Ah yes, you are right, seems the Speedtest.net CLI client is written in C/C++ and the source is not publicly available.
I live in NL but my HA only shows Germany servers. With very high Ping.
I live in belgium and it only shows dutch servers
Same here. I am based in Poland close to Warsaw and I'd like to choose one of the nearest servers but I am not able to to that because in the UI configuration I have only few servers from Cracow which the location is right far into the ones near to Warsaw. No possibility to scroll in the UI. Any idea how to fix?
Any workarounds? Using this integration with far away servers defeats is purpuse.
Any workarounds? Using this integration with far away servers defeats is purpuse
I've switched to official speedtest-cli being integrated with command line sensor. Now it gives results that are in line with speedtest.net web based. Details here if you are interested: https://github.com/adorobis/SpeedTest-CLI-With-Home-Assistant
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.
Keep
same here... I'm from Slovakia (Kosice) and it's offering my servers in Poland
speedtest-cli on same hw
can you maybe give us option to provide server id with configuration please? 🙏
This is not being maintained and due to the fact that it uses unofficial python library (also not maintained) it is not giving correct results. Here you can find a solution that works with official cli, there is already a socket image available: https://github.com/adorobis/speedtest-CLI2mqtt
i miss Frankfurt in the List :(
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.