SpeedTest
Display your download and upload speed.
Built by Ade Thompson (apt)
Published 10 May 2023 · updated 10 May 2023 · 4 downloads
Display your current download and upload speed using the SpeedTest.net integration within Home Assistant.
Prerequisites
- Home Assistant
- SpeedTest.net integration installed and working
- Script expects the sensor for download and upload to be
sensor.speedtest_downloadandsensor.speedtest_uploadrespectively - Included icons added to your device
Setup
I have all my Awtrix (apps) as scripts and trigger these using an automation in the order I want them to appear.
The trigger for this automation is when the Time app is displayed so all apps receive an update every 'cycle'.
Customisation
Feel free to change the options with the script, for example text, repeat, textCase etc. If you have differently named sensors for download and upload change them within the text
YXRKWoReArP4.yaml · 0.5 KB
alias: SpeedTest (Awtrix)
sequence:
- service: mqtt.publish
data:
payload: {"text":"Download speed is {{ states.sensor.speedtest_download.state}} Mbp/s","icon":"download","pushIcon":0,"repeat":1,"textCase":2,"textOffset":33}
topic: awtrix_d670d0/custom/speeds_d
- service: mqtt.publish
data:
payload: {"text":"Upload speed is {{ states.sensor.speedtest_upload.state}} Mbp/s","icon":"upload","pushIcon":0,"repeat":1,"textCase":2,"textOffset":33}
topic: awtrix_d670d0/custom/speeds_u
mode: single
These icons belong on the device, in /ICONS. Each one is at
most 32×8
pixels — shown here at actual proportions, magnified.
download.gif
8×8
upload.gif
8×8