Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Night Time Cbus commands
#1
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
Reply
#2
\"If Night Time = 0 \"

means NOT Night Time

\"If Night Time <> 0 \" means Night Time
Reply
#3
Thanks for the reply. I have tried \"If Night Time <> 0 \" , forgot to mention it in my mail, but it still does not work.
Reply
#4
There might be another way of doing things but I have two responses, one called Sunrise and one called Sunset. Inside these I Set and Clear a Flag called NightTime.

You can verify if it works by using Comfigurator and selecting the Flag and then check the Status checkbox to see if the flag status is what you expect.

There might also be a minimum firmware version required, just check the firmware history if you aren\'t running the latest.

Ingo
Reply
#5
The method described by Ingo should work, but the built in Night Time Flag automatically sets Night Time  based on Sunrise and sunset times

Can you send the cclx file so that we can check to support@cytech.biz
Reply
#6
Thanks for the reply guys, will send the file to support now.

regards
Reply
#7
There is nothing wrong with the response.
Your firmware is shown as Ultra 5.027?
Can you verify what the firmware version is? Do Transfer > System Information
The Night Flag was only implemented in firmware 5.180
If your firmware is less than 5.100, it can only be upgraded by buying a MPU01 plug in module. This will have the lagtest Firmware version 6 which can be upgraded using Comfigurator and UCM


Reply
#8
I can confirm that I have the firmware version 5.027 as you mentioned.

Ok now this make sense. Is there any other solution I can use except this nightime flag? I would not like to wire an Day/night switch into my alarm if necessary.

I would not mind upgrading firmware module but shipping to South Africa is normally very expensive.

Is there a sunrise/sunset flag available that I can use?


regards
Reply
#9
Sunrise/sunset times do not work for that old firmware
You will have to use Time Programs to set and clear the Night  flag based on fixed times of day but modified by month. That means you need your own logic to set the sunrise and sunset times


Reply
#10
Ok thanks very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)