Technology

How to turn the Raspberry Pi into a hub for a smart home. Instructions for Dummies

Every fan of gadgets and pieces has already acquired a solid set of equipment for a smart home. Now devices from different manufacturers look like an untied vinaigrette.

To get the smart things in the house to interact with each other and get a convenient means of control, you have to choose one of the main control systems .

Users of Apple technology are simply doomed to work with HomeKit , but it is not at all necessary to buy supported gadgets. You can connect to the system almost any modern smart device.

What will we do with our Raspberry Pi? Let’s turn into a bridge for HomeKit

In order to be able to add almost any smart device to the Apple home control system, you should use so-called “pads” or “bridges”.

Special gadgets or computers with specific software can receive control signals from the HomeKit system and translate them into available commands for smart gadgets in the house.

The most affordable solution that is able to bind the Apple management system and pieces from different manufacturers is HomeBridge .

A special service can be run on a regular Windows PC or Mac. On the launch of HomeBridge on the computer, we have already described in detail earlier.

Keep running a single computer only for communication gadgets in the apartment does not want anyone easiest to adapt to the microcomputer the Raspberry Pi .

Stop, but what is a Raspberry Pi?

This is a small single board computer. Raspberry Pi for many years used in different fields. With the help of specialized software builds and firmware it can be turned into a media server, home cloud or computer for basic tasks.

So we will tell you how to launch the HomeBridge on Raspberry Pi, which will connect all the gadgets in the house with the Apple control system.

How to configure HomeBridge on Raspberry Pi

There are a lot of ways to install the necessary software on a miniature computer; I have chosen the easiest and most accessible for beginners.

First you need:

  • computer itself Raspberry Pi (better immediately in the case);
  • suitable power supply, charging from a smartphone at 2-3A;
  • microSD memory card with a capacity of at least 4 GB and an adapter for connecting it to a computer;
  • USB keyboard / mouse and monitor for initial setup.

Buy Raspberry Pi in different configurations can be from
US $38.41 – 63.82 

Do not be stingy, take a model with a case and a cooling radiator. You can retrofit the power supply unit if it is not available.

The rest, and so there is in the table or pantry each lover of gadgets.

Proceed to configure:

1. Download the latest operating system for the Raspberry Pi here .

2. Download and install the application Etcher to record the image on the memory card.

3. Open the downloaded image in the application, connect the memory card to the computer and unpack the image on it.

4. After the process is complete, install the memory card in the Raspberry Pi, turn on the device and connect the keyboard, mouse and monitor to it.

5. After the initial unpacking and configuration, the operating system will start. You can connect to the router via a cable or directly set the Wi-Fi connection parameters (Raspberry version 3 and higher models are equipped with a wireless module).

Usually, after connecting the “raspberry” to the network, a long procedure follows to enter special commands for installing and configuring all the necessary components for HomeBridge.

Thanks to enthusiasts with GitHub, the entire process can be shortened to the sequential input of four commands.

6. Start the Console on the Raspberry and in turn enter the commands:

sudo apt install git 
git clone https://github.com/fantomnotabene/homebridge_setup_script 
cd homebridge_setup_script 
bash install.sh

Do not forget to press the input after each of the four teams. After entering the last wait for the installation.

7. After 5-7 minutes, HomeBridge will be deployed to the Raspberry Pi, and you can connect to it via the web interface at raspberrypi.local: 8080 from any computer or smartphone inside the local network.

For authorization use the data:

Login: admin 
Password: admin

Using a QR code or a digital code from the web interface, you can easily add a hub to the Home application on the iPhone.

As you can see, everything was not so difficult. In this way, you can quickly reinstall the system and reconfigure HomeBridge in case of failures and malfunctions.

In the following material of this cycle I will tell how to connect and configure different smart devices for working with HomeKit.

Tags

Related Articles

Back to top button
Close