W3C home > Mailing lists > Public > public-wot-ig@w3.org > June 2015

FYI - GitHub repository for NodeJS WoT Framework server

From: Dave Raggett <dsr@w3.org>
Date: Mon, 1 Jun 2015 13:35:17 +0100
Message-Id: <6520ED94-6DA4-4C57-ADEE-703106DB6FFB@w3.org>
To: Public Web of Things IG <public-wot-ig@w3.org>
I have now been able to create a GitHub repository for a Web of Things server based on NodeJS.

     https://github.com/w3c/web-of-things-framework <https://github.com/w3c/web-of-things-framework>

Joachim Bauernberger is helping to introduce me to people who may be able to help with the project. The idea is to build on the NodeJS community to explore and refine ideas for the web of things framework and to launch further server projects for microcontrollers and for the cloud. The initial work has focused on using Web Sockets for messaging, but we plan to add support for CoAP and MQTT, as well as a pure HTTP binding.  I will encourage people to join the W3C Web Things Community Group as a forum for contributing to the discussion around practical experience and ideas for standardisation, that can in turn feed into the Interest Group.

Note that the server is comprised from an HTTP server, a Web Sockets server, and a Web Sockets client, which is used to connect to other servers when you want a proxy object on this server for a thing on another server.  I have also provided a web page library that allows web page scripts to create proxy objects for things on a web of things server.

The code is still incomplete. The demo currently shows how to create a locally hosted thing given its model and implementation, and successfully resolves circular dependencies. I am still working on the server APIs for registering a proxy for a thing on another server, and contrary-wise for registering a proxy on a remote server for a thing on this server, something needed to expose things outside of the firewall.

Future work will address richer communications metadata, drivers for sensors and actuators, and bindings to CoAP and MQTT where we expect to work on extending existing C implementations of servers for microcontrollers.

p.s. this has already triggered a blog post likening I2C as the electronic equivalent of HTTP GET, PUT, PATCH and POST, see: http://bitlab.io/iot-i2c-spec

   Dave Raggett <dsr@w3.org <mailto:dsr@w3.org>>

Received on Monday, 1 June 2015 12:35:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:35 UTC