I installed the Countdown Timer app via the Hubitat Package Manager and created two Timer Devices to track time remaining on a couple devices (outlets). For example, I have an attic fan that i control by a smart outlet. I have a smart button added that when pressed certain ways have different scene. These scenes run the attic fan for 1, 2, or 4 hours and start the "attic timer (the Countdown Timer device)". I have a tile on my Sharptools dashboard that shows the time remaining via the "attic timer" device. I do understand that I can change the Update Method to be Moderate or Dynamic but the point of the tile on my dashboard is to operate like a countdown timer, meaning showing updates every second.
Has anyone else had this issue or is there an alternative countdown timer I can try to use? I have 2 countdown timers configured and when they are both going I notice there is a lag in Sharptools dashboard, the Hubitat response rate, and that I start getting the "Excessive Events" alerts form HUbitat.
Sounds like it needs to be more of a client-side (browser) thing, where the target date/time is provided and the browser displays the countdown in some way based on this single input....
But then I remembered that this has been around for a while, I even played with it briefly when in came out. My guess would be you may have the threshold for HE triggering a warning set too low for the device responsible for capturing the changes in the attribute displayed on your dashboard.
Check the "Too Many Events alert threshold" on your HE device and compare that to how regularly the attributes update. I may be a simple case that these are updating more than this threshold, but not significantly impacting performance on your HE hub.
Thanks sburke781. I just updated the event alert threshold to the max, 2000 events per hour. This will still end up in excessive events alerts as there are 3600 seconds in an hour so it should delay the alerts for about 40 minutes.
Anyone know of any other countdown timers for Hubitat or more so to be used in SharpTools to display "Time Remaining" on my timed Hubitat switches by chance?
The only way to do what you want with a virtual device is going to result in an event being posted every second, no magic code is going to get around it. When the resolution of the timer is in hours do you really need it to update the time every second?
Can you display hub variables on Sharp Tools? The only other way I could think to do it would be via variable instead of a device with events. Might be able to do a rule in RM to update the variable every second, otherwise you would need a custom App I think. You would have to store the start time and then calculate the new time every update to be sure it does not lose time.
Thank you. I thought about the RM variable update approach as I have RM configured to update a set of variables that I pass to SharpTools for a Super Tile but that update interval is much longer. Just figured I ask to see if maybe there was something I was missing.