Skip to content
Ari Keränen edited this page Jul 11, 2019 · 10 revisions

Logistics

When: March 23 and 24, 2019

Where: Prague Hilton

Room: Grand Hilton Ballroom

Remote participation: https://meet.jit.si/t2trg-wishi-hackathon-ietf104

Notes: https://etherpad.tools.ietf.org/p/notes-t2trg-wishi-hackathon-ietf104

Planned hacking topics:

  • CoRAL and hypermedia for IoT
  • WoT and iotschema enabling interoperability across ecosystems
  • Extracting iotschema vocabularies from existing data models

Common resources

Implementations

RIOT implementation of CoRAL: https://github.com/leandrolanzieri/RIOT/tree/pr/sys-coral

Python implementation of CoRAL: https://gitlab.com/chrysn/micrurus

Thing Directories

WoT plugfest Thing Directory (latest Thing Directory version):

http://plugfest.thingweb.io:8081/

Thingweb Directory v0.9:

http://129.192.70.97:8080/

Tiny Thing Directory

TD implementation based on Node-WoT:

http://129.192.70.97:8082

Accepts any JSON (e.g., a Thing Description) POSTed to tiny-tdir/actions/td/ over HTTP. Stores the JSON document and returns the new resource's location (path) in payload. Resource location is created based on the value of the "id" field (if any) in the JSON document.

Web UI for posting Thing Descriptions to Tiny-TDIR:

http://129.192.70.97:8084/

Information about things in the Tiny-TDIR: http://129.192.70.97:8082/tiny-tdir/

Same with pretty print JSON: https://jsonformatter.org/json-pretty-print/?url=http://129.192.70.97:8082/tiny-tdir/

LwM2M management server

Leshan LwM2M management server: coap://129.192.70.97

Web interface: http://129.192.70.97:8081/

Debug output: http://129.192.70.97/leshan-log.txt

Specifications

In the hackathon we are using the following versions (in general the latest) of relevant technologies.

Proto setups

LwM2M TD generator

Program generating W3C WoT Thing Descriptions from information about LwM2M clients registered to LwM2M management server.

Thing Description of of live demo LwM2M device: in plain JSON and Pretty print JSON

Tools used in Hackathon

CoAP clients

CoAP shell

Interactive, command line interface for interacting with CoAP enabled servers: https://github.com/tzolov/coap-shell

Copper CoAP client

This requires old version (55) of Firefox.

For Mac or for windows

Steps to disable auto updates to allow installing Copper:

  1. Ensure to start offline (no Internet connection!) and disable auto updates
  2. Open about:config
  3. Search browser.tabs.remote.autostart and browser.tabs.remote.autostart.2
  4. Set both to false
  5. Open preferences
  6. Go to advanced -> update
  7. Check "never check for updates (not recommended: security risk)"
  8. Go back on-line
  9. Go to tools->add-ons
  10. Search for "Copper"
  11. Install, restart
  12. Done

And do not use this version of Firefox for anything else than Copper since it is likely to have security risks!

(Based on instructions from Copper Github)

LwM2M servers and clients

Leshan: https://www.eclipse.org/leshan/

(see more at https://github.com/t2trg/wishi/wiki/Implementations#oma-lightweightm2m)

Validators

WoT TD validator: http://plugfest.thingweb.io/playground/

Clone this wiki locally