Cheap Basic Home Security with Arduino

Where by “Cheap” I mean low recurring/monthly subscription costs.

I decided to see if I could quickly build something simple myself since I could not find any off the shelf products that matched my needs or budget.

I was looking for a way to implement some kind of notification on my iPhone driven by a PIR sensor based occupancy detector, remote alarm triggering, resilient to power and internet outages (UPS battery backup), without paying huge monthly bills.

My current draft solution is:

PIR sensor -> Arduino -> GSM/GPRS modem Cellular shield -> Prowl iOS App etc.

The GSM shield would also be able to send/receive phone calls and text messages, but I am not sure if I need to use that. For now I will be using the T-Mobile prepaid pay by the day plan with 2G data which costs $2 for unlimited call/text/2G-data only on the days that it is used on, and can be kept alive for 90 days with $10.

The reason for using GSM here is that it will hopefully still keep on working even if the house power is turned off and the internet/phone lines are disconnected as long as the UPS it is powered by doesn’t die. Another useful thing would be to get main power disconnection notification messages using this current sensor.

I will be adding more information here as my plan crystallizes.

Advertisements

Kubuntu 12.04 broken with WUBI

WUBI or the Windows UBuntu Installer (rev 269) is not able to install Kubuntu 12.04 because the download link coded up in the app seems to be broken.

Looking at the output log file, C:\Users\<me>\AppData\Local\Temp\wubi-12.04-rev269.log I saw the following error:

09-03 16:30 ERROR CommonBackend: Cannot download metalink file http://releases.ubuntu.com/kubuntu/12.04/kubuntu-12.04-desktop-amd64.metalink err=[Errno 14] HTTP Error 404: Not Found

Searching around on google, it turns out that this is a known bug and the solution is to download the iso file and keep it in the same folder as the downloaded wubi.exe file.

I think the correct metalink file is meant to be the following:

http://cdimage.ubuntu.com/kubuntu/releases/12.04/release/kubuntu-12.04.1-desktop-amd64.metalink

I followed the instructions from the solution and got the kubuntu-12.04.1-desktop-amd64.iso file using the torrent and then the Kubuntu installation worked smoothly.