W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Re: Proposal for ambient light

From: Philip Gladstone <pgladstone@cisco.com>
Date: Tue, 29 Nov 2011 10:35:57 -0500
Message-ID: <4ED4FBDD.6010105@cisco.com>
To: public-device-apis@w3.org
On 11/29/2011 6:58 AM, Robin Berjon wrote:
> On Nov 29, 2011, at 12:54 , Nilsson, Claes1 wrote:
>> An area of use cases where I don't think the CSS approach works is when we want to use the ambient light sensor on another device than the web application is running on, i.e. in connection with service discovery. For example, using the smart phone as a TV remote control and use the phone's ambient light sensor to control the contrast/light level on the TV.
> I'm not at all against finding new use cases — quite the contrary — but this one feels a bit far fetched :) I don't think I'd want the TV's contrast to change whenever my phone's moved around or someone walks next to it!
If we restrict ourselves to thinking about phones as being the only use 
case, then the applications are probably more limited. However, I don't 
see why this API should be restricted to phones. An advanced remote 
control for a TV (think a Harmony on steroids) might well want to know 
the ambient light level. In particular, an advanced remote control might 
well also control the room lights and/or window shades. Yes, you would 
want some significant filtering on the values returned by the ambient 
light sensor to prevent the 'person walking past' problem -- but that 
can easily be done in the Javascript.

I am hopeful that the sorts of APIs that we define will find their way 
into all sorts of devices -- even single purpose devices that just run a 
single "webapp".


Philip Gladstone
Distinguished Engineer
Product Development
Phone: +1 978-ZEN-TOAD (+1 978 936 8623)
Google: +1 978 800 1010
Ham radio: N1DQ
Blog: http://wwwin-blogs.cisco.com/pgladsto/

Cisco.com - http://www.cisco.com

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

For corporate legal information go to:

Received on Tuesday, 29 November 2011 15:36:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:51 UTC