Posts

Homebridge, autostart with systemd

Image
Updated 2020-07-10 ! systemd is service manger which autostart jobs and it will even  restart the Homebridge(HB) job if it fails !   Keep it simple !! New post with  a script which handles the setup automagically !! or use the latest HB install where this is included. Other   HomeKit posts   on this Blogg

VHF antenna splitter, receive

Image
During my AIS project with SDR:s as receivers I built my own antenna for use at home,  a standard DIY dipol antenna .  I connected the dipol, to SDR antenna input, with an  a female  SMA extension cable  which I cut it in two pieces and soldered to the dipol.  For the boat I didn't want an extra VHF antenna so....

SignalK, measuring temperature II

Image
An introduction to the SignalK(SK), Marine application, is given  here . A very easy way to measure temperatures with SK is to use one wire (1W)  DS18B20  (DS)temperature sensors.  In a former post the DS:s where connected direkt to the RPi GPIO:s, but in this post they are WiFi enabled via the Shelly 1 (S1). Alarms are also sent when the temperature exceeds a set value. If humidity is of interest You can use a   DHT22  sensor instead of a DS sensor.

HomeKit, Z-Wave, Telldus Live, and...

Image
Updated 2023-10-10 ! You can use one   Raspberry Pi to Make Your home automation devices appear in the Apple Home App Being the Z-Wave controller HomeKit enable Your Z-Wave devices HomeKit enable Your devices registered at Telldus Live HomeKit enable IKEA TrÃ¥dfri devices  Homekit enable temperature with sensor  DS18B20 HomeKit enable Broadband speed If You have other products there are more than 4200 plugins  available A new simple install  !! is found here  so skip the below info if you aren't interested of the old way!

HomeKit showing Humidity & Internetspeed

Image
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 ? 

HomeKit with "ANY" temperature source

Image
From AppleWatch As long as it's possible to retrieve information, in some way, from a sensor OR a website/webserver, with temperature information, it's possible to show it in HomeKit with HomeBridge (HB). In this post  NodeRed (NR) is retrieving the temperature from Your selected source and is also acting  as the WEB endpoint   for  the HB  " homebridge-http-temperature " plugin . In my case I wanted an outside temperature so used the measurements from our Davis Weather station and their  JSON REST API but it could for example be Your Raspberry CPU temp  or showing the speed of Your Internet connection.

Underfloor heating hack

Image
I have tried to find some basics how a standard underfloor control system is regulating the heating, but haven't, so started with checking up  our own temperature control system from LK (TCS). I used Node-Red, with Raspberry Pi(RPi), sensing when the TCS applied voltage to the actuator. Since the actuator is running on 24 VAC and the input on a GPIO PIN is maximum 3,3 VDC I used a optocoupler to level shift.  Schematics below Please find another post here where I realized, using Shelly 1 and NodeRed , the regulating of the underfloor !!

Raspberry LCD displays

Image
There are many displays for Raspberry Pi  and  following some of the manufacturers instructions isn't always so easy. But there are scripts available which will make it very simple. As an example, in this post, I will install the LCD touch display from Joy-IT RB-TFT3.2-V2. The size is 3,2" with a resolution of 320 x 240, has a touch display and comes with 3 buttons.

Homebridge update installation on RPi

Image
Updated 2023-10-27 ! ! The latest information on Homebridge update is found here !   Start updating the Homebridge(HB) installation , after You logged on to the  RPi, with; sudo apt update &&  sudo apt full-upgrade  -y If You are using HOOBS or Homebridge with UX their updates can be done via respective GUI interface. HB also have a function to update Node.js . In other words, the info below is more like "nice to know".