Originally posted by heatvent
View Post
Announcement
Collapse
No announcement yet.
HS3 Counters and Timers
Collapse
This is a sticky topic.
X
X
-
I havent used timers as a 'countdown' timer, but I do use them to track the runtime of:
--swimming pool booster pump
--swimming pool main pump
--2 HVAC Units
I display the current timer values in HSTouch, then at midnight, I dump the timers to a file, then reset them. I havent done anything with the data just yet. I'd like to graph them at some point.HS4Pro on a Raspberry Pi4
54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI
HSTouch Clients: 1 Android
Comment
-
That's cool. Currently I have only 1 timer. It keeps track of how long the internet is down.
I plan to add another to keep track of monthly irrigation water usage once I measure each zone.
I like your HVAC timer. It would give a 'heads up' of electricity usage before getting the bill. I think I'll add that too.
Comment
-
Originally posted by RJS View PostI read that the values of counters and timers are lost when HS reboots.
Comment
-
Originally posted by RJS View PostI read that the values of counters and timers are lost when HS reboots. How do you store those values for long term usage?
Sent from my SCH-R970X using TapatalkHS4Pro on a Raspberry Pi4
54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI
HSTouch Clients: 1 Android
Comment
-
Originally posted by upstatemike View PostI'm starting to look at timers and am trying to figure out how to trigger on timer state. For example "if motor1 is on AND timer1 is stopped THEN resume timer1" kind of thing. Anybody know how to do this?HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon
Comment
-
That probably wasn't a great example... in real life a "timer is running" trigger is more likely to be used in a watchdog event to ensure that a timer isn't left running due to a missed state change that was supposed to stop it. The watchdog is set to detect a situation that should never occur such as the timer is running when the motor is not.
Comment
-
Originally posted by upstatemike View PostThat probably wasn't a great example... in real life a "timer is running" trigger is more likely to be used in a watchdog event to ensure that a timer isn't left running due to a missed state change that was supposed to stop it. The watchdog is set to detect a situation that should never occur such as the timer is running when the motor is not.HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon
Comment
-
See this thread
http://board.homeseer.com/showthread.php?t=171319
The key is that you will need atleast .184 Beta version of the zwave plugin (assuming your working with zwave)
Comment
-
Originally posted by skarragallagher View PostSee this thread
http://board.homeseer.com/showthread.php?t=171319
The key is that you will need atleast .184 Beta version of the zwave plugin (assuming your working with zwave)
Comment
-
Originally posted by freeon View PostThanks I now see the logic of how it works. I don't use Z-wave but Insteon. It does count switch press but still have a problem. If I want to trigger and event when double taping a switch in the off position I set it to count when value of switch becomes off. When I press the first time it counts the press but it doesn't count the second one because it's already off so value doesn't change. Anyway around this.
Prior to the fix though the work around (which was less than ideal) was to use the "when the device changed" as a trigger and then do On/Off commands within a period of time to trigger events.
Comment
Comment