2 house codes controling same light
Posted: Thu Dec 18, 2008 10:54 pm
Ok I've got 1 light that I'm controling with 2 different X10 house codes.
At this point to make it work I use the following task but I'm looking for a more efficient way of doing it. Any suggestions?
This task keeps my software remote status and both light switch LED's updated correctly.
Devices
Light (Leviton 6376 inline dimmer)
Landing = A1 (Leviton 16400 & 16450-4W )
Landing (Basement Switch) = B1 (Leviton 16400 & 16450-4W )
If ('Landing (basement Switch).Power State' is Equal 'Off') Then
Change 'Landing.Power State' to 'Off"
Else If ('Landing (basement switch).Power State' is Equal "On') Then
Change 'Landing.Power State' to 'On'
Else If ('Landing.Power State' is Equal 'Off") Then
Change 'Landing (basement switch).Power State' to 'Off'
Else If ('Landing.Power State' is Equal 'On') Then
Change 'Landing (basement switch).Power State' to 'On'
At this point to make it work I use the following task but I'm looking for a more efficient way of doing it. Any suggestions?
This task keeps my software remote status and both light switch LED's updated correctly.
Devices
Light (Leviton 6376 inline dimmer)
Landing = A1 (Leviton 16400 & 16450-4W )
Landing (Basement Switch) = B1 (Leviton 16400 & 16450-4W )
If ('Landing (basement Switch).Power State' is Equal 'Off') Then
Change 'Landing.Power State' to 'Off"
Else If ('Landing (basement switch).Power State' is Equal "On') Then
Change 'Landing.Power State' to 'On'
Else If ('Landing.Power State' is Equal 'Off") Then
Change 'Landing (basement switch).Power State' to 'Off'
Else If ('Landing.Power State' is Equal 'On') Then
Change 'Landing (basement switch).Power State' to 'On'