# Help with how to get "speed test" results saved

**URL:** <https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994>\
**Category:** General\
**Created:** [10 May 2025 02:25 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994 "2025-05-10T02:25:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 May 2025 02:25 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/1 "2025-05-10T02:25:44Z")

</div>

(Ok, maybe `dashboard` but I want the mechanics more than the dressing)

I'm guessing most countries have a `speed test` site that tests their down/up load speeds and given it to you in/on a nice screen.

I'm wanting to see if I can do that from within NR and get the results saved.  
Or, at worst: build my own flow that could do this.

Possible?

P.S.  
It isn't so much the DOWNLOAD speed, but the UPLOAD speed.  
For the past few times I've tested it, it has been \<1mb/s.

ADSL speed. ☹

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 May 2025 04:17 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/2 "2025-05-10T04:17:49Z")

</div>

ITMT, this is a flow I knocked up.

(Maybe someone can cast their eyes over it.)

External node needed:  
[speedtest node](https://flows.nodered.org/node/node-red-contrib-speedtest)

```auto
[{"id":"ef4a762fbd189044","type":"inject","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":3580,"y":1920,"wires":[["cdec8dfd8222d653"]]},{"id":"cdec8dfd8222d653","type":"speedtest","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"","maxTime":5000,"serverId":"","acceptLicense":true,"acceptGdpr":true,"x":3730,"y":1920,"wires":[["cca85169024b2e11","9283b97f60564c7e"]]},{"id":"cca85169024b2e11","type":"function","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"Now()","func":"msg.time = time();\nfunction time() { return { time: new Date().toLocaleTimeString() } };\n//msg.time = msg.goo.time\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":3855,"y":1920,"wires":[["e0dca7fc6115e6ba"]],"l":false},{"id":"e0dca7fc6115e6ba","type":"moment","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"","topic":"","input":"time.time","inputType":"msg","inTz":"Australia/Sydney","adjAmount":0,"adjType":"days","adjDir":"add","format":"YYYY-MM-DD HH:mm:ss","locale":"en_AU","output":"time","outputType":"msg","outTz":"Australia/Sydney","x":3925,"y":1920,"wires":[["4698096ddefe25ac","6c633d88076d5b40"]],"l":false},{"id":"4698096ddefe25ac","type":"template","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"Host {{payload.server.host}} Time {{time}} speeds: Down {{payload.download.bandwidth}} Up {{payload.upload.bandwidth}}","output":"str","x":4030,"y":1880,"wires":[["b2a22de9f60c0993"]]},{"id":"b2a22de9f60c0993","type":"junction","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","x":4120,"y":1880,"wires":[["e581d46f103cd330","bf23f55d279e5a40"]]},{"id":"e581d46f103cd330","type":"debug","z":"28c631fa.7e866e","g":"7f16dc04ae3040ee","name":"Speedtest","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":4210,"y":1840,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [10 May 2025 06:01 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/3 "2025-05-10T06:01:46Z")

</div>

I installed that node and tried your flow but for some reason I could not get the template to output JSON.

Instead I used a function node:

```auto
msg.payload = {
    download: msg.payload.download.bandwidth,
    upload: msg.payload.upload.bandwidth,
    host: msg.payload.server.host
    }
return msg;

```

which gave me

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/73161c056089e83dbe6ff79e2a1d0c867ff7d610.png)

(I omitted the timestamp in my tests)

### An alternative to consider
An alternative approach that I have used on a Pi is to install speedtest-cli using apt. I think it accesses the same speedtest systems as your node. Then this flow

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/optimized/3X/a/c/ac9837caa8c98196be39b51ea35f97358ac30262_2_517x51.png)

```auto
[{"id":"a20640c3c271f237","type":"json","z":"5441cb819ed3cbad","name":"","property":"payload","action":"","pretty":false,"x":450,"y":140,"wires":[["467a78ce8cf38955"]]},{"id":"dab97dde5c22a5d7","type":"exec","z":"5441cb819ed3cbad","command":"speedtest-cli --json","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"","x":290,"y":140,"wires":[["a20640c3c271f237"],[],[]]},{"id":"6d1a55f1ac3092c8","type":"inject","z":"5441cb819ed3cbad","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":120,"y":140,"wires":[["dab97dde5c22a5d7"]]},{"id":"467a78ce8cf38955","type":"debug","z":"5441cb819ed3cbad","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":580,"y":140,"wires":[]}]

```

Gives me this, It has the same fields you are interested in - download & upload speed, server and time (So no need to your moment node)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/668ea8af6cf65fc9f1db40608ecf824efdec69df.png)

### However
Both your flow and mine (on a Pi) report very different results from the speedtest website (on a PC). It makes me question the value of all the results.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [10 May 2025 06:36 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/4 "2025-05-10T06:36:39Z")

</div>

Tried using your flow on a RPi-4B and on my PC - get results that are close to each other.

 ![sat_speedtest](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d5240eb9f3fcd55f50945275d552af78c7fa18f.png)  
 ![sat_speedtest_B](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/f/7f87905375d86459a3791365d278a8c80f7a2369.png)  
Note: The server used by 'speedtest-cli' can vary each time you run the command.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [10 May 2025 06:52 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/5 "2025-05-10T06:52:17Z")

</div>

Mine seems odd because the download shown by the flows is consistently much lower than the upload, and about 10% of the value shown by the Web page.

It's a Pi zero 2 with iffy wifi. Mobile broadband too.

> [@dynamicdave](#):
>
> The server used by 'speedtest-cli' can vary each time you run the command.

Yes. You can specify it with a speedtest-cli command line flag though.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [10 May 2025 07:08 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/6 "2025-05-10T07:08:27Z")

</div>

> [@jbudd](#):
>
> It's a Pi zero 2 with iffy wifi. Mobile broadband too.

My RPi-4B and PC are using 6e cables from the 1Gbs Ethernet sockets back to my main router.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [10 May 2025 09:36 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/7 "2025-05-10T09:36:22Z")

</div>

> [@jbudd](#):
>
> with iffy wifi

Well that can certainly effect the results then 😉

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 May 2025 12:51 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/8 "2025-05-10T12:51:10Z")

</div>

> [@jbudd](#):
>
> about 10% of the value shown by the Web page.

Are you running the browser on the pi? Otherwise you are possibly limited by the comms between the pi and the router. Wifi versus wired for example?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [10 May 2025 13:06 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/9 "2025-05-10T13:06:44Z")

</div>

Nonono, let's not hijack Andrew's thread.

I dont use either flow regularly and not seeking to diagnose them.

The browser is on the pc.  
Both pi and browser are wireless, though the pi is on 2.4GHz and the pc 5GHz

---

<div class="post-metadata">

**Author:** ![FireWizard52](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/firewizard52/32/34508_2.png) [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Post date:** [10 May 2025 15:05 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/10 "2025-05-10T15:05:41Z")

</div>

The question is, what do you want to measure?

1. The network speed of a local device in your local LAN
2. Network speed of your router/modem/gateway to your ISP

Most people are interested in network speed against your ISP.

If you run a speed-test from a local device, be aware of the following limitations:

1 The Ethernet port capacity of your device

Raspberry Pi 2B(+) and 3B will give about 94.8 Mbps, the Pi 3+ will give 224 Mbps and the Pi 4B will give 933 Mbps.

Although a Raspberry Pi 3B+ is advertised with a network speed of 1Gbps, it can never be more than 300Mbps as the network port is shared with the USB.

1. The network cabling in your local network. It should be at least Cat 5e, Cat 6 or better.
2. Limitation of the port speed of your switches between your device and the Router/Modem.
3. Quality of the RJ-45 connections. Did you make your own connectors or has the cable been factory made.
4. Be aware that the repository of Rasbian (Debian) Buster contains a version of speedtest-cli that contains a bug, which results in lower test results.

I recommend to run the original speedtest-cli on your Router/Modem?Gateway (if possible)  
You can find the OOKLA speedtest at: [Speedtest CLI: Internet speed test for the command line](https://www.speedtest.net/apps/cli)  
This is also the backend, used at the NR Contrib node (speedtest)

I use the command line tool on my router and push the values to NR by MQTT on a Raspberry Pi.  
From there you can push the data to a Dashboard, another Home Automation System or Google Smart home, etc.

The way I integrated it in Domoticz, including a discussion, you can find at: [https://forum.domoticz.com/viewtopic.php?t=31898](https://forum.domoticz.com/viewtopic.php?t=31898)

I created that solution about 5 years ago and so far I have no issues.

The NR flow, probably needs some maintenance (as I used var).

Does this, what you need?

Regards

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 May 2025 15:43 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/11 "2025-05-10T15:43:14Z")

</div>

Another thing to note - the raw network speed is only part of the data you need.

Network Jitter is also important and I don't believe Speedtest tells you that? Latency is also important of course. And if you have ANY packet loss, you have an issue.

[https://freeola.com/line-test/](https://freeola.com/line-test/)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/5/85c6b8263947d4dc5af81af83ac2104d4b1b32aa.png)

Many advantages of being on a BT Full Fibre connection is both low latency and low jitter. 😃

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/d/7df68a847a5f59211295b4b045cdf5162469fd92.png)

All measured from my desktop which has a 1Gb connection to my 1Gb switch with 100Mb to the router which runs direct to the fibre outlet. All with 1Gb capable wiring. I pay for a 100Mb fibre and consistently get 50% more than that.

You should also check your DNS responses

I've not actually tested my home server (laptop) but wouldn't expect anywhere near the same as my desktop since it is only a laptop and has older CAT 5a wiring. But then I don't need my server to have masses of bandwidth. I do also have a NAS with a dual 100Mb network.

* * *

I should also have said that I use Telegraf to record network and other performance metrics and so can get charting and historic views on Grafana.

---

<div class="post-metadata">

**Author:** ![FireWizard52](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/firewizard52/32/34508_2.png) [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)\
**Post date:** [10 May 2025 17:02 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/12 "2025-05-10T17:02:44Z")

</div>

Hello @TotallyInformation,

I agree with you, that not only Download speed and Upload speed is important but also jitter, latency and of course packet loss.

The OOKLA command line tool gives you that all.

 ![Screenshot_speedtest](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/2/f206562187542319c6038aa646fa256fd00a0991.png)

As I have a 1 Gbps fiber optics connection (symmetrical), I currently have a download speed 924.49 Mbps and an upload speed of 933.89 Mbps.

Regards

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 May 2025 19:31 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/13 "2025-05-10T19:31:46Z")

</div>

> [@FireWizard52](#):
>
> The OOKLA command line tool gives you that all.

Ah, cool. I didn't quite get time to test all of that today. Then I decided I had too many other things going on anyway and I no longer have any real need to measure such things - at least for now. 😃

> [@FireWizard52](#):
>
> As I have a 1 Gbps fiber optics connection (symmetrical), I currently have a download speed 924.49 Mbps and an upload speed of 933.89 Mbps.

Very nice.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [10 May 2025 22:10 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/14 "2025-05-10T22:10:05Z")

</div>

Ok, first off: Greatest apologies to all.

## The reason:

I am on a (there abouts) 50/25 plan.  
50 (meg) upload and 25 (meg) download.

Alas I have sort of drifted to _the dark side_ and have a Windows PC and _play games on it_.  
Alas (number 2) seems these days the games want to talk to _Mummy and Daddy_ while playing.  
Which shouldn't be too bad - but as anyone here from Oz will know: that can be a big ask.

Recently I'm happily playing and it all falls apart because the game can't talk to the required places.  
Adding insult to injury a couple of times I wanted to upload a simple (well ok, not quite) email AND a PICTURE!  
5mb size.

It takes 10 minutes.

# WHY?

Upload speed:  
500kb/s  
Note the **K** in that. Not **M**

And it stays like that for a while.

It happens at different times of the day and is annoying.

I've complained to my _Provider_ and from past experience, I know to not say something without backup data. (A whole other story)

I know that there is no fancy display in this scenario. But all I want is data.  
Yes, it is interesting that what I see if I go to `speedtest.com` and what this node gives me are different.

Much? Not exactly sure. But I think it will/should be enough to show the trend.

Quick example:  
Pictures:

 ![Screenshot from 2025-05-11 07-50-05](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/4/f4630fc62f0fe92c1ccb8a33aaac14d7a0b62d6e.png)

 ![Screenshot from 2025-05-11 07-59-32](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/1/5195a1d34b0839f5eb9ee0239fe61dc79f2c1944.png)

Alas this one doesn't give jitter.  
They were also taken at slightly different times.

## and 24 and 18 are quite different.

Problems as of now:  
I can't get the one Telstra uses.  
It doesn't give jitter.

The two tests are done of DIFFERENT machines. ☹  
Yes, I know that is bad.  
But they are BOTH ethernet connected. Including/introducing WiFi is adding an unwanted variable.

One (the NR one) is on a RasPi 3b+ and the fancy one is on a NUC.

I put it on the RasPi because that machine is on 24/7 and I put the _GUI_ so I can use my tablet (or on the games PC) can access the GUI and force a log of what's happening. (Information gathering)

If - and I really hope it does - it shows a huge disparity with normal I can use this to show them the problem and not have them just sweep it under the mat.

@dynamicdave  
So I would like to use the same server every time and not change it as that is introducing a variable/change which could be used to invalidate my data.  
As said, I don't know which one it being used via `speedtest.com`, but I hope that isn't a deal breaker when I get the problem.

Sod's law will step in how (of course) and it won't happen to me now for a long time. 😉

But better I am ready than not.

And in case anyone is wondering:  
The left most button is the `go` button and the `Y` is a toggle button to log the results.  
(OCD sucks) 😉

On the side:  
It is interesting how this got so many replies so quickly.  
Is it an underlying curiosity for others too?

Thanks to all who replied though.  
As much as I kind of did get it working, I felt it better to ask first again to avert Sod's law happening to me. 🙂

Oh, P.S.  
The network is all 1Gig and so I am hoping that the speeds are basically/effectively from the _Modem_ upstream.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 May 2025 00:17 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/15 "2025-05-11T00:17:00Z")

</div>

Interesting update - and probably way off topic.  
(But I may as well share) 🙂  
These two machines are on different VLANS.

Just now I see a HUGE difference in upload speeds between them.  
One is good.... 25 MB the other is 0.4MB.

I do NOT have NR on the other VLAN. ☹

How could I test speeds from it to my last point to better determine where the problem is?  
P.S. It is windows 10 and I am not that well in tune with its workings.

I may dig up a RASPI and plug it on that network and do some testing.

But am looking for options.

# IMPORTANT UPDATE

(This is from left field)

The Windows machine has 2 ethernet ports.  
That wasn't a deal breaker for me when I bought it, but it did come in handy.  
I also have ANOTHER windows machine next to this/that one.  
It too needs internet (well, not really, but for the sake of simplifying things.....  
So I **BRIDGED** the first ethernet port so the second one can see the network through the first machine's port.

Said machine has GRUNT.

After a bit of reading - lucky me - I see that:

```auto
If you bridge an ethernet port, it's speed will be **SEVERELY IMPACTED**

```

So that may be biting my butt.

I remember it took a LONG TIME to get it like that and I am not keen on breaking that - just now - to prove/test the new theory.

I remember windows (XP days) had restore point options, but that was a long time ago and how to do it in W10 is - at this point - beyond me.

So I shall declare this new information now only to be honest on what is happening this end.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 May 2025 03:09 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/16 "2025-05-11T03:09:54Z")

</div>

# Second update:

Ok, BRIDGING the adaptor can cause problems.

But if I take THIS machine and put it onto that network's socket I am still getting vastly different speeds.

Crown Jewels - main (This) network.  
Windows - the suspected slower network.

 ![Two VLANS different upload speeds](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/1/9132e8f04bc5ac8382f53b104f273c32619a563e.png)

That's a factor of TEN difference.

So it indicates to me there is more going on here.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [11 May 2025 05:54 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/17 "2025-05-11T05:54:50Z")

</div>

I should think Telstra would refuse to consider any evidence unless the computer generating it is directly plugged in to their router.

For me that would mean a dedicated Pi 3 running speedtest-cli hourly alternating between a couple of specified servers and reporting back to a database on my main server Pi.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 May 2025 06:01 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/18 "2025-05-11T06:01:22Z")

</div>

Well, indulging the question:

A while back now I had a problem where my internet was rather frequently changing it's IP address.

Granted I am not on a FIXED IP scheme. But none the less, it was just changing.  
Sometimes like 5 times a day, or more.

This caused problems now and then and initially I didn't suspect anything but when it got beyond a joke I dug down.

I complained and they rather dismissively replied, and so I sent them THREE YEARS of logging my IP address every 20 seconds - only changes shown.

After a week I got a new modem (Router) and it continued. So they sent out someone to check my line. Signal good. But they (the person) swapped my NTU. PROBLEM FIXED.

I'm proud of that because their (Telstra's) attitude was I didn't know what I was talking about.  
But when I showed them, they actually took notice.

Ok, it did take 3 weeks: start to end. Which isn't too bad in the scheme of things.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [11 May 2025 13:39 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/19 "2025-05-11T13:39:59Z")

</div>

Right, so

1. What router are you using?
2. Why not get a switch to handle the 2nd PC? Put both PC's into the switch and the switch into the router. That is a much better configuration.
3. You need to test consistently over time. Do a speedtest to a fixed endpoint every hour - BUT NOT ON THE HOUR (I got caught out by that before). Do a ping test every 10 minutes to a known and trusted public endpoint. Testing must be from a decent device though. Unless you have a Pi 4, I wouldn't use a Pi, simply leave one of your PC's (connected via switch to the router) running for a week.

I have Telegraf running on my home server (i5, 8GB RAM, Thinkpad laptop, connected direct to my switch). It can capture all sorts of metrics and record them direct to InfluxDB. There is even a Grafana Speedtest dashboard that uses a Speedtest Telegraf extension.

> **[Internet Speed Test | Grafana Labs](https://grafana.com/grafana/dashboards/12428-speed-test/)**

Using Telegraf, I also regularly ping some common endpoints such as YouTube and the BBC because, sometimes in the past, I thought my broadband was bad but it was actually something else.

Here is an interesting example from my own stats:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/d/6d4135858f038812e9dcff25f23de2e91af6d906.png)

As you can see, there was some kind of a blip between 4 and 8 this morning. However, it is possible that might have been due to my NAS running some backups.

And the 15d averages:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/8/a8fff14c185505433e16f1cf2a479b32658c617d.png)

Again, you can see the regular dips which I believe are due to some big, regular backup batch jobs.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [11 May 2025 21:57 UTC](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994/20 "2025-05-11T21:57:28Z")

</div>

Wow, that looks nice.

To answer your question/s.

My network is a bit complicated. 😕

I'll reply to you to not share too much stuff.

[Next page](https://discourse.nodered.org/t/help-with-how-to-get-speed-test-results-saved/96994.md?page=2)
