Check Internet Latency

Hi Guys

I want to monitor my internet latency (every minute).
For this I use the integration “speedtestdotnet”.
Actually everything works.

But while the speedtest is running my network capacity is fully utilized.

How can I disable the upload and download test.
I just need the ping test.

Modifing the “monitored_conditions:” parameter doesen’t work.

Any ideas ?

Greetings
Kai

Out of interest, why are you checking this every minute?
To my knowledge the speediest integration checks all metrics and not just ping - I haven’t seen any option to selectively test.

I haven’t used this myself, but perhaps you’re looking for something like this instead: https://www.home-assistant.io/integrations/ping/

I’ve been using speediest.net and check every 60 minutes. For my purposes, it seems more than good enough to identify a problem.

image

I don’t see this on the official integration, but I do see the following notes:

While the speedtest is running your network capacity is fully utilized. This may have a negative effect on other devices using the network such as gaming consoles or streaming boxes.

So, works as designed.

The quality of my internet connection is very poor on some days.

I can sometimes see 80% packet loss within 5 minutes.

This has an impact on the control of my smart home technology.

I will try a solution via: https://www.home-assistant.io/integrations/ping/

1 Like

Don’t forget some ISPs will prioritize speedtest websites traffic to make it look better.

I use ping ever minute to a few servers I know up. 8.8.8.8 and 1.1.1.1 are good places to start. But randomly 8.8.8.8 does drop pings and so does 1.1.1.1 so make sure to figure out other addresses to check as well.

Definitely use the ping integration for testing every minute.
From your PC I would run a traceroute to 8.8.8.8 and 1.1.1.1 to see which one is “closer” to you, which means less chance for introduced latency and packet drops. For example, 1.1.1.1 only take 7 ‘hops’ for me to get to, where as 8.8.8.8 takes 12 ‘hops’. You could also run a ping directly to your ISP, it will be the first hop on your traceroute. It may or may not respond to pings depending on how your ISP has set things up.

That might have been a bit confusing so let me know if you need more help.