Within Domoticz open the Setup > Log to confirm that Domoticz was informed of this data.Save changes and run the Bash script, if successful after a moment it will display your Download, Upload and Ping.idxbb (the IDX of the Broadband device).host (to match your IP address or localhost).Copy and paste the contents of the Bash script section below.Change the permissions on speedtest.sh to allow it to run from crontab.Create a new file within /domoticz/scripts/ called speedtest.sh. Within Domoticz open the Setup > Devices screen and note the IDX of each new Virtual Sensor added, you'll need this in the Bash script.Create 1 Virtual Sensors with the "Switch" Type named:.Create 3 Virtual Sensors with the "Custom" Type named:.Within Domoticz open the Setup > Hardware screen.Open a SSH session and install speedtest-cli using.Broadband (Switch to manually trigger Bash script)ĭependencies - hardware / software / operating system.This script will create 4 Virtual Sensors to monitor internet bandwidth and uptime: It is not my script and I do not claim ownership of it (Source: Sander Filius: ). This script uses the Python module speedtest-cli for testing internet bandwidth (Download/Upload/Ping) via.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |