How is your smart home configured? Homekit, Yandex home, voice scripts, web interface with management and analytics

For a long time I thought about introducing a smart home system into my apartment, compared technologies and controllers, read reviews, and when the time came to do the electrics in the apartment, I decided to stop at Z-Wave wireless technology – a wide range of manufacturers and compatible devices.

The tasks were simple: control of lighting, underfloor heating, heating radiators, air conditioning for the summer season, protection against water leaks, a smart lock on the front door and a basic security system.

As the main system, I chose a controller with Z-Way software based on the RaZberry 7 Pro expansion board.

The board allows the Raspberry Pi mini computer to control Z-Wave smart home equipment. There is built-in integration with HomeKit, Yandex Alice, Google Home and a clear web interface. Compatible with Raspberry Pi 1/2/3A/3B/3A+/3B+/4B and even connect to Orange Pi.

You just need to install the Z-Way software. I used my existing Raspberry Pi 3b+.

Logged in via ssh to raspberry and downloaded the software with this command, standard raspberry password

ssh pi@192.168.1.77
wget -qO - https://storage.z-wave.me/RaspbianInstall | sudo bash

If the update is successfully installed, the z-way-server will restart and you can enter the smart home interface. Logging in via the web https://find.z-wave.me/ and see the ip address of the controller assigned by the router.

You can install the latest version of z-way, for this, on site manufacturer, we get a link to the distribution kit, and install it like this

PKG=z-way-server/z-way-3.2.2_armhf.deb && wget -O /tmp/$PKG https://storage.z-wave.me/z-way-server/$PKG && sudo dpkg -i /tmp/$PKG

To find out the name of the Wi-Fi network and its password from the resulting controller, enter this command

ssh pi@192.168.1.77 "cat /etc/hostapd/hostapd.conf | grep '^ssid=\|wpa_passphrase'"

At the time of connecting the controller, I had already mounted all the devices in their locations. For lighting switches installed two-channel relay manufacturer Philio for on / off control, in the kitchen I installed a dimmer for dimming the main light, connected an RGB controller to the LED strip for countertop lighting, in the bedroom there are 2 dimmable groups – RGB lighting for the ceiling – with LED strip around the perimeter and a floor lamp with an RGBW lamp, as well as several groups of on / off Heating is controlled by Z-Wave thermostats, underfloor heating thermostat Heatit Z-TRM 3.

The configuration web interface looks like this, there is a dashboard that contains frequently used scenarios and devices, rooms, all elements, the events tab and scenario settings. To add a Z-Wave device, go to Menu – device section – add new.

Devices can also be added via the Expert interface.

In Expert Ui, I can change the operating frequency of the controller, see the commands sent from devices, map the routes of the Z-Wave network, set up associations between devices, and even use zniffer to monitor signal quality and data types.
In Expert Ui, I can change the operating frequency of the controller, see the commands sent from devices, map the routes of the Z-Wave network, set up associations between devices, and even use zniffer to monitor signal quality and data types.

You can also see the logs with this command

tail -f /var/log/z-way-server.log

For example, I made the light brighter with a dimmer, the log shows that the brightness is 62%, the power consumption has increased to 11.2 W.

In the device section, you can see all active associations – sensors and switches communicate with actuators directly without the participation of the controller. This allows you to easily configure the system without using unnecessary scripts in the controller.

For example, when I needed a switch near the bed to run scripts, I set myself a wireless switch Heatit Z-Pushit runs on a single 1-2 year CR2450 battery, with a Z-Wave 700 series chip, encryption support and Smart Start function.

This is how the wireless switch looks in the Expert ui interface. I added it to the controller, configured the actions of the buttons, 3 types of clicks can be configured for each button.

The switch comes with replaceable keys for 1, 2 and 3 keys, you can assemble as convenient, batteries, a frame of the System 55 standard that allows you to place the switch in a frame with other devices, the size of the device is 55x55x13 mm.

Now the switch is hanging near the bed, 3 scenes are launched from it –

“Night” – turn off all the lights and unnecessary household appliances,

“On / off” bedside lighting,

“Morning” – Turn on the floor lamp, dimmer in the living room and in the kitchen, heat the warm floor.

In general, I sequentially added all the modules to the controller, arranged them by rooms and downloaded the standard mobile application Z-Wave.Me

I have displayed on the Dashboard smart lock for opening the door, some groups of lights, controlled sockets and an IP camera for easy viewing within one application.

About a smart lock – I chose based on the ease of installation and configuration of the lock. I don’t need a lock with a combination keypad and fingerprint opening, I wanted the door to look like a normal door from the outside and be able to open it with a key. Z-Wave lock was selected Danalock V3, complete with the lock is an adjustable larva that easily allows you to install the lock on any door. Installation took me no more than 30 minutes.

The Danalock V3 is powered by 4 CR123A batteries, which are also included, the charge will last for 1-2 years depending on the frequency of use, it is controlled via the Z-Wave application by radio or the Danalock application via Bluetooth, in which you can set the auto-opening of the lock when approaching – a useful feature .

Your hands are busy, you approach the door and it automatically opens when your phone is nearby (if Bluetooth and geolocation are turned on), and you can also distribute permanent or temporary access to everyone in the family.

In the smart home application on iOS, it is convenient to view the log for today, yesterday or the last 7 days.

I can always see when and where the sensors are triggered, the door opens, what temperature and humidity in the rooms, etc.

For convenient control, I hung the iPad on the wall in the docking station and set up the Apple Home application on it. My iPad is my home center, so Apple Home works both locally on my home wi-fi network and remotely.

Integration with Homekit is extremely simple, there is a store of free applications in the controller interface. Go to Menu – Applications – Local and see Apple HomeKit Gate there

Selecting devices that we do not need to display in HomeKit – I removed energy sensors, some temperature and light sensors from multi-sensor motion and widgets of unused buttons.

We enter the generated pin code in the Apple Home application and transfer all devices there from room to room.

I also have several Xiaomi devices in HomeKit that work through the Aqara hub, I use them in general automation with Z-Wave devices.

Each room has its own widget of switched on devices, when you click on the widget of switched on lighting devices, all the lights in the room turn off.

Automation also simply works, by sensors, by geolocation, by opening a door, schedule or events, everything is simply configured.

Siri is not very functional for voice control, it’s more convenient for me to use Yandex Alice, besides, I have a Yandex Station in every room, and you can add a lot more third-party devices to the Yandex smart home without dancing with a tambourine. The controller is already ready for integration with Alice. To do this, download the application House with Alice.

We log in there and add a new “Smart Home Device”. We find Z-Wave.Me in a huge list of manufacturers, go to the account authorization page, enter the controller id and password.

Further, as in setting up the plug-in for Apple HomeKit, we select which devices to add, distribute them among the rooms, and create the necessary scripts

Ready. In the Yandex application interface, all my Z-Wave devices and other Wi-Fi devices are visible: a kettle, a Yandex remote control that controls TV and air conditioning, several smart sockets and a Sonoff Wi-Fi relay.

So for example, I have the “I’m at home” scene set up, now when I come home, I say: Alice, I’m at home, She will turn on the music on all devices, adjust the lighting and temperature in the house, turn on the kettle and tell the news.

There can be many scenarios, here are a few more that help me

“Alice, Good night” – Sleep music is turned on for 30 minutes, night lighting, all overhead lights are turned off, the humidifier works in automatic mode maintaining the set value. night illumination is turned on – spot lighting (in the bathroom).

“Alice, Good morning” The music for charging turns on, the bedside lamp turns off bedside lamps; smooth switching on of the ceiling lighting with a sunny color, the humidifier works in automatic mode maintaining the set value, the lighting in the bathroom turns off.

/
/

“Alice, I’m hot” – room Bedroom – the air conditioner turns on, the bedside lamp lights up (blue).

“Alice, make it warmer.” Turns off the air conditioner, the thermostatic head increases the temperature. Bedside lamps change color to red.

“Alice, let’s watch a movie” – Turn on the RGB tape and floor lamp in the living room by 20%, turn off all overhead lighting, Turn on the TV. “Alice, I’m leaving” Turn off all household appliances (except the refrigerator). The climate goes into eco-mode. All lights and sockets are turned off, the TV is turned off, the weather forecast is said.

The whole system with sensors, thermostats, executive relays, dimmers, a lock on the front door and a controller work properly, it is convenient to use the Apple Home application, automation configured there and Yandex Alice voice commands. There are plans to add curtain control, a robot vacuum cleaner and integrate the Tion breather into the overall system.

Similar Posts

Leave a Reply