Converting my house into a smart home

(Links to all the suppliers below)

Smart home quick demo

Recently I’ve decided to start converting my home into a smart home.  Initially my idea was for a few smart lights to control remotely. I also wanted to clean up some older electrical outlets and change them to newer ones with USB charging built-in.

From this to..
To this ( 2 USB chargers)

While preparing for the installation I realised I could control my old infrared (IR) aircons (TCL) through wi-fi as well, using a wi-fi enabled IR blaster in each room where I have an aircon. 

Small IR blaster to control the old aircons, using 5V USB plug

Being an Apple user, I decided to use Apple Homekit to control the smart house.  I quickly realised that it’s difficult (and in some cases expensive) to find Homekit certified devices and products.  However, Homebridge is an open sourced software that can be used to integrate non-Homekit devices and products into Homekit.  I downloaded and tested the software on my iMac and it worked quite well. The only downside is that the computer it’s running on, should run 24/7 and I did not want to run my iMac as a server 24/7.  To solve this I bought a RaspberryPi, installed HomeBridge on it, and it runs 24/7 without using too much power.  I’ve even found a way to open apps on my PS4.

Raspberry Pi unboxing
Raspberry Pi installed and running

Each device has its own compatible app on your phone and the setting on those services can be accessed by Homebridge to control the devices.  With Homebridge running, I could use non-Homekit devices and still integrate them into Homekit.  

For the lights I decided to use native Homekit certified lights (bypassing Homebridge) and selected the Philips Hue system.  The main reason for this was the fact that each smart bulb does not grab an IP address and runs through the network, but uses the Philips Hue hub instead.  Each hub can support 50 devices and in most cases these will be bulbs, or LED light strips.  You also get compatible motion sensors and light switches.  The Philips Hue system is quite difficult to get in South Africa, but luckily it can be bought directly from Amazon (US) and is compatible on the 220V power used in SA.

Philips Hue bulb
Philips Hue hub
Philips Hue light switch (optional)
Philips hue motion sensor

In some rooms I have the long LED (florescent tubes in some cases) tubes light fittings. I did not want to change them to be compatible with Philips bulbs (screw type).  To solve this I replaced the light switch at the wall with sonoff smart wi-fi switch.  I managed to set this up in Homebridge and could then manipulate them using Homebridge. 

Old wall switch
Removing the old switch
New Sonoff Wi-Fi smart switch (neutral wire needed)

With this setup, and integrated in HomeKit, I could easily programme certain automated events.  For example, when the motion sensor in the hallway is triggered at night, certain lights will switch on for 5 minutes. 

For some devices, a smart plug could be used (for example a fan or lamp whose bulb cannot be replaced.). The one I found (Reef Aquatics – seems this is not available anymore as of time of writing) is compatible with South African plugs and no other adaptor is needed (usually smart plugs sold in SA is the EU type).  Again, this plug is not directly compatible with Homekit, but could be controlled through Homebridge.

Because everything is integrated into Apple’s HomeKit, it is compatible with Siri as a voice enabled smart assistant, and all commands can be given through Siri.  However, having Amazon’s Alexa (not supported in SA) on a Kindle fire I decided to test it out and was very impressed with Alexa’s responsiveness.  I’ve decided to start using Alexa to control the devices too. I got 4 Echo Dot (Gen 3) smart speakers for different rooms in the house.  The bonus feature was that I now have smart speakers around the house to stream music, news and audio books. 

Amazon Echo dot 2 (gen 3 – Sandstone)
Amazon Echo dot 2 (gen 3 – Charcoal)
Amazon Echo dot 2 (gen 3 – heather grey)

Shopping links:

Philips hue system and lights:

Philips Hue 471986 A White Ambiance A19 60W Equivalent Smart Bulb Starter Kit (Compatible with Amazon Alexa, Apple HomeKit, and Google Assistant). Learn more: https://www.amazon.com/dp/B07353SKDD/ref=cm_sw_em_r_mt_dp_U_A6I-Cb2J0DT6T

Philips Hue 464487 Hue White and Color Ambiance A19 60W Equivalent Dimmable LED Smart Bulb Compatible with Amazon Alexa, Apple HomeKit, and Google Assistant. Learn more: https://www.amazon.com/dp/B01M9AU8MB/ref=cm_sw_em_r_mt_dp_U_a8I-CbTNMMZ7M

Philips Hue 473371 Home Hue Smart Dimmer Switch With Remote, 1, White. Learn more: https://www.amazon.com/dp/B076MGKTGS/ref=cm_sw_em_r_mt_dp_U_M8I-CbNVY8TYB

Philips Hue 473389 Philips Motion Sensor Lights (Installation-Free, Home, Exclusively Smart Bulbs), White. Learn more: https://www.amazon.com/dp/B076MGK22M/ref=cm_sw_em_r_mt_dp_U_g9I-CbJ6SS8N8

Wi-Fi infrared blasters:

Broadlink RM Mini 3 Smart Home Wifi Universal Remote Control\n\nhttps://www.takealot.com/broadlink-rm-mini-3-smart-home-wifi-universal-remote-control/PLID53025616

Sonoff light switches:

Sonoff Smart Wifi RF Light Switch 1  Gang\n\nhttps://www.takealot.com/sonoff-smart-wifi-rf-light-switch-1-gang/PLID52859863

Sonoff Smart Wifi RF Light Switch 2 Gang\n\nhttps://www.takealot.com/sonoff-smart-wifi-rf-light-switch-2-gang/PLID52859864

Sonoff Smart Wifi RF Light Switch 3 Gang\n\nhttps://www.takealot.com/sonoff-smart-wifi-rf-light-switch-3-gang/PLID52859865

Rasberry Pi

https://www.pishop.co.za/store/index.php?rt=product/product&product_id=1283

Amazon Echo dot 2 (gen3) (Alexa)

https://www.bidorbuy.co.za/item/379357012/_FREE_SHIPPING_IN_STOCK_Amazon_Echo_Dot_3rd_Gen_Smart_speaker_with_Alexa_Charcoal.html


 [CSW1]Produknaam?

5 thoughts on “Converting my house into a smart home”

  1. Hi. I am very interested in running a similar setup. Sonoff light switches in HomeKit via homebridge. Could you possible detail the process step by step by any chance? At level a non programmer could understand.

    Thanks!

    1. Hi Terron,

      I’ve used this article to set up my raspberry pi – btw, I’m also a non-programmer 🙂

      https://www.instructables.com/id/Install-Homebridge-on-Raspberry-Pi-and-Windows/

      This will guide you step by step to install homekit on Pi and the web interface plugin. This way you can access your homebridge and its settings through a web browser.

      For the Sonoff switches I use ewelink and the plugin you will need for that is called ewelink-max and is available at:

      https://www.npmjs.com/package/homebridge-ewelink-max

      With ewelink there are very little details to add in the config file as it uses your ewelink credentials to control everything. If you add a new device later, you can use the ewelink app to set it up, and your homebridge will pull the info from ewelink and pass it on to homekit. Ewelink only allows one device to login in. So usually that will be my homebridge and I dont use the app on my phone. However should I need to change something on the app, the app will log in and kick out the homebridge. This will cause the homebridge to crash. I simply reboot my Pi after I made changes and then it will log back in again. This is really a minor issue as I use my homekit and not the app except for the odd check for firmware updates every few months.

      Hope this info help.

      Regards
      R

      1. Thank you very much. With all that has been happening I haven’t had the time to progress with this. Looking forward to starting up this project this year. Your explanation is perfect!

  2. Hi, I had imported the multi coloured hue lights from the US, but after 6 months the lights stopped working one after the other . Did you have any problems with your light bulbs not lasting ? Not sure if it due to a voltage issue. So I haven’t bought any new ones . Scared it will go through the same issue . The cool thing is you can say commands on your appl watch too . My tv is also HomeKit enabled . Thinking of getting the robo vaccum

    1. Hi,
      I’ve mostly have the non-coloured ones and 3 coloured ones. One if the coloured ines stopped working after 12months, but all others are still okay after about 15 months

Leave a Reply

Your email address will not be published. Required fields are marked *