Reply to thread

The bright sends the ON if the device is off, but it still thinks the levels are 10 or 0, and not 100.  When a device is turned on, it says ON (not any percentage), with the image level that has no yellow bars. 


So, then the dim button will send OFF - as you just made it.  It seems like its relying on keeping variables/math to determine the status. 


After it polls, it seems to detect the correct level/image.  I set the poll number in seconds very high to determine this.  After polling, and getting the correct level, everything works as expected.


Turn on:

5/24/2007 6:26:20 PM - BSCLevelDevice: ControlButtonClick_Up: -cLevel: 0 -mlevel: 100 -pctadj 0.100000001490116 -deviceadj 10

5/24/2007 6:26:20 PM - BSCLevelDevice: ControlButtonClick_Up: NewLevel: 10

5/24/2007 6:26:20 PM - AhCmdLineController: BSCLevelChange: 10

5/24/2007 6:26:20 PM - AclCommandSender: Sending Action: sendplc Appliance: d1 Arguments: on

5/24/2007 6:26:20 PM - AclCommandSender: Command Output Recvd: 0

5/24/2007 6:26:21 PM - AclCommandSender: RecvAction: recvplc,d1,On


Turn off:

5/24/2007 6:26:32 PM - AhCmdLineController: BSCLevelChange: 0

5/24/2007 6:26:32 PM - AclCommandSender: Sending Action: sendplc Appliance: d1 Arguments: off

5/24/2007 6:26:32 PM - AclCommandSender: Command Output Recvd: 0

5/24/2007 6:26:32 PM - AclCommandSender: RecvAction: recvplc,d1,Off


Poll:

5/24/2007 6:36:58 PM - AclCommandSender: Sending Action: queryplc Appliance: d1 Arguments: on

5/24/2007 6:36:58 PM - AclCommandSender: Command Output Recvd: 1

5/24/2007 6:36:58 PM - AclCommandSender: Sending Action: queryplc Appliance: d1 Arguments: dim

5/24/2007 6:36:58 PM - AclCommandSender: Command Output Recvd: 100


Also, I checked the option to assume devices are OFF, and rebooted, yet they were still detected as unknown.


Many thanks,


Top Bottom