From: E S <ygg...@ho...> - 2014-09-28 22:01:41
|
Hello, I'm trying figure out how to retrieve the brightness level of a device on a Insteon DimmerSwitch so I can compare the current level to a predefined level. I've tried get_status, status, request_status, and a few other things to no avail. As part of Insteon::Dimmable light I see the "level" command but I need to get the p_level to use that, and I'm not sure how to get the p_level, as none of the other things have returned a percentage yet for me. I've looked at the code http://misterhouse.wikispaces.com/Insteon+Status+Update that shows how to log Insteon Status Updates (which I understand that this page is out-of-date) but that didn't work either. Can somebody help me with example code on getting the current on level of a light? Thanks in advance, E. S. |