Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Sunrise/sunset Programming for garage.
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Thursday Sep 10th, 2015 05:26 pm
   PM  Quote  Reply 
1st Post
sinky100
Member
 

Joined: Thursday Mar 8th, 2012
Location:  
Posts: 40
Status: 
Offline

  back to top

Hi,
Having only imported scenarios before, I wonder if someone can assist in a small project, where the hardware is not the issue, but I'm not sure about the programming side.
I have in the garage 2 door contacts and a PIR. I have a couple of spare cores coming from my comfort panel, one of which is connected to Output 1 on the comfort PCB; and to a 12V 240V relay across the light switch will hopefully be operating the lights.
I wish to set comfort up, that 30 mins before sunset & 30 mins after sunrise - if one of the doors 2 of is opened, the lights will come on. At the end of 15mins, if no PIR movement is detected and the doors are closed, then lights should go off.
Assistance is much appreciated.



 Posted: Friday Sep 11th, 2015 07:14 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 4686
Status: 
Offline

  back to top

We can  get our support team to work on this and give you a program next weekThis will illustrate the use of sunset and sunrise time offsets and zone responses 



 Posted: Friday Sep 11th, 2015 08:11 pm
   PM  Quote  Reply 
3rd Post
sinky100
Member
 

Joined: Thursday Mar 8th, 2012
Location:  
Posts: 40
Status: 
Offline

  back to top

Slychiu,

That would be fantastic many, many thanks!

Iain



 Posted: Wednesday Sep 16th, 2015 05:33 am
   PM  Quote  Reply 
4th Post
yuanchang
Member
 

Joined: Monday Jul 27th, 2015
Location:  
Posts: 6
Status: 
Offline

  back to top

Hi Iain,


Based on your requirements, we have do a small programming project for you.
First of all, we assume that the zone 2 is connected to PIR sensor and zone 3/4 are connected to door contacts. After that you have to set times by latitude by yourself under "Schedule--Sunrise/Sunset Times" which is at left pane in Comfigurator. Then there is a "sunrisesunset" response under "Schedule--Time Programms" which will offset the sunrise time 30 mins delay and sunset time 30 mins early at midnight everyday. Next, take a look at "Security--Zone/Inputs", any door's opening action will turn on the light and door's closing action will start a 15 mins count down timer. And any movement detected by PIR sensor will stop the timer. The light will turn off only when both doors are closed, no movement under PIR sensor and 15 mins timer count to zero.
We have build the exact function to what you need. Hence, you can just finish the termination first and download the code to your Comfort. The functions of each response have been wrote clearly in responses comments, I hope that is helpful for you.
Please contact us if you have any inquires.


Kindly find the cclx file in attached files.


Yuanchang

Attachment: Programming for garage.zip (Downloaded 29 times)

Last edited on Thursday Sep 17th, 2015 06:28 am by yuanchang



 Posted: Monday Sep 28th, 2015 11:22 pm
   PM  Quote  Reply 
5th Post
sinky100
Member
 

Joined: Thursday Mar 8th, 2012
Location:  
Posts: 40
Status: 
Offline

  back to top

Yuanchang,

Finally got the system tested and the programming is working perfect! I am delighted with the setup, and learnt quite a bit doing the programming. Thanks for taking the time to provide the solution.

Thanks,
Iain



 Posted: Tuesday Sep 29th, 2015 07:20 am
   PM  Quote  Reply 
6th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 4686
Status: 
Offline

  back to top

Thats good
Anyone who requires this kind of programming assistance is welcome



 Current time is 02:50 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems