LinuxMCE Forums
June 20, 2013, 09:27:05 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: HSM 100 - brightness sensor. How to get the value?  (Read 319 times)
axel
Newbie
*
Posts: 14


View Profile
« on: May 26, 2012, 12: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
Logged
axel
Newbie
*
Posts: 14


View Profile
« Reply #1 on: June 13, 2012, 02: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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!