From AppleWatch |
With HomeKit You can't show Your measured Internet speed in a proper way, X Mbit/s. So why not show it in % ? the measured speed compared to the one You purchased from Your ISP(Internet Service Provider) ?
So now You see the point..... Humidity is also in % and can be displayed in the Home app. The only "if" is that the speed is displayed along with a "water drop"..... but maybe You can live with that ?
Intro
In this post NodeRed(NR), installed at a Raspberry PI(RPi), is retrieving the Internet download speed via a shell script and is also acting as the WEB endpoint to the HomeBridge "homebridge-http-humidity-sensor" plugin.
And of course You can also use the plugin for a "real" Humidity sensor/source.
Installing
Fetch the ISP measurement script and move it to the right folder
wget https://git.io/speedtest.sh && sudo mv speedtest.sh /usr/local/sbin
Download the NR flow where there is one part for fetching the ISP measurements, and displaying the history for 24 hours, and an other part with a http endnode which is serving the HB plugin with the measured download speed value.
Install the "homebridge-http-humidity-sensor" plugin and setup the config looking like below. The URL:s are referring to the endpoints You just set up in NR. Change so the hostname, "home", matches Your setup.
Restart HomeBridge and check the result in Your Home app.
And of course You can also use the plugin for a "real" Humidity sensor/source.
Installing
Fetch the ISP measurement script and move it to the right folder
wget https://git.io/speedtest.sh && sudo mv speedtest.sh /usr/local/sbin
Download the NR flow where there is one part for fetching the ISP measurements, and displaying the history for 24 hours, and an other part with a http endnode which is serving the HB plugin with the measured download speed value.
Install the "homebridge-http-humidity-sensor" plugin and setup the config looking like below. The URL:s are referring to the endpoints You just set up in NR. Change so the hostname, "home", matches Your setup.
"accessories": [
{
"accessory": "HTTP-HUMIDITY",
"name": "Internet speed",
"getUrl": "http://home:1880/isp"
}
]
{
"accessory": "HTTP-HUMIDITY",
"name": "Internet speed",
"getUrl": "http://home:1880/isp"
}
]
Restart HomeBridge and check the result in Your Home app.
Remarks
Connection
Connection
Please note that this measurement must be done on a server, RPi, which is connected with an ethernet cable to Your network. Otherwise You will measure the WiFi capability instead !!
New ways to measure
Check this post and update the NR flow above which will give a better application.
No comments:
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !