Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Heater Control Module
#1
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.

#2
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

#3
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.

#4
I believe that is correct

#5
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.

#6
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



Forum Jump:


Users browsing this thread:
2 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.