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

response based on light level
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Tuesday Sep 5th, 2006 08:11 pm
   PM  Quote  Reply 
1st Post
gxsecurity
Member
 

Joined: Sunday Jul 30th, 2006
Location:  
Posts: 7
Status: 
Offline

  back to top

Hi

 

just want a brief explanation on how to create the following reponse  and if then else

 

I have a zone with an ldr light sensor to sense dark

I have an X10 device dijmer for eg A5 on din rail

I wnat to switch A5 on din rail when light sensor detects darkness

I want to switch light of when lkight sensor goes switches off(day light)

--------------------------------------------------------------------------------------------

 

I also wnat to control anothe X10 module for eg A6  to switch on when movement is detected by external pir subject to the light sensor sensing darkness.

can you explain how to do this

thanks



 Posted: Wednesday Sep 6th, 2006 12:10 am
   PM  Quote  Reply 
2nd Post
adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status: 
Offline

  back to top

Hi,

You could program it as a Switch NC (zone type 24). This would then be used to trigger responses (in this case to switch on the X-10 light) when it is dark or when it is bright by means of the ON and OFF responses for the zones. There are a few responses in Comfigurator to show how to switch on X-10 units, which you may refer to, e.g. X10A1ON (which shows how to switch on A10).

As for the other case (PIR), you could also do a similar response, except that conditional branching is required, i.e. have an IF statement to check the status for the light sensor zone before deciding to switch on the light on not.

You may also wish to refer to the LSM manual available from http://www.cytech.biz/manuals.html .



 Posted: Wednesday Sep 6th, 2006 06:41 am
   PM  Quote  Reply 
3rd Post
gxsecurity
Member
 

Joined: Sunday Jul 30th, 2006
Location:  
Posts: 7
Status: 
Offline

  back to top

Hi

thanks for the information on programming and so forth the LDR light sensor and external pir are all already wired in & programmed as 24 hour NCAs i am struggling with the reposnses and understanding them i just thought maybe somebody could expalin  how they are written and whyi have edited reponses where i have changed default ones by maybe editing the zone number or X10 device  but what i want is a brief explanation on how they work  and how they should be made up.

 

for eg once again

light sensor switches open in dark

X10 device switches on

X10 device switches on until light sensor switches off going closed daylight

---------------------------------------------------------------------------------------------------

 

also light sensor detects dark

24 hour external pir detects movement

x10 device switches on for 5 minutes

x10 switches of after timer

---------------------------------------------------------------------------------------------------

 

please can somebody help with the coding  of this and also explain what  they are doing

 

thanks

http://www.gxss.co.uk

 

 

please



 Posted: Wednesday Sep 6th, 2006 07:28 am
   PM  Quote  Reply 
4th Post
adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status: 
Offline

  back to top

Hi,

Comfort is an event-driven system. This means that events monitored by Comfort can be programmed to trigger Responses. Responses are programs or macros that perform series of commands called Actions. In the case of the ON and OFF responses for the zones, each zone can trigger a response when the zone goes ON (activated) or OFF (deactivated). I would refer you to the manual Programming with Comfigurator (available from http://www.cytech.biz) which explains the mechanism in greater detail as well as how to program responses under the section "Programming Responses".



 Posted: Wednesday Sep 6th, 2006 01:38 pm
   PM  Quote  Reply 
5th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5852
Status: 
Online

  back to top

I have attached a simple ccl file which should help you.
Zone 2 is the Hall Movement PIR and Zone 3 is the LDR
When the LDR zone turns OFF (Dark), an X10 device is switched on, and when it turns ON (light), it turns OFF

When the PIR detects movement (Zone ON),IF the LDR is OFF (Dark)  an X10 device is turned on and a timer turns it off again after 3 minutes

This example shows you how it can be done


Attachment: LDR Movement.ccl (Downloaded 24 times)



 Posted: Wednesday Sep 6th, 2006 01:40 pm
   PM  Quote  Reply 
6th Post
gxsecurity
Member
 

Joined: Sunday Jul 30th, 2006
Location:  
Posts: 7
Status: 
Offline

  back to top

Chiu,

now thats what i am talking about thanks for your great effort and help as per normal expectation form you

cheers

raj

http://www.gxss.co.uk



 Current time is 07:32 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems