HomeKit showing Humidity & Internetspeed

From AppleWatch
Strange mixture ? Humidity & Internetspeed ? 

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-sensorplugin.

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"
        }
    ]

Restart HomeBridge and check the result in Your Home app.

Remarks
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.

Comments

Popular post the last 30 days

iCloud drive sync, or mount, with a Linux, Ubuntu, device

Installing Ubuntu 24.04 or 24.10/25.04 on an old MacBook Air(2011)

NetworkManager UI and access point, hotspot

SeaTalk1 to NMEA 0183 converter, DIY

Raspberry Pi OS Lite with GUI, RDP, VNC, Chromium

Clone the Raspberry boot disk

AIS receiver and dispatcher ! The best ?!

Volvo Penta NMEA 2000 Gateway

Victron VE.Direct with Raspberry Pi/Signal K

Waveshare CAN hat with Signal K & OpenPlotter