LinuxMCE Forums

General => Users => Topic started by: axel on May 26, 2012, 01:46:33 PM

Title: HSM 100 - brightness sensor. How to get the value?
Post by: axel on May 26, 2012, 01:46:33 PM
Hi,

I've installed the multilevel sensor (http://wiki.linuxmce.org/index.php/Express_Controls_EZmotion_%28HSM_100%29).
But I don't know in this case:
- how to get the brightness value from command line?
- how to use the brightness value in Event Criteria section of advanced Events?
Or is there another way to use the brightness value returned from multilevel sensor in respond to events?

Any ideas?

Thanks in advance,

Axel
Title: Re: HSM 100 - brightness sensor. How to get the value?
Post by: axel on June 13, 2012, 03:07:23 PM
In respond to event "brightness changed" in log returned strings chunk :
"Luminance measurement received: VALUE"
"Sending brightness level changed event from node ID"

Questions:
- How can I use VALUE in event handler?
- Can I use admin panel or write ruby code?
- If possible, please give the sample.

axel