I am a massive user of smart home products and most of my home is linked up in some shape or form with smart home accessories. I am a user of Apple’s HomeKit to control my smart home accessories, but I have a number of devices that are not supported by HomeKit.
Searching the internet I found a possible solution in HomeBridge and whilst you can install HomeBridge on a Mac, PC or a Raspberry PI device, I run a QNAP NAS at home to manage my home entertainment and CCTV cameras and wanted to install HomeBridge on my QNAP. So after some searching the internet, I figured how to install HomeBridge on a QNAP NAS and I wanted to share this knowledge with those of you that are wanting to do the same.
What is HomeBridge
Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports Plugins, which are community-contributed modules that provide a basic bridge from HomeKit to various 3rd-party APIs provided by manufacturers of “smart home” devices. So in short, if you wanted to use non homeKit devices like me then HomeBridge could a solution for you.
What do need to run HomeBridge on a QNAP NAS
- A compatible QNAP NAS
- Container station installed
- Connected to a network with internet access
- iPhone, iPad or iPod running iOS 10 or later
Quick disclaimer – I am not held responsible for anything that goes wrong. I have got this working and use it with Hive Home, Neato and other products in my home with no issues.
How to install HomeBridge on a QNAP NAS – Step by step instructions
- Ensure that Container Station is installed via the QNAP App Center
- Open container station from the main QNAP app screen
- Click on “create”
- Search for HomeBridge. This will bring up lots of versions, but choose the one named marcoraddatz/homebridge this is the most stable and easier to manage, I have found
- Click install and choose the “Latest Build” this will take you to a create screen
- Create a friendly name that you can identify later, make sure auto start is selected and set the resources to what you think you can allow.
- Click Advanced Settings > Network and change the Network Mode to Bridge.
- Open up QNAP’s File Station and create a folder called HomeBridge in the root of the volume. This will allow you to modify the HomeBridge files via QNAP’s File Station.
- Click Advanced Settings > Shared Folders and select the folder HomeBridge you created in step 8. Then in the Mount Point map, a QNAP folder too
- Once you have done all of that and checked the settings above, press create. This could take some time as the download is 1.1GB. So sit tight and wait for HomeBridge to install.
- Whilst you are waiting, click on the links below and download the below files. You don’t need to modify unless you want to.
- Once the HomeBridge is up and running, you now need to stop the HomeBridge running
- Upload the files above using QNAP’s File Station your homebridge files into the shared folder (Step 8) Now restart the HomeBridge in container station
- Open the HomeKit app on your iOS device. In the left and corner press the arrow symbol, then Home settings
- Then press Add Home
- Name it something, whatever you like and then save.
- Go back to the HomeKit app screen and then click Add Accessory
- Scan the QR code in the container station console and everything should link up. If you are having trouble scanning the QR code then use the code in the console.
That’s it, you have now setup HomeBridge on a QNAP NAS using container station. You can now add smart home accessories onto HomeBridge. If you have any questions or comments how this tutorial how to install HomeBridge on a QNAP NAS using container station then leave a comment below