HackedTheHouse - and won 2nd Price!
Last weekend I attended HackTheHouse, a 24hrs Hackathon in Berlin, organized by Relayr and BSH - all in the Name of IoT. I teamed up with Chris(ccb23), Clemens and Roby from Italy. We had a blast!
We were given a couple of BSH Home appliances, Relayr WunderBars, Arduino, RaspberryPi, Seeedstudio Grove, Nest etc. - so all the Toys a hardware hacker only could think of.
Our idea was to bring FUN the to dull, boring household tasks. We solve this problem by gamify cleaning duties - regular household tasks are turned into a big game, you score every-time you fulfill a task, as sooner and thoroughly, as more points you get.
After 24hrs we presented a first prototype - including a dishwasher, a smart trashcan and a smart broom. The jury was amazed and we scored the 2nd price!
https://twitter.com/relayr_cloud/status/572043608691499008
See our Hacklog, Repository, Pictures and more here:
Maslow's pyramid of code review
Must Read: http://blog.d3in.org/post/111338685456/maslows-pyramid-of-code-review
Great sources for great Software Development
There was recently a call on the Softwerkskammer Emailgroup for good sources to improve ones software development skills. Here a summary of all recommendations:
* Buch: Headfirst Design Patterns
* OOSE, Vielleicht hilft Dir das hier weiter: http://www.oose.de/training/objektorientiertes-design-mit-entwurfsmustern/
- OOSE für die Schulung ‘iSAQB’
* http://www.sigs-datacom.de/seminare/akademien/clean-code-developer.html .
* Videoreihe von Robert C. Martin: http://cleancoders.com
* Robert C. Martin - Agile Software Development, Principles, Patterns, Practices. In this book the notion of SOLID Principles is very well documented.
* Gang of Four - Design Patterns: Elements of Reusable Object-Oriented Software
* Apprenticeship Patterns http://shop.oreilly.com/product/9780596518387.do
* Skillsmatters Von ndc Oredev
* State: Tennis Kata http://garajeando.blogspot.de/2012/11/refactoring-kata-tennis-to-state-pattern.html
- Bsp zur Tennis Kata: http://blog.ploeh.dk/2011/05/16/TennisKatawithimmutabletypesandacyclomaticcomplexityof1/
* “refactoring to patterns” von joshua kerievsky
* Video-seite wurde ich alles von Kevlin Henney
* “Domain Driven Design” von Eric Evans für Einsteiger ist “implementing Domain driven Design”
* “Being the Worst” podcast
* m.feathers mit “working effectivly with legacy Code”
* “Refactoring - Improving the Design of Existing Code”. Fowler ist ein Meister des OO-Design und das Buch ist voller Beispiele. http://martinfowler.com/books/refactoring.html
IrDude - A simple android app to control my stereo via IR
I recently wrote a simple Android App which allows me to control my HarmonKardon Avr-35 stereo remotely via IR. Presenting: IrDude.
It uses the an undocumented Samsung IR API, so its unfortunately very much tight to Samsung galaxy note 10.1 tablet. Nevertheless, it does the Job for my, and is hopefully a good starting point for other to do similar. Check http://www.remotecentral.com to find hex codes to support other devices.
https://github.com/rngtng/IrDude
[image from IR PUCK]
Hacking the Pinball machine (Take Two)
30.Nov 2014
Wow, wow, wow - I finally got my hand dirty hacking. Together with ccb23, I (once again) opened up our Teenage Mutant Ninja Turtles Pinball machine to ‘pirate’ the current game score to throw into teh internetz!
To be honest, it’s take two. We already did so nearly 18 month ago, but failed to document and write about our experience in full. In short, we reverse-engineered the graphic card protocol of the pinball machine, connected an Arduino to listen on the bus and ‘pirate’ the game score. But due to its lack of internet connection we forwarded the data via RFID injection to a Nabaztag Rabbit, which send the message to an API endpoint of a rails application. So what’s left are a couple of prototype projects:
- A Arduino sketch to listen to the graphic-bus.
- The NabaztagInjector to send the data via RFID to a WIFI connected Nabaztag rabbit.
- A rails app & API PinPirate to receive the data, display the score and send out tweets.
Yes, this worked! Proof of concept - done! Unfortunately it turned out that all was very shaky and not very reliable, so we left it for a while until now, back to tackle the challenge again, but this time with a different approach: enter RaspberryPi.
Advantage:
- on board Internet
Disadvantage:
- we have a full OS - access to interrupts way more complicated
ccb23 managed to write a kernel module to direct access to Interrupts: http://elinux.org/RPi_Low-level_peripherals
With this module loaded and the pinball machine connected, listening to the graphic bus is as simple as:
cat /dev/????
The Dude is coming...
Oh yeah, I can’t believe Dutch Pinball did it. They are building a Big Lebowski pinball machine!!! I features all the legendary Movie characters, and of course, a bowling alley below the playfield. Can’t wait to get my hands on that.
Projects worth to donate to
It’s soon the end of the year and time to say ‘thank-you’ to projects and people I profit from on a regular basis. This year it its:
* iTerm - http://iterm2.com
* SequelPro - http://www.sequelpro.com
* DaviCal - http://www.davical.org
* Serial Podcast - http://serialpodcast.org
* Logbuch: Netzpolitik - http://logbuch-netzpolitik.de
* Alternativlos - http://alternativlos.org
* MacTechnews - get the App to support the project - http://www.mactechnews.de
* Outbank - http://www.outbank.de
* Time Pritlove - https://flattr.com/profile/timpritlove
* Jack Conte - http://www.patreon.com/JackConte
* more to come…
More on my Flattr Page:
https://flattr.com/profile/rngtng
Related: open call with @Flattr @GetCentUp @Patreon @GitTip on Sustainable Crowdfunding:
https://www.youtube.com/watch?v=l1-3AYgZRFQ
Pro Pinball: Timeshock! - The ULTRA Edition
https://www.youtube.com/watch?v=Xz17Kw9eGwg
OMG! its happening - The 90s are back!
https://www.pro-pinball.com/forum/index.php
Update: And even better, Silver Castle Pinball is building a real(!!!) Timeshock! Machine:
WunderBar
WunderBar - a great Internet of Things Starter Kit for App Developers:
http://www.dragoninnovation.com/projects/35-wunderbar-by-relayr
[via Moritz, thx]
DIY: custom y-connector ribbon cable
Conferences 2014 not to miss
Interesting Conferences not to miss:
Makerland: http://www.makerland.org
EuRuKo: http://euruko.org
I T.A.K.E: http://2014.itakeunconf.com
RE/Mixed Media Festival IV: http://remixnyc.com
beyondtellerrand http://beyondtellerrand.com/berlin-2014
31c3: http://events.ccc.de/tag/31c3
Running your own CardDav / CalDav Server
For years I’ve been running my own CalDav/CardDav server to sync my Contacts, Calendars and Reminders across all my devices. I’ve been very happy with DAViCal, until recently, I had to switch to a simple vhost which doesn’t offer PostgreSQL and custom apache cfgs. So I did some research which other implementations may be useful, those are most promising ones:
Radicale (Python + Mysql)
http://radicale.org
Baïkal (PHP + Mysql)
based on SabreDav
http://baikal-server.com
SabreDav (PHP + Mysql)
DAV Framework,
https://code.google.com/p/sabredav
DAViCal (PHP + PostgreSQL)
Very complete, but not that easy to install.
http://www.davical.org
Other:
Apple CalendarServer: http://trac.calendarserver.org
See full list:
http://caldav.calconnect.org/implementations/servers.html
LeapMotion
My Mountain Lion Setup 2013
ok some time passed since I wrote my dev setup, so here”s my current one *braindump*
Main Development Setup
Mountain Lion
xCode (or latest iPhone SDK)
Homebrew
Ruby: rvm + rubygems + rails etc.
Database: Mysql 5.1 + Sequel Pro
OpenVPN: Tunnelblick
iTerm 2
Sublime Text 3
Git + GitX (rowanj fork)
FTP & Co: Cyberduck
Hudson status: CCMenu
Share Files: Dropbox
Google Chrome
Safari
Firefox + Firebug
Extended Development
Arduino
Processing
Fritzing
Eclipse
Nice to have:
System Notification: Growl
IRC: hide join messages Adium
Skype
original Twitter client (suxx)
Bowtie
Spotify
All Codecs: Perian
Dasboard widgets: IP + App Update
Copy&Paste History: Flycut
Word replacement: iWork
Apple Mail
Installation hints:
Show hidden files: http://www.mikesel.info/show-hidden-files-mac-os-x-10-7-lion/
Show full dir: http://osxdaily.com/2007/12/02/show-full-directory-path-in-finder-window-title-bars/
EEVblog - OLED Multimeter Review
Wow, I just discovered EEVblog which has awesome video material for electronic geeks. This one will definitely help me choosing a new multimeter + its just fun to watch - stay tuuuned!