I have a set of curtains controlled by a Cbus Shutter Relay (L5501RBCP). I can control this by means of the two following Responses.
CloseCurtains - Cbus Off UCNBus 54 ! Close Curtains
OpenCurtains - Cbus On UCNBus 54 ! Open Curtains
These Responses operate the curtains if executed from the .cclx file or by means of Time Programs set up in the Scedule Section
I also set up a further Response to test the Sunset operation as follows
NightCurtainClos - If Night Time <> 0 Then
Do CloseCurtains ! Close Curtains
End If
This Response can be executed from the .cclx file at times after the local Sunset time as in the Schedule Section but will not close the curtains automatically.
Is there something fundamental I am doing wrongly
In order to have a Response execute, it has to be triggered by an event
You have a Time Program to execute Open and Close Curtain this so these will work
Your response to check if Night Time Close curtains also need to be triggered by an event.
If that were not the case then all Responses would run by themselves eg output 1 On, Output 1 off, output 2 On, Output 2 off etc
If your intention is to close the curtain at Sunset then make a Sunset Response in Misc Events - Close CurtainThere are Sunrise and Sunset Responses in Misc Events that triiger at Sunrise and Sunset
As it is triggered by the Sunset Response there is no need to check if Night Time
07-07-2020, 09:30 AM (This post was last modified: 07-07-2020, 09:35 AM by slychiu.)
Hi Slychiu.
Back in 2018 you pointed me in the right direction to get my curtains to close when the NightTime Flag was triggered. Using your advice I managed to achieve this. Unfortunately a couple of weeks ago I had a problem with Comfort and when trying to sort it out I lost the cclx file with the correct coding. I have tried to re-create it but have so far failed and have been using a time program to close the curtains. Could you have a look at the attached cclx file to see where I have gone wrong in trying to trigger CloseCurtains with the Sunset Response. I know the NightTime Flag is triggered at the correct time because the CloakroomPIROn Response is working correctly. Please let me know if there is enough information in the cclx file to solve the problem.
The Night time flag is turned on by Sunset and cleared by Sunrise.
There is a Sunset Response and Sunrise Response in Events> Misc Events which is triggred by Sunset and Sunrise, respectively.
So, if you want the curtains to be raised at Night time, then in Sunset Response, assign the Response to raise the curtains
There is no need to check the Night time flag in these cases
If you want the curtains to be open at Sunrise then use the Sunrise Response
If you want the Curtain to be open or closed at a fixed time, then use the Time Programs
From your file you have a Sunset Response to Close Curtain Response (Cvus off address 54)This should already work. Execute the Response first to test it
I\'m also having difficulty getting a Sunset response to trigger.
The response is to close my curtains.
As I have been unable to get things working I currently have a response that turns on the curtain controller.
I have a light plugged into the curtain controller.
The light does not come on at Sunset.
If I manually trigger the response the light comes on.
I would appreciate any troubleshooting suggestions.
In order for the sunset and sunrise Response to work, make sure you have the correct settings in Schedule > Sunrise/sunset Times. Select the correct Country / city, see http://www.comfortforums.com/forum92/1004.html
Then Go to todays date ( for the week) ie week 25 and not the sunset timeThat wll be the sunset time for this week. That would be the time that the sunset response will be activated. The Night Time Flag is turned on at Sunset. There is a Show Status button on the right. Check the button to see the real time status. That would be a good way to test the Sunset or sunrise time
07-09-2020, 07:02 AM (This post was last modified: 07-09-2020, 07:51 AM by Ian.)
I have checked the times. The flag had changed to On but the response had not ectivated.To try and help pinpoint the issue I have changed my test response to simply switch an unused Output, therby not involving any external component.
Sunset has arrived and nothing happened.
Under miscellaneous events, I have the response Outpt2ON
Sunset has passed, the flag shows Nightime On.
Output 2 has not turned on.
Am I missing something?