Lighting control logic

Avatar
  • updated
  • Answered

Hi There,


I'm having some problems understanding tasks/programs. At the moment I'm just testing things out before I install in my new house so need to get things right.

So I want to use an occupancy detector to turn on and off a light, when that light has not been turned on by a scene or switch in which case it has no effect.

What seems to be happening is that when the occupancy sensor turns on the light (which it does) the scene also changes, so the IF statement to pick up that the scene is off no longer allows the light to go off under the occupancy detection?


Could some one give me an example? hopefully it make sense but please elt me know if you need further info.


Thanks

How would you rate the customer service you received?

Satisfaction mark by Andy Gill 10 years ago

Difficult to get a full answer, still trying to resolve weeks later.

Add a comment about quality of support you received (optional):

Pinned replies
Avatar
ComfortClick Support
  • Answer

Hello,

sorry for late reply. I just tested your movement detector setup and it seems that there is a bug in Movement detector task. Blocking value is refreshed only after second command. We will fix this as soon as possible.


Regards

Avatar
Andy Gill

Did I ask a stupid question, no reply?


Avatar
ComfortClick Support
  • Answered

Hello,

sorry for late reply. Please check our manual for Movement detector task http://www.comfortclick.com/Software/Manuals/BOSConfig?print=false#MovementDetector

For your case check for Blocked By Output function.


Avatar
Andy Gill

Thanks, does that mean if the light is also linked to the scene, i use the scene status as the Blocked by output?

Avatar
ComfortClick Support

That means, if the light is turn on by the scene, switch, etc., the presence detector task will not turn it off after xx minutes.

Avatar
Andy Gill

I'm getting a little frustrated, the question is do I use the scene as the blocking value?


What I don't understand is that when the movement sensor turns on the light it also changes the scene status, the light then goes off despite the fact the the scene status has changed? I'm then left with the actual light off and the BOS graphic showing the light and the scene on? and now the movement detector doesn't operate.

Avatar
ComfortClick Support

You mean you are using scene as movement detector output value?

Avatar
Andy Gill

I'm obviously explaining this poorly I shall try again


The movement detector setup:


General

Enabled: True

Delay: 60

Output: Devices\Zwave\Binaryswitch\lamp.value

Blocking

Blocking condition: Blocking value

Blocking Value: Tasks\Rooms\Living Room\Scene1.state


Operation

Operating Condition: None


Input Value: Devices\Z-Wave\PIR\Binary Sensor.Value



Ok If the Lamp turns on regardless of the cause this changes the Scene status? is this how it should be as I would of thought that the scene should only change if the scene is operated?

As I'm using the scene as the Blocking value it then stops the movement detector turning off the lamp.


What I want to achieve is:


I want the light in the room to automatically go on and off using the movement detector, unless a scene (Scene 1) has been selected which will mean that someone is staying in the room and therefore the lamp should be under the control of the scene. and once the scene has been turned off return again to automatic control.



Avatar
Andy Gill

Hi There,


I've still not resolved this should I put a ticket in or is this the best process?

Avatar
ComfortClick Support
  • Answer

Hello,

sorry for late reply. I just tested your movement detector setup and it seems that there is a bug in Movement detector task. Blocking value is refreshed only after second command. We will fix this as soon as possible.


Regards

Avatar
Andy Gill

Thanks,


Yes that is one issue but not the only one, I mentioned on my earlier post about the relationship between "Scene" and "device" If I change the state of a device, it also changes the scene which it is linked too? Surely only changing the state of the scene directly should have an effect on the Scene and then the devices added to that scene? if the state of the device is changed regardless of its connection with the scene shouldn't that have no effect on the scene?