Author Topic: HSM 100 - brightness sensor. How to get the value?  (Read 403 times)

axel

  • Newbie
  • *
  • Posts: 14
    • View Profile
HSM 100 - brightness sensor. How to get the value?
« 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

axel

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: HSM 100 - brightness sensor. How to get the value?
« Reply #1 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