Just a little update, my last post was detailing how I’ve renewed my Minix Box, however I’ve since then essentially retired it. It was still usable (and I may still use it at a different location) I did come into an inexpensive laptop that works flawlessly for driving my TV. Since it has an SSD it starts significantly faster and with the extra horsepower doesn’t chug like the aging Minix.
I have started a few new side projects worth noting, I’ll discuss the one that’s taken up most of my time recently. In the past I picked up a few inexpensive WIFI low light webcams.
For the better part of 2 years I ran them with some commercial software called WebCamXP which allowed me to configure a wide range of motion sensing security for the cams, off-site storage of security footage, notification and so on. It worked really well, hence me using it for 2 years but… It required a dedicated Windows PC to JUST sit and monitor and detect camera footage. It’s not like I don’t have spare PCs lying around but it did use a significant amount of processing power to do complex frame comparisons to provide accurate motion detection. The cameras also, like most things that are inexpensive, were not terribly reliable, they would often need resetting. Most likely due to the sheer amount of traffic they were generating (5-12 FPS of a 720×540 feed running 24/7 on wifi).
For the last 6 months or so I sort of just disabled the system and the cams sat idle. Until I came across a inexpensive deal on DDR around a Chinese home monitoring system, “Xiaomi Mijia 6 in 1 Smart Home Security Kit“.
It arrived without issue from China and thankfully works pretty well out of the box. The initial gateway configuration was a bit strange considering the gateway ONLY speaks Chinese, the prompts however aren’t that important and it integrated with my WIFI fine and was able to detect all the supplemental devices just fine. The Kit I got came with the gateway (which acts as the hub for the sub devices), a motion sensor, door/window sensor, remote switch, Chinese specific AC WIFI plug and temperature humidity sensor. The nice thing is that it’s ridiculously easy to add new devices and the devices that came with the package were easily discovered by the gateway and instantly added to the Android app without issue.
I used the MIHOME kit for a few months, happy with how it was working. The sub devices run on coin batteries, can be placed pretty much anywhere in the home and work flawlessly.
One day I must have just been killing time and happened upon OpenHAB2. The premise is that it is a self contained package that runs on most systems (Win/Linux/RaspberryPI) which brings together all your internet type devices into one easy to use and manage location. Since I am running a Linux machine at home to manage my media and other services it made sense to install OpenHAB and see if I could get it to drive the MIHOME as well as the webcams and other devices. After some installation and configuration I had OpenHAB talking to the MIHOME kit, my garage door opener, Orvibo wifi socket, webcams, cell phones etc. The system allows me to write some pretty complex rules like:
“If no-one is home and I detect the garage door open then send Will an Android notification message saying….The Garage Door is open, did you leave it open?
”
or
“If I detect motion from the MIHOME motion sensor on the main floor and no one is home, turn on the WIFI socket and lamp, start recording the main floor webcam and send myself an Android notification message that motion was detected”
I’m still experimenting with it, I do wish it had a better remote viewing type application that was easier to use than configuring a VPN or other security type layers. I like that it uses significantly less power, less bandwidth with a lot more flexibility on what activities the devices are available to perform. I do like that OpenHAB is developed in Java, something I’m familiar with so making changes or investigating improvements is pretty easy, though the build system is quite complex.
I’ve since ordered a few more motion and door sensors for the MIHOME kit which will easily integrate with OpenHAB to provide better coverage for my home.