MQTT Hacks for Fun and... Fun!

32
MQTT hacks for fun and… err… fun! or, “on the Interconnectedness of All Things” Andy Piper @andypiper

description

A selection of MQTT hacks from around the community

Transcript of MQTT Hacks for Fun and... Fun!

MQTT hacks for fun and… err… fun!

or, “on the Interconnectedness of All Things”

Andy Piper@andypiper

a few things about me

Developer Advocate @ Cloud Foundrysocial web enthusiast

maker, educator, LEGO fanOSS supporter / contributor

Eclipse Committer (Paho / MQTT), mqtt.orgLondon IoT, Green Hackathon, Home Camp, Cleanweb etc

@[email protected]

the instrumented world online people, online objects|

“protocol soup” devices, formats, networks

History and background limitations of industrial deployment

memory, processing, network

Publish / Subscribe

MQTT != HTTPcomparing protocols

Data-centric Simple Lightweight

Distribution QoS Embeddable

… so it’s super-efficient for mobile!

code!

home hackers and makers - developers are king

Device integration Arduino and prototyping

http://chris.yeoh.info/?p=188

“Now, you may wonder why I would want 20 rubber ducks to flash when my phone goes off… there is no scientific or technical reason in itself. I just had a Mini Cooper’s worth of rubber ducks sitting around, unemployed.” - Chris Phillips

http://www.ossmedicine.org/home_automation/arduino/12/watering-the-garden-oss-style-a-year-with-some-open-hardware/

“It all started with the seemingly simple question – “How can I water the garden without leaving my laptop/phone/sofa using tech?”

- Dan Fish

http://knolleary.net/2010/04/22/how-i-got-onto-prime-time-bbc-one/

b

“Kevin already had the headset hooked up to MQTT, so it would be trivial to use my Arduino MQTT library to get them all talking.”

- Nick O'Leary

instrumented cheese...

Smart Energy

Improving healthcare

?

Try it

http://mqtt.org

http://mosquitto.org

http://eclipse.org/paho

http://m2m.eclipse.org

http://test.mosquitto.org

Github commit hooks, radio feeds, ActiveMQ, elwix, node.js, Ruby, Arduino, mbed, home automation...

pāho (verb) to broadcast,make widely known, announce,

disseminate, transmit. (via the Maori dictionary)

Java clientC client

Eclipse View

testing “sandbox”

+

AMQP MQTT

MQTT nanorouter! run OpenWRT & Mosquitto on a TP-Link TL-WR703N

Connect

http://mqtt.org@mqttorg

@andypiperhttp://andypiper.co.uk

http://slideshare.net/andypiper

Image credits

• Construct (cover) http://www.flickr.com/photos/stewdean/18717400/

• Ferry http://www.flickr.com/photos/tipsfortravellers/3657960168/

• Others author’s own, or royalty-free and CC-licensed works from sxc.hu, Flickr and Wikimedia Commons