Ubuntu Home Hacks - O'Reilly Mediaassets.en.oreilly.com/1/event/80/Ubuntu Home Hacks...Ubuntu Home...
Transcript of Ubuntu Home Hacks - O'Reilly Mediaassets.en.oreilly.com/1/event/80/Ubuntu Home Hacks...Ubuntu Home...
Ubuntu Home Hacks
Allison RandalShiftboard, Inc.
Rules
● Open Source● Open Hardware● Cheap● Real Virtual↔● Explore tech● Fun
v1.0
Sarah
● Eureka's “Self Actuated Residential Automated Habitat”
● Home Automation● Hardware focus
controller
client
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
node
JeeNode (v6)
● Arduino (ATmega328p)● HopeRF (RFM12B, 433MHz)● Tiny● ~$20● 66 byte packets● Low-level● CC-BY
http://jeelabs.net
PandaBoard
● Dual-core ARM● Ubuntu 11.10● Polling model● Aggregate● Command● CC-BY-SA
http://pandaboard.org
jQuery Mobile
● Small form factor● Javascript + CSS● Dual MIT/GPLv2
http://jquerymobile.com
Hiding in Plain Sight
v2.0
New Rules
● Mostly the same, but...● Less space● Less time● Increase budget, more options● New open hardware● Software focus● Ubuntu packages
Sam
● “Smart Apartment Monitor”● Smart Home● Extensive refactor (rewrite)● Pub-sub model● Neural/cloud
tempdtempd
lightdweatherd
aggregator
logd
PUBSUB
fand
client
speakd
heard
braind
demo
tempdtempd
lightdweatherd
aggregator
logd
PUBSUB
fand
client
speakd
heard
braind
TinkerForge
● Bricks● Bricklets● brickd● Language bindings
● temperature = brick_temp.get_temperature()
● 7 languages● CERN OHL● GPL, LGPL, Public Domain
http://tinkerforge.com
ØMQ
● “zero” message queue● Lightweight interface
● publisher.bind("tcp://10.0.3.36:5551")● subscriber.connect("tcp://10.0.3.36:5551")
● 23 languages● LGPLv3+
http://zeromq.org
PocketSphinx
● Voice recognition● Accuracy improved by
– Custom grammar● <command> = sam ( <coat> | <greet> | <fan> );
– Custom lexicon● THANKS TH AE NG K S
● 5 languages● BSD
Open Mary TTS
● Speech synthesis● HTTP interface
● http://10.0.3.1:59125/process?INPUT_TEXT=hello&INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&AUDIO=WAVE_FILE&LOCALE=en_US
● GPLv3/LGPLv3
http://mary.opendfki.de
Node.js
● Lightweight HTTP server● 42 lines● HTML/JSON● ØMQ bindings● MIT
http://nodejs.org
Beautiful Soup
● Web scraping● weather.gov● Siri?● BSD
http://crummy.com/software/BeautifulSoup/
sam-next
Ninja Blocks
● March Kickstarter● 587 people, $102k● Beaglebone● Ubuntu 12.04● Ninja Cape● Sensor boards● OSHW, CC-BY-SA
http://ninjablocks.com/
Future Features
● Ubuntu menu/launcher● More commands● Office node● Juju charms● Reward
Thanks
● Andy Gelme (message-based architecture)● Pete Moore, Ninja Blocks (Ninja Cape, sensor
boards, pre-release docs)● Olaf Lüke, TinkerForge (licensing)
Get the Source
● http://lohutok.net/talks/homehacks● https://github.com/allisonrandal/sam-server● MIT (or any OSI license)
Questions?