Insteaon: Setting DIm level with button control
Posted: Sun Sep 16, 2007 10:18 pm
Ok, so now I'm sold on Insteon. But I need help - I have added two button controls to control the dim level of an Insteon lamp dimmer. One button for brighten; one for dim. (There is a separate multistate button to turn the device on and off.) Each button ideally increases or decreases the value of the dim level property by some fixed amount. Example: One click of the brighten button adds 10 to the current dim level of the device. The dim button decreases the value of the dim level by 10. Except it doesnt work. My brighten and dim tasks (triggered by the bright and dim buttons) each have one statement that reads something like:
Change 'Theater->Lighting\Theater wall washers.Dim Level' to '%%Theater wall washers.Dim Level%% + 10'
(Thats for the brighten task. The dim task decrements by 10.)
What happens is the Dim task dims the light to the preset dim value, set up at the switch. Changing the value (-10) does not affect the resulting dim level. The brighten task more often than not crashes the HB server.
Sorry to be so wordy, but I'm obviously overlooking something either Insteon or HB related. Anyone have a similar setup?
Change 'Theater->Lighting\Theater wall washers.Dim Level' to '%%Theater wall washers.Dim Level%% + 10'
(Thats for the brighten task. The dim task decrements by 10.)
What happens is the Dim task dims the light to the preset dim value, set up at the switch. Changing the value (-10) does not affect the resulting dim level. The brighten task more often than not crashes the HB server.
Sorry to be so wordy, but I'm obviously overlooking something either Insteon or HB related. Anyone have a similar setup?