I also host websites for friends, colleagues and other random people I have met. Notes and opinions on software, automation, electronics, DIY, science, vehicles, photography and other nerdy topics from an engineer, technical project manager, safety systems expert and ex security, IT & electrical consultant. speed test download speed test upload download / upload progress monitoring configurable hostname / port / uri (username & password for FTP) configurable socket timeout and chunk size configure upload file storage Check a non-exhaustive list of compatible speed test server. Also log current bandwidth being used for my network overall? Speed Test client library for Java/Android with HTTP & FTP support.Have some randomness built in to test times.Have it test ‘on the minute’ rather than just in a loop? (maybe use cron).Needs timeout checks and maybe round robin on servers?.Needs some error control to be sure it is still running.GitHub - liquidlabs/android-speedtest-mapper: Android application data mapper app for visualization. Test Internet download speed, latency (ping), scan LAN / WiFi for connected devices all while consuming the minimum amount of data required. # V1.1 Added mosquitto_pub and publish data to MQTT as well as influbdbĭOWNLOAD=$(cat $FILE | grep "Download:" | awk -F " " '' Android application data mapper app for visualization. Restart: unless-stopped test_internet.sh #!/bin/sh "/dockervolumes/speedtest/data:/app/data" This was the most useful and code was borrowed from here:ĬOPY test_internet.sh /app/test_internet.shĬMD docker-compose.yml version: '3.3'.If you do that every 5 minutes, for a whole day you will use 50GB of data, every day. Eg if you have say a basic 100Mbps up and 50Mbps down, it will likely pull about 170MB of data for each full test. Each use of the speedtest pulls a random set of data of a size which depends on your connection speed. I just wanted something that ran from a script and pushed to influxdb via http directly.īe aware that this can use a LOT of bandwidth if you run it continually. This method was simplified from a bunch of similar projects – the ones I found had multiple container builds with influx/grafana included, or logged to a csv… and I’d then need to use telegraf to push to the db. Use of the Ookla speedtest cli to test the internet connection regularly, and push the results to influx db & MQTT.Īn influx db instance must already be running somewhere, and the database created. The Speedtest Mobile SDK measures over 200 potential test and performance data elements to help you. It integrates seamlessly into your custom UI and offers configuration over test stages, signal scan triggers and data delivery. V1.1 Added mosquitto_pub and publish data to MQTT as well as influbdb Summary The Speedtest Mobile SDK allows you to install Speedtest as the testing solution into your Android or iOS app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |