Jump to content

MikeF

Members
  • Posts

    7
  • Joined

  • Last visited

MikeF's Achievements

Newbie

Newbie (1/6)

4

Reputation

  1. Kclenden, Thank you for responding….and you did it! I had actually thought about a count variable before the first post, but didn’t know how to go about it. There may be cleaner ways to do what I’ve done (with your help and the help of larryllix), but I believe the following will work to set the sVacation flag and repeat a 10 min. run of the pump every 72 hours: • First, I established an hour count: Hour Count If From 12:00:00AM To 11:59:59PM (same day) Then Repeat Every 1 hour $sHW_NonDemand_Count += 1 Else - No Actions • Next, I set the sVacation flag when the count is >= 48 hours and clear it with the Else statement outside of that criteria: HW Schedule Ctrl If $sHW_NonDemand_Count >= 48 Then $sVacation = $cTRUE Else $sVacation = $cFALSE • Then, I reset the hour count variable (sHW_NonDemand_Count) when there is pump activity during the time I specify (ie., outside the hours of the Schedule program and when the pet sitter is at the house): HW No Demand Hr Count Reset If ( On Mon, Tue, Wed, Thu From 10:00:05AM To 5:48:55AM (next day) Or On Fri From 10:00:05AM To 5:48:58AM (next day) Or On Sat From 10:11:05AM To 5:48:58AM (next day) Or On Sun From 10:11:05AM To 5:48:55AM (next day) ) And $sPump is $cTRUE Then $sHW_NonDemand_Count = 0 Else - No Actions • Now, the Schedule program checks the sVacation variable before running: HW Schedule If ( On Mon, Tue, Wed, Thu, Fri From 6:00:00AM To 8:00:00AM (same day) Or On Sat, Sun From 8:00:00AM To 10:00:00AM (same day) ) And $sVacation is $cFALSE Then Repeat Every 10 minutes $sPump = $cTRUE Wait 5 minutes $sPump = $cFALSE Else - No Actions For the 72 hour 10 min. pump run, I had to use a slightly different method because I did not want the pump to run inside hours that would reset the $sHW_NonDemand_Count variable. • As you suggested, I started by having a program evaluate the sVacation variable, then based on that evaluation set another variable: HW 72 hr Ctrl If $sVacation is $cTRUE (is set to TRUE >= 48) Then Wait 24 hours $sHot_Water_Demand = 3 Else - No Actions • Once the sHot_Water_Demand variable is set to 3, the following is initiated: HW 72 hr Vac Run If $sHot_Water_Demand is 3 And From 8:05:00AM To 8:30:10AM (same day) Then $sPump = $cTRUE Wait 10 minutes $sPump = $cFALSE $sHot_Water_Demand = 4 Else - No Actions • Then, a program to repeat only every 72 hours. I realized if I included a Wait 72 hours, it would run the then statement every day at 0805 hrs, and subsequently reset the Wait. Here is the program to repeat: HW 72 hr Vac Run Repeat If $sHot_Water_Demand is 4 Then Repeat Every 72 hours Run Program 'HW 72 hr Vac Run' (Then Path) Else - No Actions • The sHot_Water_Demand variable is reset by: HW Demand If ( On Mon, Tue, Wed, Thu From 8:00:05AM To 5:59:55AM (next day) Or On Fri From 8:00:05AM To 7:59:58AM (next day) Or On Sat From 10:00:05AM To 7:59:58AM (next day) Or On Sun From 10:00:05AM To 5:59:55AM (next day) ) And $sPump is $cTRUE Then $sHot_Water_Demand = 1 Wait 45 seconds $sPump = $cFALSE Else - No Actions Again, a heap of thanks to you both. Mike
  2. larryllix, Thank you for your prompt response. Apologies for my denseness...can you go into more detail as to how I might set the 48 hour vacation flag especially as it relates to interacting with the Schedule and Demand programs? Essentially, I would like to set the flag after 48 hours of pump inactivity during specific hours of the day and these hours are not all contiguous (ie., when we are gone, a pet sitter will come to the house in the morning and use kitchen faucet which defaults to hot water and I don't want this activity - or demand - to restart the Schedule program. Also, it would have to ignore the pump activity generated by the Schedule program). I think I have it started correctly, but not sure how to proceed and still be able to have the pump run as it does when we are home: HW Schedule Ctrl If ( On Mon, Tue, Wed, Thu From 10:00:05AM To 5:48:55AM (next day) Or On Fri From 10:00:05AM To 5:48:58AM (next day) Or On Sat From 10:11:05AM To 5:48:58AM (next day) Or On Sun From 10:11:05AM To 5:48:55AM (next day) ) And $sPump = $cFALSE Then Wait 48 hours Set $sVacation = $cTRUE <--------- Not sure this would ever set because of the non-contiguous hours Else - No Actions - (This program stops "HW Schedule" program from running when there is no demand ("HW Demand") for water for over 48 hours (ie., no one is home). The schedule in this program reflects hours outside expected water usage by pet sitter.) Thanks for helping me learn. Mike
  3. I have an Insteon Micro Switch controlling a Hot Water (HW) recirculation pump via ISY. There are three triggering mechanisms: 1) a schedule (ie., mornings); 2) KPL in the master bath; and 3) flow switch on the cold water side of the HW heater that is attached to the Sense #1 (yellow) wire of the Micro Switch. All is working well, however; I would like to add two additional features to increase efficiency. 1) A vacation hold of the schedule. Essentially, this program would suspend the scheduled run of the recirculation pump when there is no demand (no trigger of the flow switch) during defined hours of the day for 48 hours. 2) A run of the pump for 10 minutes every 72 hours when there has been no demand (no trigger of the flow switch) to prevent buildup of deposits in the water line. I attempted to use “Last Run” of my Demand program to change a variable that is checked by the Schedule program, but that didn’t work. I also tried using a Wait XX hours, then change variable in a control program; however, that didn’t work either because the If statement is false outside the defined hours described in A) above, and, as a result the Wait would be terminated. Any help anyone can give me would be appreciated. Below are the two main programs: HW Schedule If ( On Mon, Tue, Wed, Thu, Fri From 6:00:00AM To 8:00:00AM (same day) Or On Sat, Sun From 8:00:00AM To 10:00:00AM (same day) ) And $sHot_Water_Demand is 1 Then Repeat Every 10 minutes Set 'Hot Water Micro' On Wait 5 minutes Set 'Hot Water Micro' Off Else - No Actions - (To add one, press 'Action') HW Demand If ( On Mon, Tue, Wed, Thu From 8:00:05AM To 5:59:55AM (next day) Or On Fri From 8:00:05AM To 7:59:58AM (next day) Or On Sat From 10:00:05AM To 7:59:58AM (next day) Or On Sun From 10:00:05AM To 5:59:55AM (next day) ) And Status 'Hot Water Micro' is On And Status 'Hot Water Micro' is not Off Then $sHot_Water_Demand = 1 Wait 45 seconds Set 'Hot Water Micro' Off Else - No Actions - (To add one, press 'Action') Mike
  4. bgav, photo below. Al, thanks for the info regarding the blank buttons. Rob, being the only male in a house with four females, I should have known there was acetone-free polish remover, but didn't. Maybe that is what my wife is talking about when she says I don't pay attention Thank you. Mike
  5. I found that you can make custom button labels by removing the "etching" from the button then applying Brother P-touch TZe clear 12mm labels. IMO they look professional, are very easy to customize, and likely save money depending on how many buttons you need to do. WARNING: USING THIS METHOD WILL SLIGHTLY DAMAGE THE SURFACE OF THE BUTTON. However, the damage is not visible through the Brother label. Supplies required: Brother Label Maker that can use 12mm TZe tape and print at least three lines. I use a PT-2030, now discontinued. I believe it has been replaced by the PT-D400 Clear 12 mm TZe tape Acetone Q-tips Scissors Isopropyl alcohol (aka rubbing alcohol) Tweezers Procedures: Remove the button set from the switch. Using a Q-tip quickly dipped in acetone, carefully remove just the etched label. Turn the Q-tip a bit every second or so to an unused part otherwise the etching paint on the Q-tip will begin to smear on the surface. You will notice a slight "melting" of the plastic surface. I use both ends of one Q-tip for each button. Using the Brother label machine, type your labels. With the PT-2030, I found that if you use the narrow margin setting, you can get a label .8 inch in length on the button. I have used 12 pt., 9 pt., and 6 pt. sized print depending on text and number of lines. Cut the label to size and apply with tweezers. Rub the label with a finger and / or the edge of your finger nail. Replace the button set on the switch. Note: if the buttons are not new, it would be a good idea to clean them with isopropyl alcohol before applying the label. Mike
  6. Thank you. Using the additional program worked. Too bad Insteon does not have a LED button flash option for the KPL's.
  7. First, thanks to all who have posted programs and solutions. I have learned a lot. I have two 8 button KPLs that control several lighting circuits in my kitchen. I have configured KPL button G as "All Off Delayed." When pressed, the G button LED on the KPLs will flash once a second and start the timer. After a period of time, a set of kitchen lights will flash warning occupants the lights are about to go out. After more time, the lights turn off. I have successfully been able to interrupt the timing feature and G button flash by turning on kitchen lights in the set, but I have not been able to consistently interrupt the timer and G button flash when I press the G button. I am confident this is due to one of the conditions of the "IF" statement and the state of the button's LED; when it's on and I press the button it will interrupt the timing feature. Conversely, when the LED is off and I press the button it will not. I have tried variables without success. I have also tried the change KPL G to Toggle ON, but the logic doesn't work on that either. Anyone have any ideas? Kit All Off Dly KPL G - [iD 0019][Parent 0001] If ( Control 'Kit NE KPL G' is switched On Or Control 'Kit S KPL G' is switched On ) And ( Control 'Kit NE KPL G' is not switched Off Or Control 'Kit S KPL G' is not switched Off Or Control 'Kit Dining-NW' is not switched On Or Control 'Kit NE KPL A' is not switched On Or Control 'Kit S KPL A' is not switched On Or Control 'Kit NE KPL A' is not switched Fast On Or Control 'Kit S KPL A' is not switched Fast On Or Control 'Kit NE KPL B' is not switched On Or Control 'Kit S KPL B' is not switched On Or Control 'Kit NE KPL B' is not switched Fast On Or Control 'Kit S KPL B' is not switched Fast On Or Control 'Kit NE KPL C' is not switched On Or Control 'Kit S KPL C' is not switched On Or Control 'Kit NE KPL D' is not switched On Or Control 'Kit S KPL D' is not switched On Or Control 'Kit NE KPL E' is not switched On Or Control 'Kit NE KPL F' is not switched On Or Control 'Kit Under Cab NE' is not switched On Or Control 'Kit Under Cab NW' is not switched On Or Control 'Kit Under Cab SE' is not switched On Or Control 'Kit Under Cab SW' is not switched On ) Then Run Program 'Kit KPL G Button Flash' (Then Path) Wait 10 seconds Repeat 2 times Set 'Kit NE KPL A' Fast Off Wait 1 second Set 'Kit NE KPL A' Fast On Wait 1 second Repeat 1 times Wait 5 seconds Set Scene 'All Kitchen' Off Wait 30 seconds Stop program 'Kit KPL G Button Flash' Else Stop program 'Kit KPL G Button Flash' Set Scene 'Kit KPL G Buttons' Off _________________________________ Here is the button flash program: Kit KPL G Button Flash - [iD 001A][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat Every 1 second Set Scene 'Kit KPL G Buttons' On Wait 1 second Set Scene 'Kit KPL G Buttons' Off Else - No Actions - (To add one, press 'Action')
×
×
  • Create New...