09-03-2012, 08:08 AM
Hello
I have managed to program my alarm so far that the bathroom lights go on when you enter the bathroom. The PIR in the bathroom sends command to cbus. My problem is I can not get this to work at night time only.
I have done the following so far.
I have st the sunrise and sunset times according to my country.
At the moment the on response for the zone PIR looks as follow:
Cbus on CBUS 11 ( puts light on when entering bathroom)
Do CBus 1 after 180 seconds (Puts lights off after 180 seconds)
This works fine but as soon as I add the night time the weels fall off.
If Night Time = 0 Then
Cbus on CBUS 11
Do CBus 1 after 180 seconds
End if
Now it does not work. I set the PC time to night to simulate night conditions and send it to the comfort so he thinks it is night.
Anny suggestions. I can always wire a Day/night switch into a spare zone, but there should be an easier way.
Thanks
I have managed to program my alarm so far that the bathroom lights go on when you enter the bathroom. The PIR in the bathroom sends command to cbus. My problem is I can not get this to work at night time only.
I have done the following so far.
I have st the sunrise and sunset times according to my country.
At the moment the on response for the zone PIR looks as follow:
Cbus on CBUS 11 ( puts light on when entering bathroom)
Do CBus 1 after 180 seconds (Puts lights off after 180 seconds)
This works fine but as soon as I add the night time the weels fall off.
If Night Time = 0 Then
Cbus on CBUS 11
Do CBus 1 after 180 seconds
End if
Now it does not work. I set the PC time to night to simulate night conditions and send it to the comfort so he thinks it is night.
Anny suggestions. I can always wire a Day/night switch into a spare zone, but there should be an easier way.
Thanks


