Unnamed Project

A Programming Library for IoT

This Guy?

This Talk

A little bit technical

A little bit rock & roll

In the beginning

Weird Ideas

but, one thing at a time...

First Lines of Code

  • gpio mode 0 out
  • gpio write 0 1
  • gpio write 0 0

I threw up in my mouth a little bit when I saw this code.

Programming the Obvious

Code should be...

  • descriptive
  • portable
  • separation of concerns

Let's try this...

  • $$('led').on();
  • $$('led').off();
  • $$('temperature').get();
  • $$('temperature').live(3000);

What makes this possible

{"name":"descriptive_name", "abilities":[
{"type":"led","pin":16, "interface":"gpio","color":"red"},
{"type":"led","pin":15,"interface":"gpio","color":"green"},
{"type":"led","pin":18,"interface":"gpio","color":"blue"},
{"type":"temperature","pin":"28-000004acb882", "interface":"w1"}]}

Really? Javascript?

Every Device is a server

  • does the 'I' really mean Internet
  • device-to-device communication
  • do me a favour

Imaginary World Example

I cook alot

Wrapping-up

Thank You

pete@kitchon.com