Skip to content
Ari Keränen edited this page Mar 23, 2019 · 17 revisions

Logistics

When: November 3rd and 4th, 2018

Where: Mariott Marquis Queen's Park

Room: Sala Thai Ballroom

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

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

Resources

Thing Directory

http://129.192.70.97:8080/ - Thingweb Directory v0.9 hosted by Ericsson, accessible from Internet. TDs generated from LwM2M devices are registered here.

For debugging, snapshot of the output: http://129.192.70.97/tdir-log.txt

WoT plugfest Thing Directory (latest Thing Directory version):

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

Tiny Thing Directory implementation based on Node-WoT:

http://129.192.70.97:8082

Accepts any JSON (e.g., TD) POSTed to tiny-tdir/actions/td/ over HTTP. Stores the TD and returns the created location in payload.

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

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:

  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/

Proto setups

Lights

Philips Hue light (as seen in the remote participation Jitsi): http://31.130.239.203/

Username: 14NaBIsEyoNSdU21KnsQHZzTUToNVWYQWhmj4xIG

For example, to turn the light on: curl -X PUT http://31.130.239.203/api/14NaBIsEyoNSdU21KnsQHZzTUToNVWYQWhmj4xIG/lights/1/state -d '{"on": true}'

For details, see Hue API

Debug web app: http://31.130.239.203/debug/clip.html

LwM2M WoT TD mapping proto

Idea: Make WoT servient interact with standard LwM2M client by generating WoT TD(s) out of LwM2M clients registered to LwM2M server. Annotate the TD with iotschema.org semantics.

See resources above for TDir and LwM2M MS addresses.

Leshan Client: coap://31.133.136.138:51234

Some Exposed Things

https://github.com/mjkoster/wot-plugfest/tree/master/wishi-103/TD

These are reachable over the internet except for the hue light, which is an example of a TD that can be used by node-wot

Clone this wiki locally