If you have a home automation system such as Smartthings and want to be able to use Siri to control your home devices (open doors, turn on lights, etc). You need to install an open source software called “Homebridge”.
If you own a Mac these are the instructions (using terminal):
1- Install Homebrew:
$ xcode-select –install
$ ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
$ brew doctor
2- Install NPM (Node Package Manager)
command line: $ brew install node
or download it from here: https://nodejs.org/en/
3- Install homebridge:
$ sudo npm install homebridge
if you get an error change the /usr/local/lib/node_modules directory permissions to 777 (temporarily)
4- Run home bridge
5- Create the config.json file and copy it to $HOME/.homebridge
This is code sample:
Content of config.json
“description”: “JSON API”,
6- Install plugins (https://www.npmjs.com)
These are the ones that I tried and it’s respective npm commands:
7- Add HomeKit to iOS
HomeKit is actually not an app; it’s a “database” similar to HealthKit and PassKit. You can try iDevice, Eve or Devices to be able to discover “homebridge” on your network.
When you attempt to add Homebridge, it will ask for a “PIN code”. The default code is 031-45-154
8- Remote Access (outside the home network):
If you own a third-generation Apple TV or newer, HomeKit accessories can be controlled with an iOS device away from home, even when Wi-Fi or Bluetooth are not available and you’re using a phone’s cellular connection.
Accomplished professional with over 20 years of IT experience and track record in leading initiatives pertaining Cloud Technologies and SaaS. Strong capacity for understanding and effectively communicating technology being utilized to internal and external audiences. Solid background in Sales Engineering and Consulting in both Global and Domestic markets.