SmartThings HomeKit Integration

SmartThings HomeKit Integration

I previously created a tutorial showcasing HomeKit integration using Hombridge on a Mac. However, leaving a Mac running 24/7 is not a feasible option for some people, thus I decided to create a tutorial for Raspberry Pi, as it is an affordable alternative solution. If you aren’t familiar with Raspberry Pi, I recommend purchasing a Starter Kit. It comes with everything you need to get started (including preinstalled software), however you will also need a monitor, keyboard, and mouse for the initial setup. Afterwards, you can enable VNC on your Pi so you can remotely connect to it (Screen Sharing).

When paired with a pair of speakers, the Raspberry Pi can also voice audio notifications for SmartThings, function as an AirPlay Receiver, host a VPN Server, and even replicate the functionality of an Amazon Echo.

The Setup

  1. Launch Terminal and input the following command (without quotes): “curl – sSL | bash”

    This will run some code for 10-15 minutes.

    This is an excellent video that showcases this process. Follow until (1:28), don’t proceed any further

  2. Once that is completed, type “homebridge” (refer to 0:59) of the video.

  3. Once you see the pair code, quit home bridge with a ctrl c.

  4. Install the SmartThing’s plugin, input “sudo npm install -g homebridge-smartthings” into terminal.

  5. Follow the video below from 2:07 to 3:26

    GitHub Integration Tutorial

    Owner of “pdlove” and name of “homebridge-smartthings” and branch of “master” and then click save.

  6. Obtain the local IP Address of your Raspberry Pi and note it down. It should be something like 192.168.x.x or 10.0.1.x

  7. Download the config.json file (right click and download) and launch it with your favorite code editor app. (TextEdit won’t work) I am using TextWrangler.

    Replace the APP ID and APP TOKEN you previously copied from the SmartThing’s app. And input your Raspberry Pi local IP.

  8. Transfer the config.json to your Pi (email/flash drive) and place it in the /home/pi/.homebridge directory.

  9. On Terminal input “homebridge” to run homebridge. You will see the pair code that you can implement in the “Home App” as an accessory on your iOS Device.

That’s It! If you ever need to shutdown Homebridge simply type ctrl c.

Please leave a comment if you have any questions and please subscribe to our YouTube Channel.




SmartThings Hombridge Plugin


UPDATE SEPT. 21 2017:
sudo npm install -g –unsafe-perm homebridge
sudo npm install -g –unsafe-perm homebridge-smartthings


21 Responses to “SmartThings HomeKit Integration”

Leave a Reply

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