Just about the complicated. Start creating a wireless "smart home". Based on Linux technology, Z-Wave and MajorDoMo software
Part One: A small step-by-step instruction on the installation and initial setup of "Smart Home"
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:
- The place is an apartment, where alteration (a significant alteration of something is not planned).
- The ability to integrate all solutions into a single open source data management system.
- The possibility of a gradual expansion (scaling) of the functional.
- If possible, the minimum cost.
- 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.
- 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 .
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
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.
We launch the Raspberry configuration utility.
First of all, I changed the default password, I was bored with typing 11 characters.
Next, we configure our network, in my case, we enter ssid (network name) and the password to it.
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>
More detailed information about the configuration utility settings is here:
some information about rasp-config .
Reboot by running the command:
Log in again by entering a username and password.
Find out the IP address of Raspberry by specifying the command:
wlan0, in my case, and there is a wireless interface.
Having set the ping command, we can check access to Internet
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:
Next, set the Terminal-Keyboard in the settings : Set the
utf8 encoding, in the Window - Translation
If we connect for the first time, the system security prompt appears, click YES
. Login request, and then the password. As with the first connection.
When you enter the password as usual, the characters are not displayed.
We check, just in case, our IP address by specifying the command
On a working PC, in the browser we type the address of the board:
The first step has been taken. You get to the MajorDoMo program settings window.
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.
Information about technology from Wikipedia