Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on SCS
#1
Topic changed to SCS Question
Reply
#2
Hi,

 

I hope in am posting this in the right place.

Just a quick question with regards to Comfort\'s RIO and Scene Switches.

Each RIO/Scene switch has a unique address and has 8 SCSRIORESP and in the case of the scene switch only 4 can be used.

Can I have two scene switches with the same SCS ID where the first one would use the first 4 SCSRIORESP and the second scene switch use the other 4 (I am using the Comfort Ultra) ?

 

Thanks

 

 
Reply
#3
No you cannot use the last 4 switches in the SCS at present
We are shortly going to release a new range of 6 and 8 button scene control switches which make full use of the address. Details later
Reply
#4
Hi,

I want to add a dimmer module to one of my outputs controlled from a Scene switch.

If press the switch once it must toggle between On/Off (which it does currently)

Is there a way that I can program the switch  to cycle the dimmer module while holding the switch down (like a bell push) ?

Thanks
Reply
#5
No, the scene switch triggers scenes only, it does not recognise the press and hold action
Reply
#6
I have set my SCS up to do four levels of dimming, using the two top buttons.

The levels are indicated by led\'s

no led = off
Left led = Low
Both led = Mid
right led = High

Pressing the left button reduces the level and the right button increases it. I do this via a counter which increments/decrements as the button is pressed and sets the LED accordingly. I then use a two second delay before issuing the X10 command to set the lighting level which reduces the number of X10 commands and increases response speed as LED\'s set instantly but the required X10 commands take three seconds to send.

This means going from low to high you would press the top right button twice, the led\'s would change as you press the button and as you step away, the lighting changes to suit.

I have also used an X10 remote A1 on = off - A2 on = Low - A3 on = Mid - A4 on = High which allows the remote to work in quite a smart way.

If you require further details, I can post the code I use.

Darren
Reply
#7
Darren
Do you also use the X10 received commands to update the counters and set the leds accordingly when the lights are set by other switches or the remotes?
That should be quite useful, could youi post the code you used?

Reply
#8
Chiu, I use a counter called Livingrmlightlev to control the dimming/scene in the living room.

The counter can have the following values 0=off, 1=low, 2=mid, 3=high. These are represented by the two top led’s on the SCS  [off - both LED’s off, low - left LEDon, mid - both LED’s on and high - right LED on]. I then use the left SCS button to reduce light level and the right button to increase it in the four stages.

The light level is set by a response SetLivingRoom which sets the LED’s and triggers the lighting VIA X10 to be set after 1second. This allows multiple presses to respond quickly without having to send X10 each time.

Pressing the Dim button on the SCS this response runs

If Counter Livingrmlightlev >= 1 Then
    Decrement Livingrmlightlev
End If
Do SetLivingRoom [Set's the state of the living room]
[/i]

And Brighter runs this one

If Counter Livingrmlightlev < 3 Then
    Increment Livingrmlightlev
End If
Do SetLivingRoom [Set's the state of the living room]

[/i]
To set the level directly from a remote control, I use this response (this turns the lighting off but setting the Livingrmlightlev counter to any of the numbers above sets the lighting to that level.

Set Livingrmlightlev = 0
Do SetLivingRoom [Set's the state of the living room]
[/i]

All of these methods of changing the lighting level change the Livingrmlightlev counter and run the SetLivingRoom response below which set’s the LED on the SCS and runs the appropriate light level response. LivingRoomDim and LivingRoomBright refer to the top left and right SCS LED’s

If Counter Livingrmlightlev = 0 Then
    Do Setlvrmoff [Set Living Room Off] After 1 Seconds Using Livingroomdelay
    Output LivingRoomDim Off
    Output LivingRoomBright Off
End If
If Counter Livingrmlightlev = 1 Then
    Do Setlvrm1 [Set Living Room Light Level1] After 1 Seconds Using Livingroomdelay
    Output LivingRoomDim On
    Output LivingRoomBright Off
End If
If Counter Livingrmlightlev = 2 Then
    Do Setlvrm2 [Set Living Room Light Level2] After 1 Seconds Using Livingroomdelay
    Output LivingRoomDim On
    Output LivingRoomBright On
End If
If Counter Livingrmlightlev = 3 Then
    Do Setlvrm3 [Set Living Room Light Level3] After 1 Seconds Using Livingroomdelay
    Output LivingRoomDim Off
    Output LivingRoomBright On
End If

[/i]
Finally the response for setting the actual lights, this is run after a 1second delay to make the LED's responsive and reduce X10 traffic. My thought is you set the level on the SCS and then the lighting changes as you walk away.

The response shown is for the mid level. X10 A7 and A8 are din rail dimmers where I use the preset dimming and A2 is a wall light that is either on at full or not. The 24 parameter on the first line is the preset dim level between 0 and 31. This would need tailoring to the specific requirement but I used 16 for low, 24 for mid and 31 for full.

X10 Extended 24 49
X10 A7 Extended1
X10 Extended 24 49
X10 A8 Extended1
X10 A2 Off
[/i]

I have four of these responses, this is the mid response, these would need customising to the individual requirements.

 

Hope this helps.

 

Darren
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)