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

Heater Control Module
 Moderated by: admin
 New Topic   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Monday Jan 25th, 2010 06:30 am
   
1st Post
cgiltrow
Member
 

Joined: Monday Jun 12th, 2006
Location: Johannesburg, South Africa
Posts: 107
Status: 
Offline

  back to top

Hi,

I have a heater control module to switch my geyser on and off.  I have the module connected and working and am switching the geyser on and off according to a time program in order to save electricity.

When I go away for extended periods, I put the system into vacation mode.

What I would like to do now is switch the geyser off when the system goes into vacation mode, and switch on when it goes out of vacation mode.  Typically when I am away I will sms the system to go into away mode on the day that I return and would like the geyser to come on and start heating the water so that the water is hot when I arrive.

I have looked at the misc responses, but there is not misc response for vacation mode.  I am also not sure how to deal with coming out of vacation mode, as the system may not be going into security off at that point.  Also the system would often go from night mode to security off, and I would not want that to cause the geyser to be switched on.

Your help would be appreciated.

Many thanks,

Clinton.



 Posted: Monday Jan 25th, 2010 07:37 am
   
2nd Post
slychiu
Administrator


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

  back to top

When you arm to Vacation mode, the away mode response is activated as Vacation is the same as Away except for Vacation Programs
There is no response for coming out of Vacation mode, just as there is no Response for coming out of any other mode.
I suggest you set a flag, in one of the vacation programs so when you go out of vacation mode, you can check for the flag in your response to turn on the geyser



 Posted: Monday Jan 25th, 2010 09:01 am
   
3rd Post
cgiltrow
Member
 

Joined: Monday Jun 12th, 2006
Location: Johannesburg, South Africa
Posts: 107
Status: 
Offline

  back to top

Thanks.

So Away Mode Response will be activated for both Away Mode and Vacation Mode.

Am I then right in guessing that when the Away Mode response is activated the "IF Security Mode" will report Away Mode for Away Mode and Vacation Mode for Vacation Mode?

Cheers.



 Posted: Monday Jan 25th, 2010 09:07 am
   
4th Post
slychiu
Administrator


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

  back to top

I believe that is correct



 Posted: Monday Jan 25th, 2010 09:28 am
   
5th Post
cgiltrow
Member
 

Joined: Monday Jun 12th, 2006
Location: Johannesburg, South Africa
Posts: 107
Status: 
Offline

  back to top

Thanks.  Please confirm code below: (And reference for others)

Created OnGeyserCtrl response to switch geyser on
Created OffGeyserCrtl response to switch geyser off
Created Flag VacModeWasIn to show if the system was in Vacation mode
Created AwayMode response and linked it in Misc Events to the Away Mode Response as follows:
            If Flag VacModeWasIn <> 0 Then
                Do OnGeyserCtrl
                Clear Flag VacModeWasIn
            End If
            If SecurityMode = VacationMode Then
                Set Flag VacModeWasIn
                Do OffGeyserCtrl
            End If
Created SecuityOff response and linked it in Misc Events to the Security Off Response as follows:
            If Flag VacModeWasIn <> 0 Then
                Do OnGeyserCtrl
                Clear Flag VacModeWasIn
            End If
Created DayMode response and linked it in Misc Events to the Day Mode Response as follows:
            If Flag VacModeWasIn <> 0 Then
                Do OnGeyserCtrl
                Clear Flag VacModeWasIn
            End If
Created NightMode response and linked it in Misc Events to the Night Mode Response as follows:
            If Flag VacModeWasIn <> 0 Then
                Do OnGeyserCtrl
                Clear Flag VacModeWasIn
            End If

Cheers.



 Posted: Tuesday Jan 26th, 2010 03:42 am
   
6th Post
slychiu
Administrator


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

  back to top

I believe your logic is correct. Please test to make sure there are no unintended results due to the sequence of arming to the various modes and disarming



 Current time is 02:24 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems