![]() |
|
Lux Sensor - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Support (https://www.comfortforums.com/forum-2.html) +--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html) +--- Thread: Lux Sensor (/thread-2799.html) |
- lwillerton - 03-28-2012 Hi, I have setup a 12v lux sensor which switches on input. I can see the stauts on the iphone app which shows off in the day and on at night. I have updated my lights on responses to use the lux sensor stauts rather than a perset time, however the lights still seem to come on when the lux sensor is off. In the response below at 8am this morning the lux sensor was off however the lights still came on when the PIR detected me. I have another response that is set to trigger an outside security light at night when the lux sensor is on, but this seems to come on even when the lux sensor is off. If I change the <>0 in the code to say =0 then the lights don\'t come on. Any ideas? Cheers Lee - ident - 03-30-2012 Can you highlight which line you are referring to There are too many lines in the response to figure out exactly what you mean? Also what triggers this response? More precise information is required - lwillerton - 03-30-2012 Hi Ident, Any line that refers to the outside lux sensor. The attached pic is a response connected to my drive gate so that when it opens if the lux sensor is on the a security light should come on and is also ignoring the change in LUX sensor. I have tried Analog Input <> 0 light comes on day and night Analog Input = 0 light does not come on at all. Cheers Lee - ident - 03-30-2012 Dont use \"If Analog Input\" This checks the zone as an analog value Does the lux sensor give an open/close contact? Then treat it like a door contact or PIR? You do not check the analog value of doors and window zones, you just check if they are ON or OFF \"If Input LuxSensor\" is the correct usage I was looking at the file you sent to support The zone type for the lux senso you set to Notassigned(22) There is a predefined zone type 8 Switch Normally Open or 24 Switch Normally Open which you can assign to the sensor - lwillerton - 03-30-2012 Nice one think thats cracked it :-) |