Automatically lock Yale Z-Wave Lock with Vera and Fibaro Door Sensor

I got another toy today – the Fibaro Door and Window Sensor FGK-107.

The primary reason why I got it was I wanted to be able to automatically lock my door when it is closed. The Yale lock I got 2 weeks ago is Z-Wave enabled, which means I can connect it (wirelessly) to my Vera Lite home automation controller. One of the shortcomings of this lock is it won’t automatically lock when (and only when) the door is closed (like other fancy digital locks on the market these days). But no matter, the fact that it is Z-Wave enabled is it’s strength.

I purchased the Fibaro Z-Wave Door and Window sensor (FGK-107) today for the primary purpose of being able to tell when the door is closed (or not). The idea is, program a trigger so when the door is closed, send a signal to the lock to lock itself.

Connecting the sensor to the Vera was pretty straight forward, although the process is a bit different than what the instructions say. Take a look at this URL: http://www.dreamgreenhouse.com/reviews/2014/fibaroFGK101/index.php

Once it’s all configured, it looks something like this in Vera:

Now, on to creating the trigger. From the Automation screen,
Click on New Scene, then the Triggers sub tab. From there click “Add Trigger” and start configuring it. See my settings below:

A few important steps:

  1. Select the sensor device we just created
  2. Select “A sensor is tripped” for the type of event
  3. Select “not tripped” whcih is when the door is closed. When the door opens, the sensor IS tripped. So keep that in mind.
That’s it. Save your settings, reload, and give it a go. Here it is in action:

Advertisements

Prepping for Arduino Sensors with Vera (Z-Wave) Controller

I posted about my recent purchase of the Vera Lite Z-Wave controller the other day in a rather ambiguous blog title. Since then, I’ve been researching ways in which I can build my own sensors that would ultimately be much cheaper than buying ready-made Z-Wave sensors.

I came across this website that details a project that allows you to build your own sensors using Arduino, and it plugs directly into a Vera. On average, the sensors should cost anywhere around USD 10, but I’ll see what the actuals will be after I get all the pieces.

My initial plan is to get the following sensors built:

  1. Temperature for each room of the house (5 or 6)
  2. Humidity+Temperature for the two bathrooms (more on this later!)
  3. Barometric pressure+Temperature for outside (for fun)
I thought about trying to locate most of this stuff in Singapore but I figured I’d end up paying more than double of what I would if I sourced from China myself (and not to mention the time it would take for me to drive around and locate everything!)
The above linked project site was nice enough to link to individual products on eBay, so I decided to dust off my old eBay account and get purchasing.
Phase 1 cost me just about USD 120 (or about SGD 160) for the raw materials. This should get me a good 8 different sensors. Compare this to getting a Z-Wave-enabled Fibaro Universal sensor at GBP 36, plus the cost of the actual sensor chip – I think going this DIY route will save quite a bit of money. 
Future Plans
I have some thoughts of what to do in “Phase 2”. Building on the base, I want to do the following:
  1. Automated bathroom exhaust fan (using the humidity sensor)
  2. Automated plant waterer (using the not-yet-purchased moisture sensor)
I’ll report back when I get the devices. Work can’t start until I move in April or so any way..