Roku PhotoBridge Programming: Patterns and Pitfallsfrequal.com

Miscellaneous Roku APIs

Ambient Light Sensor

When you read the contents of /dev/roku/ambient, like so:
cat /dev/roku/ambient
You get back a number representing the amount of ambient light.

The range appears to be from 4865 (darkness) to 10000 (direct sunlight).

For the best customer experience with your application, you should vary the display brightness as the ambient light level changes. In particular, during bright sunlight the brightness should be increased.


Last modified on 23 Nov 2006 by AO

Copyright © 2024 Andrew Oliver