Comfort Home Automation/ Security System Forums Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 

Question on SCS
 Moderated by: admin  
 New Topic   Reply   Print 
AuthorPost
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 937
Status:  Offline
 Posted: Sunday Aug 27th, 2006 12:59 pm
 Quote  Reply 
Topic changed to SCS Question

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

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Thursday Aug 31st, 2006 07:21 am
 Quote  Reply 
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

 

 

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Thursday Aug 31st, 2006 08:46 am
 Quote  Reply 
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

dcrera
Comfort Installers
 

Joined: Monday Aug 7th, 2006
Location: South Africa
Posts: 134
Status:  Offline
 Posted: Thursday Sep 21st, 2006 07:56 am
 Quote  Reply 
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

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 937
Status:  Offline
 Posted: Thursday Sep 21st, 2006 10:06 am
 Quote  Reply 
No, the scene switch triggers scenes only, it does not recognise the press and hold action

darren_rigg
Member


Joined: Monday Aug 7th, 2006
Location:  
Posts: 6
Status:  Offline
 Posted: Friday Sep 22nd, 2006 08:20 am
 Quote  Reply 
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

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 937
Status:  Offline
 Posted: Saturday Sep 23rd, 2006 06:05 am
 Quote  Reply 
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?

darren_rigg
Member


Joined: Monday Aug 7th, 2006
Location:  
Posts: 6
Status:  Offline
 Posted: Tuesday Sep 26th, 2006 10:39 am
 Quote  Reply 
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:33 pm




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
We insist that you abide by the rules and policies stated below. Although the moderators of the Comfort Forums will attempt to keep all objectionable messages off this forum, it is not possible for us to filter all messages. All messages express the views of the author. Cytech Technology is not responsible for the content, views or advice of any message posted by members, including staff of Cytech. By registering for the forums, you warrant that you will not post any messages that are obscene, vulgar, of a sexual nature, abusive, hateful, threatening, of racist nature or otherwise in breach of any laws. Cytech reserves the right to remove, edit or move message or topic for any reason