Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Question on SCS
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Sunday Aug 27th, 2006 12:59 pm
   PM  Quote  Reply 
1st Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Topic changed to SCS Question

Last edited on Thursday Aug 31st, 2006 11:30 am by slychiu



 Posted: Thursday Aug 31st, 2006 07:21 am
   PM  Quote  Reply 
2nd Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

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

 

 



 Posted: Thursday Aug 31st, 2006 08:46 am
   PM  Quote  Reply 
3rd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

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



 Posted: Thursday Sep 21st, 2006 07:56 am
   PM  Quote  Reply 
4th Post
dcrera
Comfort Installers


Joined: Monday Aug 7th, 2006
Location: Durban, South Africa
Posts: 279
Status: 
Offline

  back to top

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



 Posted: Thursday Sep 21st, 2006 10:06 am
   PM  Quote  Reply 
5th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

No, the scene switch triggers scenes only, it does not recognise the press and hold action



 Posted: Friday Sep 22nd, 2006 08:20 am
   PM  Quote  Reply 
6th Post
darren_rigg
Member


Joined: Monday Aug 7th, 2006
Location:  
Posts: 7
Status: 
Offline

  back to top

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



 Posted: Saturday Sep 23rd, 2006 06:05 am
   PM  Quote  Reply 
7th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

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?



 Posted: Tuesday Sep 26th, 2006 10:39 am
   PM  Quote  Reply 
8th Post
darren_rigg
Member


Joined: Monday Aug 7th, 2006
Location:  
Posts: 7
Status: 
Offline

  back to top

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]


And Brighter runs this one

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


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]


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


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 have four of these responses, this is the mid response, these would need customising to the individual requirements.

 

Hope this helps.

 

Darren



 Current time is 10:53 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems