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

TWS Lighting Control Module
 Moderated by: slychiu
 New Topic   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Jul 25th, 2015 03:56 pm
   
1st Post
slychiu
Administrator


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

  back to top


TWS02 with 2 circuits

The TWS01 (Single circuit) and TWS02 (Dual Circuit) allows Comfort to control On/off Lighting but not dimming. The TWS consists of a lighting relay and Current sensor connected to a mechanical Two Way Switch, in such a way that independent control via the mechanical switch as well as by Comfort is possible. This allows Comfort to control the light regardless of the position of the two way switch. It also allows the mechanical switch to control the light even if Comfort is switched off or is not working.

This is in contrast to other lighting systems that will not allow manual control of the lights if the system fails.

Last edited on Saturday Jul 25th, 2015 05:39 pm by slychiu



 Posted: Saturday Jul 25th, 2015 03:59 pm
   
2nd Post
slychiu
Administrator


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

  back to top

Connections and Principle of Operation

The wiring connections for TWS is shown below




This requires 1 Input and 1 output in Comfort.

The Comfort Input is connected to the Current Sensor of the TWS so that the current on/off state of the light is known by Comfort. Any Input can be used. The Input/Zone should be programmed as Switch Normally Open Zone Type.

The Comfort Output is connected to the Lighting Relay (rated at 6 amps) in the TWS to switch the light on or off. Any output can be used for this.

The Live wire supplying the light is connected to the TWS "L" connector after passing through the center hole of the Current transformer (loop 2 times).

The Relay Contacts (Normally Open and Normally Closed) are connected to the Two Way Switch terminals (S1 and S2). The "common" terminal of the two way switch is connected to the light.

Thus for every light switch to be controlled in this way, 2 electrical wires are required between the Two way switch and the TWS module which is normally located near Comfort.

In essence the TWS Relay acts as another two way switch for the lighting circuit. Hence it can be seen that either Comfort  or the two way switch can switch the light on and off.




Last edited on Saturday Jul 25th, 2015 04:26 pm by slychiu



 Posted: Saturday Jul 25th, 2015 04:22 pm
   
3rd Post
slychiu
Administrator


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

  back to top

Programming

The Comfort Input connected to the TWS Current sensor is programmed as Switch Normally Open Zone Type (or Zone Type 8). eg see Zone 8 below.



If there is no current to the light, the Zone will be in the OFF state ie open. If there is current to the light, the zone will be in the ON state ie contact closed. Comfort needs to know the state in order to know whether to toggle the relay. The relay is toggled (ie change state) to switch the light to the opposite state from the current On/Off state.

Create 2 Responses, eg Light X On and Light X Off.

Zone ZZ is the zone number, Output NN is the output number.

Response: Light X On
If Input Zone ZZ  = 0 Then
    Toggle Output Output NN
End If

The Response checks the zone state for the current sensor. if the Zone is 0 ie OFF (no current), toggle the Output relay to switch on the light.
If the zone state is already on (ie the light is on), then dont do anything.


Response: Light X Off
If Input Zone ZZ  <> 0 Then
    Toggle Output Output NN
End If

The Response checks the zone state for the current sensor. If the Zone is 1 ie ON (current detected), toggle the Output relay to switch off the light.
If the zone state is already off (ie the light is off), then dont do anything.

If the TWS has already been connected, a good way of testing the programming and connection is to use the Execute Response control as shown in the example below (Execute Response in the right pane)


The execute response directly executes the Response selected. The light should turn on or off depending on which of the 2 responses are selected.



Last edited on Sunday Jul 26th, 2015 12:44 pm by slychiu



 Posted: Saturday Jul 25th, 2015 05:06 pm
   
4th Post
slychiu
Administrator


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

  back to top

Programming Control Menu

The Control Menu can be programmed to switch on and off the light and to check the status of the light

The Control Menu will be heard  on the keypad by pressing keys F,2 or by telephone by signing in with user code and pressing 4 for Home Control.

The Control menu can be seen on the Comfort android/iOS apps, and also is used by the UCM/GSM4 to control Comfort.

In Control > Control Menu, create a Control Key (eg Light 1) under the Control Group (eg Lights).

In Feedback Type, select Zone, and select the Zone connected to the TWS current sensor eg Light 1 (Zone 8). This means that the status of the Light 1 in the control menu is obtained from Zone 8



Select the words from the wordlist to describe the light, eg "Light" "1"
Create Actions 0 = "Off", 1 = "On".
Please note that you should not reverse the meaning for 0 and 1, ie DO NOT put 0 = ON and 1 = OFF as that will reverse the meaning of the status

For Action Key 0 "Off", select the previously created Response to turn off the light, eg Response Name = "Light1 Off"





For Action Key 1 "On", select the previously created Response to turn on the light, eg Response Name = "Light1 On"




Note the Execute Response link for each action key to test the action key Response

When the control menu has been programmed, test it using the Keypad F,2 key
The menu will announce
"Press 0 for Lights"

Press 0 on the keypad
The menu will announce
"Press 1 for Light 1"

Press 1
The menu should say
"Light 1 is.." and the status "OFF" or "ON" (depending on the actual status of the light)
"Press 0 for OFF, 1 for ON"

DO NOT REVERSE the meaning of key 0  for OFF and 1 for ON. 
Press 1 to turn on the light


The control menu can be seen on the Comfort iPhone, iPad, and Android apps as in the example below (different program shown)


Note that the status is shown for each light. This should be based on the TWS Current sensor connected to the zone/input

UCM/ETH03 is required to work with the Comfort apps

If you have the UCM/GSM4, you can send an SMS to control the light in the format

(4011) Light 1 On
(4010) Light 1 Off
The numbers eg 4010 4011 are the numbers to access the control menu eh 4 for Home control, 0 for Lights, 1 for Light 1, 0 for Off or 1 for on

Only Phone numbers that are programmed into Comfort can control Comfort via SMS
The UCM/GSM will also give the state On or off of the devices controlled

Last edited on Saturday Jul 25th, 2015 05:38 pm by slychiu



 Posted: Saturday Jul 25th, 2015 05:46 pm
   
5th Post
slychiu
Administrator


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

  back to top

Lights controlled by Events

It is also possible to control the lights triggered by Events, eg Motion by PIR, Time programs, Alarms etc
This is a very useful and practical feature in a real Home automation system.

For example a motion detector on Zone 7 can be programmed to turn on the Light



The zone type for Zone 7 in this example is PIR Night/Away which willl cause alarm in Away and Night Mode so this can be a normal alarm sensor.
The Zone Response is activated when the Zone is activated. This can be programmed to turn on the light.
This is similar to the behaviour of the stand-alone motion lights. However this goes much further than simple motion lights. You can program conditions eg At what times this will happen, or on what days, or when the system is armed to Night mode only, and the delay when no motion is detected for the light to be switched off again

Click on the On Response of Zone 7 on ... to the right
Select a Response window appears
Select New.. to create a Response as follows.


This means that if the time is equal to or more  than 23 ie 11 PM OR time is less than 7 AM then Do Response Light1 On
Note that 2 conditions Hours >= 23 and Hours < 7 are ORed together for a combination



We want to have the light go off after 5 minutes if there is no more motion
We can use the Zone Off Response. In the OFF Response, click on the ... on the right of the Off Response. Create a new Response as shown below



Zone Off Response is activated when the zone turns off ie no motion detected. The Response starts a timer using one of the 32 timers (Timer 1 in the example) for 300 seconds after which, Do Response Light 1 Off

If the motion is detected again before the timer expires the Lights are switched on again (will remain on since it is already on), and the zone off will restart the timer

This means that if there is no motion for 5 minutes the light will turn off

This is a very practical example of automation control linked to the alarm sensors

Last edited on Saturday Jul 25th, 2015 06:04 pm by slychiu



 Posted: Sunday Jul 26th, 2015 12:46 pm
   
6th Post
slychiu
Administrator


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

  back to top

Changing Zones and Outputs by Drag and Drop

Another useful feature of Comfigurator is the ability to drag-and-drop Zones and Outputs from one number to another. This will change all references to the zone and output. This saves a lot of work when you want to change the programming due to changes in the wiring at site

This applies to Flags, Counters, Sensors, Outputs, Inputs as well



 Current time is 09:40 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems