Reading my house activity to help my dad find his keys.

2 min read Original article ↗

Carlos Cabada

My house has been powered by IoT since July 2016, all designed and manufactured by my home automation startup (https://hivee.io).

Since that day I’ve been logging all the activity in my house, from movement detection sensors, to windows getting closed/opened and smart devices like light-bulbs and ACs being controlled.

Since July 5th, I have logged 783,709 entries of activity. That’s 2,881 entries a day.

Lots of data that could be useful to teach my house about how my family interacts with it so it can be helpful in some scenarios. Like turning on a light automatically after opening a door at night or turning on the staircase’s light when walking by it at night.

Building a visualizer for the data

Last week my dad arrived home with some glasses of wine in his body and lots of stuff happened in the house in that night; one of those things was the loss of his keys. My house has cameras but they are all outside, no cameras inside the house for privacy purposes, so no way to see what was going on inside the house.

Why not using all the activity log that has been logging since my house got a brain?

Here is an HTML5 tool I build to see all the activity in my house, divided by activity in areas of the house. Every line represents an entry of activity in the database, of any type, wether is a sensor being activated, a door being opened or a device being controlled.

You can also tell if a device has been controlled from a wall-switch or by someone in specific from it’s phone.

So… thanks to this my dad had one place left from all the searched places to look for his keys: The Laundry area. And voilà keys are back with my dad.

What’s next?

This tool is not a stuff-locator-tool, there’s a lot of things that could be done with all this data of my house being logged and this is where the next part begins: applying Artificial Intelligence techniques to try to predict what is going to happen next in my house so it decides on it’s own what’s best to do without being programmed to do it, like learning to turn on a light when walking in a dark aisle.

I’ll keep you updated. Cheers.