We have already taken you through the process of setting up a smart home with Home Assistant as well as through some basics of setting up a component in Home Assistant, Philips Hue. But for a truly amazing smart home, you are going to need a few more components than just some Philips Hue lights.
To help you through that expansion we are going to take you through various components, including sensors, switches, and more. But instead of doing that in one article we are going to draw things out a bit with product-by-product articles.
To start off we are going to talk you through a pretty awesome door/window sensor called the Sensative Strips Guard.
Disclosure: Sensative sent us a sample of the Strips Guard for the purpose of this guide and for a review (coming soon), as usual, they have no input into what we write, we just like their product :).
This product is so awesome because one of the best-looking door/window sensors out there because it has a unique design that allows it to be placed “invisibly” within your door and window that means that you don’t have to look at it, ever.
Despite that, it still looks pretty sleek. We are going to talk more about the features and the design in our upcoming review of Strips Guard.
There are two parts to the Strips, the main unit and the magnet.
To get it setup, you first need to get Z-Wave setup with your Raspberry Pi, to do this you can either use a Z-Wave hub, a USB drive, or a GPIO unit. The main differences between those are that GPIO and USB units keep everything contained so you don’t have to plug in any other boxes. With the separate hub, you will need another source of power and another connection to your router.
For this guide, we are going to be using a Z-Wave USB stick, in particular, the Z-Wave.Me UZB USB Stick.
We have already gone through the setup process of Z-Wave with Home Assistant, so if you have yet to do that, check out this article.
Once you have your Z-Wave receiver plugged in and ready to go, you need to pair it with your new Sensative Strips.
To start off you need to head over to the Services panel of your Home Assistant page and then click on the ‘Services’ button, which looks like a remote.
Once you are on this screen you to click the ‘Domain’ drop-down and then scroll down to and click on Z-Wave.
Finally, select the ‘add_node’ service on the ‘Service’ drop down and then hit the ‘Call Service’ button at the bottom.
Now we need to go back to our Strip and the tape off of the two metal strips that are attached to your strip, one of these is the magnet that you are going to need to place on your door or window and the other is a circular puck-like device that you will need for the following setup.
Grab the puck-like device and tap it on the straight end of the strip. The light within the logo should light up to confirm. You need to then repeat this two more times within 10 seconds and then your Z-Wave receiver should pair with the Strips and you should be ready to go.
If you look at the ‘States’ section of your Home Assistant page you should now see the sensors from the Sensative Strip with in, they won’t look as neat as mine in the image above, however, you can easily sort them into groups using this tutorial.
You will also notice that right now, you are only getting a bunch of numbers.
In order to get something a little more readable, we are going to need to setup another sensor that will simply show whether the door is open or closed.
To do that, you need to add the following code to your sensors section within your Home Assistant config.yaml page, if you don’t have one you yet then you need to add the tag “sensor:” before the following:
Also, add the following to your Home Assistant’s customise section to tell Home Assistant that it is for a door:
And that’s it.
If you are looking for some more smart home setup guides, here’s what we have published previously: