Repurposing Old Smartphones for Home Automation
linux.com
linux.com
The phones are running a free IP camera app, while in airplane mode, with WiFi turned on. Then, I've got an old whitebox (PIII / 1GB RAM) running Lubuntu, that monitors the feeds via Motion[1]. Everything is isolated on a subnet, where WAN access is denied. If needed, it's easy to allow remote access to the whitebox and/or camera feeds, automatic FTP uploads of captured data, and email alerts.
It was unbelievably simple to set up, completely free, and it works like a charm. The most difficult part was physically positioning the phones. You could get fancy and use ZoneMinder, but Motion's footprint is tiny enough that the old Lubuntu machine doesn't even break a sweat (7-12% CPU / 10% RAM total, including the OS).
They're not nearly as old as the whitebox, but they're old in smartphone terms, and there are millions of them floating around that can be had for dirt cheap. Mine are just phones that I upgraded from, they were doing nothing but gathering dust.
[0]: https://play.google.com/store/apps/details?id=web.oss.sshsft...
[1]: https://play.google.com/store/apps/details?id=com.zerotier.o...
Not really under active development, it seems, especially with FirefoxOS going bye bye, but it basically boots you right into the browser, no cruft or chrome, and puts you in "god mode" with access to everything possible through Mozilla's special "web api" stuff. It's pretty neat, and fun, and really got me jazzed about the idea of repurposing $30 phones to do cool stuff. You can't even get a GSM radio for dev boards for $30, much less the screen, battery, charging circuitry, accelerometer, etc.
Does anybody know of a stripped down android install that is similar? Maybe scriptable with javascript or lua, basic browser-based display available?
I ended up keeping a footbag[2] ontop of the proximity sensor and when it was removed, it would notify my office-mates (via slack) that it was time to stop working and come play some footbag :) Source is on GitHub[3]
[1] http://janos.io/about.html
A simple way to get started on Android can be "Automagic".
It lets you trigger actions based on events and conditions.
Events can be almost anything the phone can sense.
Actions can be almost anything the phone can do including sending requests over http(s), mail or sms.
(Not affiliated, just like it.)