W3C home > Mailing lists > Public > public-wot-ig@w3.org > September 2016

Re: Browser as an universal client for IoT

From: Dave Raggett <dsr@w3.org>
Date: Fri, 23 Sep 2016 17:32:08 +0100
Cc: 전종홍 <hollobit@etri.re.kr>, Public Web of Things IG <public-wot-ig@w3.org>
Message-Id: <BEA1E688-E50C-496D-9A01-3A9B23F3CBA5@w3.org>
To: Jason Proctor <jason@mono.hm>
In the short term we can use a browser extension for the discovery of a gateway/hub, and then use HTTP and WebSockets to communicate with it.  I have a JavaScript library that uses HTTP to download thing descriptions and WebSockets for the thing messaging.  The library exposes an API to create software objects in the web page scripting environment from as proxies for remote things, starting from the URI for the thing description.

I want to work on a further experiment in which you visit a website and click on a link to install a service on your gateway/hub. A browser extension is used to pass the URI for installing the service from the website. This discovers the gateway/hub and passes it the installation URI. The extension further handles the user experience for requesting the user’s permission, including logging into the gateway/hub.  The gateway/hub is implemented in NodeJS. A related idea is a thing on the gateway/hub that exposes a management interface. This would for instance, provide a means for users to provide credentials for services to connect to the designated cloud services and for updating the user’s smart home services automatically or manually.

p.s. I have already implemented an mDNS client in C++ for the Arduino so that IoT devices can discover the gateway when booting up. This uses the Arduino Ethernet controller, but could be extended to work with say the ESP8266 wifi shield.

> On 23 Sep 2016, at 16:35, Jason Proctor <jason@mono.hm> wrote:
> 
> this is our approach too -- run web/websockets servers on the Things and use mDNS to find them. works great for us, at least!
> 
> 
> On Fri, Sep 23, 2016 at 2:02 AM, 전종홍 <hollobit@etri.re.kr <mailto:hollobit@etri.re.kr>> wrote:
> Hi All,
> 
> I’d like to propose one of different view point for WoT. 
> 
> I think we need to start to find the way how can we use the web client(UA or browser) as an universal IoT client. 
> 
> http://www.slideshare.net/hollobit/web-browser-as-universal-client-for-iot <http://www.slideshare.net/hollobit/web-browser-as-universal-client-for-iot>
> 
> How do you think about starting the idea scratch actions for web client as IoT browser in the WoT IG ?
> 
> Best Regards,
> 
> — Jonathan Jeon  
> 

—
   Dave Raggett <dsr@w3.org <mailto:dsr@w3.org>>
Received on Friday, 23 September 2016 16:32:33 UTC

This archive was generated by hypermail 2.3.1 : Friday, 23 September 2016 16:32:33 UTC