Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
response based on light level
#1
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
Reply
#2
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 https://www.cytech.biz/manuals.html .
Reply
#3
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

www.gxss.co.uk

 

 

please
Reply
#4
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 https://www.cytech.biz) which explains the mechanism in greater detail as well as how to program responses under the section \"Programming Responses\".
Reply
#5
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




Attached Files
.ccl   LDR Movement.ccl (Size: 69.77 KB / Downloads: 24)
Reply
#6
Chiu,

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

cheers

raj

www.gxss.co.uk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)