Thanks to everyone for their assistance, I have it working on my RPi4 now. Summary of steps I used (for others on same platform, assume you have Terminal installed and Samba for a connected Windows 10/11 PC, with a drive mapped for \config):
On PC:
- Download compressed .tgz image from Speedtest CLI: Internet speed test for the command line, which for the RPi4 is under “Linux download / aarch64”.
- Open image (content is a .tar file).
- Connect to your HASSOS RPi, and under \config create folders
\3rdparty\speedtest
. - Extract .tar file contents (3 files, speedtest.*) to the new directory
\config\3rdparty\speedtest
.
On HA, use Terminal:
- I had to make speedtest executable using
chmod +x speedtest
. - Execute speedtest (to accept licences, typing “YES”) using
./speedtest
.
Using HA File Editor, add all YAML config as shown in @ptr727’s post above Add the official speedtest cli - #27 by ptr727.
Lastly, restart HASSOS then add the new entities (I use dashboard option to locate “Unused entities”) to a card.