Just about the complicated. Start creating a wireless "smart home". Based on Linux technology, Z-Wave and MajorDoMo software

  • Tutorial

Part One: A small step-by-step instruction on the installation and initial setup of "Smart Home"


image

It so happened that life forced us to proceed with the partial automation of the apartment, especially in terms of its safety, taps, gas, electricity, electricity, and then everything else.

For myself, I defined the following criteria:

  1. The place is an apartment, where alteration (a significant alteration of something is not planned).
  2. The ability to integrate all solutions into a single open source data management system.
  3. The possibility of a gradual expansion (scaling) of the functional.
  4. If possible, the minimum cost.
  5. If possible, purchase elements of the system in the Republic of Belarus or in the Russian Federation, without any orders from foreign sites. Came, looked, bought.
  6. If possible, the Russian-language interface, documentation, support.

For myself, I defined the open Z-wave protocol, the heart of the system is the Raspberry PI unicameral computer (I was exactly the way it was) with a Razberry controller running on the Z-Wave + protocol. Software chose MajorDoMo. Both protocol and software satisfy my requirements.

As an assistant, I decided to attract my eldest son (a schoolboy, finished 8th grade). And I understand the existing documentation is quite difficult for a regular user who does not encounter configuration, configuration and programming.

So I decided to fill this gap a little.

About video surveillance previously wrote a small note:

Remote monitoring and surveillance of sick (elderly) people, based on the Xiaomi MiJia Mi Home Security 360 IP camera . I plan to test several more cameras.

Create bootable disk:


First of all, download the system image for further actions:

link to the software developer page
link to download the image

To create a bootable USB flash drive, I used the officially recommended program by the manufacturer Raspberry.

Raspberry website

On the official developer website of the downloader program website .

image

Immediately on the site is determined by the bit OS, and provides a link to download.

Also clearly shows 3 steps to burn the image.

1) Image selection
2) Disk selection
3) Burn

Install Etcher

And create a boot disk based on the image that you previously downloaded (after unpacking it).

We connect the Raspberry Pi via an HDMI cable and connect the keyboard.

Turn on the Raspberry.

The system is loading, after which the login and password request.

We use the default: login PI, password raspberrymj .

The entered password characters are not displayed.

image

We launch the Raspberry configuration utility.

sudo raspi-config 

image

First of all, I changed the default password, I was bored with typing 11 characters.

image

Next, we configure our network, in my case, we enter ssid (network name) and the password to it.

image

image

With basic, the SSH connection is already enabled, so this step can be skipped. If it is not open, then open access for remote connection via SSH>

image

image

More detailed information about the configuration utility settings is here:
some information about rasp-config .

Reboot by running the command:

sudo reboot

Log in again by entering a username and password.

Find out the IP address of Raspberry by specifying the command:

ifconfig

image

wlan0, in my case, and there is a wireless interface.

Having set the ping command, we can check access to Internet

Ping 8.8.8.8

image

If everything went well, then we see the answers
Exiting the ping utility (and indeed from many utilities)
ctrl + C

After that, we can work under a convenient and familiar operating system.

For windows 10, I give an example:

Download the PuTTY program, choosing your own Windows OS.

Link to download
Putty for 64bit

Run the PuTTY program.

PuTTY Step-by-Step Launch


The connection window appears:

Specify the IP address of Raspberry:

image

Next, set the Terminal-Keyboard in the settings : Set the

image

utf8 encoding, in the Window - Translation

image

Press OPEN

If we connect for the first time, the system security prompt appears, click YES

image

. Login request, and then the password. As with the first connection.

When you enter the password as usual, the characters are not displayed.

image

We check, just in case, our IP address by specifying the command

Ifconfig

On a working PC, in the browser we type the address of the board:

Congratulations!

The first step has been taken. You get to the MajorDoMo program settings window.

image

But it’s still too early to rejoice, ahead you have to install and configure Z-Wave itself, deal with the administration program of your “smart home”, its programming, etc.

Sources:


Information about technology from Wikipedia
Z-wave alliance
Z-wave.me
Z-wave.ru
Z-wave.by Developer
site MajorDoMo
Forum

Also popular now: