Select Page
IoT driving Home Automation

IoT driving Home Automation

iot_cheskyThe Internet of Things (IoT) market is a massive market consisting of a network of physical devices (thermostats, wearables, security cameras, sensors, etc) where those devices collect and exchange data. GE and Cisco are estimating that market to be between 15 Trillion to 19 Trillion Dollars (yes, with a T) by year 2020. Gartner’s more conservative estimate ranges from 1.9 Trillion in year 2013 to increase to 7.1 Trillion by year 2020.

According to Forbes in year 2008 there were more objects connected to the internet than people and by 2020 they estimate over 250k cars to be connected to the internet and this number is being revised rapidly with the third start up company having applied to self driving car permits in California, General Motors acquiring Cruise Automation in March 2013, Tesla taking pre-orders for their new car for the masses exceeding their expected amount of orders by a magnitude. Chevy Volt is already offering a published API where a smart home could communicate with the car.

thanks-to-apple-and-google-wearable-technology-is-on-track-to-become-a-50-billion-marketWearables also known as body-born computers are miniature computer devices and/or sensors feeding into the IoT world. The wearable market has grown 225% in year 2015 with over 4 Million Fitbits and over 3 Million iWatches sold and Samsung getting ready to release their Gear 4 in October 2016 and demonstrating their first fold able phone planned for 2017.

First prototypes and concepts are being shown for prosthetics with IoT embedded in the medical field which should come to no surprise to anybody given that wearables are often described as prosthetics to humans connecting the human to IoT so reversing this, providing more insight into health, does make sense.

Those sensors can report instantly to any target audience giving the “HELP, I have fallen and I can’t get up” commercial a new face lift and companies are already enhancing their portfolio leveraging such technology with fallback technology to ensure the safety of the person.

hitachi_rfidIn the same area Hitachi improved again their smallest RFID chip under the nick name “dust” or “powder”. This chip is so small enabling many use cases ranging from bugged money, smart luggage, a plethora of security use cases and even integration into the wearables.

This chip could give GEO fencing which the virtual fence around a geographical location a new approach being as simple as putting a small sticker with that chip on a cell phone, jacket, belt, shoes, etc. with a sensor reader at the smart home.

home-automationParks and Associates’ study shows that 40% of U.S. based households plan to purchase a smart home device within the next 12 months for year 2016. Bringing together the wearables, IoT sensors, smart car, etc we are facing some exciting times ahead of us.

The challenge is bringing all of those together in a meaningful and useful way which starts with communication. The different protocols and methods to communicate range from Bluetooth low energy, Z-Wave, ZigBee, LTE advanced to Wifi Direct and more to come.

Bluetooth mesh is a promising idea rising in 2016 given that all smart phones, tablets and wearables support Bluetooth via built-in antennas but time will tell the success rate as Z-wave was booming for quite some time and home automation controller companies are now embedding ZigBee support into their hubs.

bringing it togetherBringing it all together IoT is driving new technology development at a massive scale, connecting humans and objects to the internet. All IoT connected devices are collecting, exchanging and reporting data at scale for commercial and residential use cases.

The Home Automation market is driving and benefiting from IoT and is already a market sub-segment of the IoT overall market. Every telecommunication company on the planet is looking into IoT and are already or about to launch a home automation service as part of their portfolio e.g. Comcast Xfinity, AT&T Digital Life, etc. Not to forget the security companies who are going down the same route but on a different path using their security angle.

Personally I am excited what is coming next and how humans can benefit from “Technology”. Good times!

Garage Door

Garage Door

To automate your garage door you will need a simple Z-wave relay and a sensor to determine if the garage door is closed or opened. Depending on your home controller there are many ways to accomplish this but here are two examples.

Vera controller:

Z-wave FS20Z-1 Relay: http://www.amazon.com/GoControl-Z-Wave-Isolated-Contact-Fixture/dp/B00ER6MH22

(there is more expensive version out there from Evolve called LFM-20 and I have both of them. They both do the same job so why pay more for the same functionality).

LFM20

 

 

 

 

 

 

 

 

Z-wave Tilt Sensor: http://www.amazon.com/Ecolink-Z-Wave-Wireless-Tilt-Sensor/dp/B00HGVJRX2

tiltsensor

Smartthings Controller:

Z-wave Relay: http://www.amazon.com/GoControl-Z-Wave-Isolated-Contact-Fixture/dp/B00ER6MH22

LFM20

Z-wave contact sensor: https://shop.smartthings.com/#!/products/smartsense-multi

flat-multi

You will also need to install a plugin which controls the logic for the garage door. You could program this yourself as the logic is not very complex but why should you reinvent the wheel. The logic has to include things like trigger the garage door and let it run until it is closed and then check the sensor if the garage door is closed or open. It also has to cover the relay function as each garage door opener is different but they all have a certain logic in terms of how long a contact has to be opened or closed to perform certain actions. Just installing the Z-wave devices will NOT work out of the box.

I would also recommend to purchase a project box either at Home Depot or at Amazon to put the Z-wave relay and the wiring inside. The good news is that typically each garage door outlet on the ceiling has 2 power outlets so you can use one to power the garage door opener and one to power the Z-wave relay. The project box below placed on the garage door opener was purchased at Home Depot.

Garage Door

The Tilt sensors are typically battery operated and you can either screw them on the garage door or use Velcro. My battery lasted over 1 year before I had to replace it.

Garage Door Sensor

I would also recommend to create some logic in your home automation controller to make proper use of the setup above.

The most common use case is GEO fencing. GEO fencing is the term for location aware reaction of your home automation system.

geo fence In this example you create either one or two virtual fences around your home. The first fence is very close proximity e.g. 100 to 200 feet to capture if you leave your home. The second fence could be a couple of miles.

Most people go with one fence only but others go with a second one to e.g. set the temperature of the home to a more comfortable setting so by the time they get home, the house is nice and cool or warm and cozy.

In this case most people program their garage door to open when they approach their inner fence (or only fence). The opinions differ here because some people don’t like that as they only want to pick something up and they don’t plan to enter the home and in this case they don’t want the garage door to open.

In either case it is up to the individual to decide if GEO fencing is something useful and desirable assuming the person is ok with having location tracking enabled on their cell phone which most people don’t to save battery life.

Another use case is to warn people if the garage door is left open. There are people out there who purchase a camera just to check if the garage door is really closed or not. With the setup above you could program things like “If night and garage door open for more than x minutes then alert”. There are many ways to notify people and many rules you could create and again it depends on the end user but I hope the examples above sparked some ideas.

Happy Automation!

 

Video Intercom System via Tablets

Video Intercom System via Tablets

After trying a variety of doorbell systems on the market ranging from Doorbot now Ring, Skybell, etc. I decided to create my own intercom system which integrates into my home automation system. The reasoning for that was based on not having the ability to integrate any of those Out-of-box doorbell solutions into any existing home automation system without major hassle.

Video-Doorbellsring-video-doorbell skybell

For example almost all of those vendors promised for over 1 year now that they will release an API to 3rd party vendors can integrate to. They never provided any date and as a matter of fact they all changed their hardware and didn’t release any APIs.

Doorbot is no longer available and Ring is completely redesigned. Skybell is now at revision two of their hardware due to issues and on top of that some of those vendors don’t comply with standards. A great example is Skybell where they are changing multiple times per day their MAC address. Although intended to be a permanent and globally unique identification, it is possible to change the MAC address on most modern hardware. Changing MAC addresses is necessary in network virtualization. It can also be used in the process of exploiting security vulnerabilities. This is called MAC spoofing.

MAC addresses are formed according to the rules of one of three numbering name spaces managed by the Institute of Electrical and Electronics Engineers (IEEE): MAC-48, EUI-48, and EUI-64. EUI is an abbreviation for Extended Unique Identifier.

The real issue with Skybell is that they change their fourth digit of their MAC address multiple times per day from 0 to F randomly which makes it impossible to add the Skybell into the DMZ of your firewall of your router which is THE recommended solution of that company to ensure you can see and hear visitors when you are not at home and you want to talk to those visitors on your phone app.

dmz

After all of this and more negative experiences I decided to use a combination of hardware and software to accomplish my goals.

Required hardware:

You can buy cheap no-name tablets off Amazon starting at $60 for 10.1″ inches unless you want to go with smaller tablets.

Samsung Galaxy Tab 2

You will need a BlueIris server which is one of the best video surveillance NVR solutions out there but I am sure you can do the same with a DVR solution instead of a NVR solution.

cheap PC

At least one camera at the front door and this camera should support 2 way audio communication

Pan-Tilt-Zoom-Security-Camera

Required software:

BlueIris software ($60)

blueiris software

Tasker app from the Play Store ($3)

tasker

AutoVera app from the Play Store ($2.78)

AutoVera

BlueIris App from the Play Store ($9.99)

BlueIris_app

(sorry, but I am not an Apple/iOS guy anymore)

High level concept:

The doorbell press triggers a scene in Vera which can do a variety of things.

Doorbell

In parallel to that trigger you configure AutoVera to toggle notification on the “Doorbell” device which is the SM-103 from my previous post.

SM-103

This notification then triggers Tasker which then triggers the opening of the BlueIris App on the tablet.

BlueIris

Within BlueIris you can define groups of cameras which then allows you to configure the App on the Tablet to start the desired camera in full screen mode.

Family Room Tablet

Challenges with this approach:

The 2 way audio communication is highly dependent on the camera hardware and its audio capabilities. Most cameras claim audio support which is great and their microphones pick up sound fairly decent in most cases but unless you really invest in an expensive camera, you will have echos coming your way. The more expensive cameras do have “AEC” which is Acoustic Echo Cancellation as a feature and some of them also have “VAD” which is “Voice Activity Detection”.

Without those features you will have Echo when you open the BlueIris App on the tablet and you enable the 2 way audio communication. So unless you spend more money for a more sophisticated surveillance camera, your only option is to use the speak button on the tablet for your speech and you disable it after each sentence. In other words use the app like you would use a walky talky.

You should also check which camera has a built-in speaker or how do you want to connect an outdoor speaker to that camera. Most indoor cameras have very low quality speakers while most outdoor cameras don’t have any speaker at all but they have connectors to third party speakers.

Here is a video showing the working solution and you can hear the sound from outside on one of the tablets ready for 2 way audio communication.

 

Doorbell Z-wave Integration

Doorbell Z-wave Integration

To integrate your existing conventional doorbell into any existing Z-wave eco system, you have a variety of options to go about it. The method I chose was the easiest while requiring a little more hardware in terms of having to mess with timeouts, repetitive doorbell pressing, too long presses of the doorbell, etc.

Z-wave Doorbell Integration

Here is the hardware (total cost $60):

Elk Project Box

Relay

Door/Window Sensor Option 1

Door/Window Sensor Option 2

Integration process:

The N.C. terminals of the relay are wired to the external terminal connector on the Everspring window/door sensor, preventing the sensor from always showing as tripped in the home automation system.

SM-103

The relay is powered from the existing 24V power in the doorbell when the button is triggered and it also covers quick presses or long presses which otherwise could cause scene issues with your existing home automation system.

doorbell

Connect the “white with blue stripe” wire and the “white with yellow stripe” wire from the relay to the transformer terminals. Then connect the solid “yellow wire” and “solid blue wire” from the relay to the wire input terminal on the Everspring door/window sensor.

Integration into Vera or any other home automation is a breeze now. You create a trigger scene.

Doorbell Vera Trigger

Once the doorbell is being pressed the SM-103 will change state which you can detect with a trigger and then this could start any desired scene. As you can see in the video below the doorbell triggers a scene which makes Sonos speakers announce that somebody is at the door. You can control lights, etc as well.

If you want to get really fancy you can use PLEG and after you install the night/day plugin on Vera you could do things like “If night and doorbell pressed then enable front door light and announce on speakers” otherwise “doorbell pressed then announce on speakers”.

You will also see in the video below that the doorbell triggers the tablets to open the video app to show on all tablets in the house who is at the front door. I will cover this in the next post on how to integrate a video intercom system with the doorbell system.

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security
Verified by ExactMetrics