I’ve also noticed that the dashboard can be slow to update. Definitely have seen the same thing with the units taking a while to change, but it eventually will. Same with the switch state. I think after you run it for a bit and use your app, things should start getting properly updated.
Reset will not stop the timer, just reset the value to 0.
Regarding decimal points or more specific time formats. I did think about that, but that gets much more complex for a few reasons, so for now I’ve gone with integer fields. My logic was that you would just choose the lowest granularity you needed (seconds, minutes, etc.). How would an automation routine make use of a time format string?
Oh, it’s beautiful… Not finding it lacking anything for myself.
Floating an idea, for Mooch’s desires, at risk of taking up more space.
I suppose the duration could be converted to an additional desired time format for display/report purposes. Of course that’s easy for me to suggest, but making it happen, of course I don’t know.
I can probably live with the duration as-is. I think ‘minutes’ is the appropriate unit for my use case; gives enough granularity for what I’m trying to monitor.
I long for the day Routines will allow me to take that value and spit it out in a notification. Or send it to another device and manipulate it.
I remember when Edge drivers were introduced and it didn’t take long before he got first of his drivers out to us to test. Especially virtual devices have been game changers. Just like this counter. One device, full of different features.
I’ve not noticed any real problems (other than the tile status, already mentioned), but, just to offer some quick feedback.
The duration display does, apparently, add a second or two every now and again, but I think that has more to do with the refresh, and not inaccuracies. In any case, accurate enough.
All and all, I feel a little like the dog that caught the mailman… Now I have to figure out what to do.
I pushed out a quick driver update so you all can see what happens when I change the dashboard display so that the switch icon changes correctly when the switch is on vs. off. It’s a huge tile now, but that seems to happen when you add a second state to show such as the duration value.
If you use device Settings to change the dashboard option to ‘count’, it goes back to its small size since I’m not showing 2 states.
Another option I could do is show both the duration AND the count plus their respective action controls on the big tile, then eliminate the settings option for choosing between duration and count on the dashboard.
I’ll see if I can get it to update, not sure if I need to delete reinstall maybe hub reboot? But not sure if I noticed the duration displaying on the dashboard before, maybe it was there… my eyes are not so great.
Still observing the added seconds. Seems like nothing is actually being added, but it’s displaying the actual total seconds when display is updating on an off beat, rather than scores of 10 (which I’ve had update frequency set to). Pausing and restarting gives a good idea of what’s happening.
The dashboard values aren’t getting updated (SmartThings app issue)
There is a bug in the duration value computation when turning back on from being paused. There is something wrong in the code I need to fix. Having the units set to hours, letting it run for a few, then turn off, waiting a minute, then turning back on and you get a big negative number!
Well, this morning, at least the swipe-down duration display update/refresh isn’t causing any issue, although I did receive Android app update overnight.
Will continue testing today and this evening.
**Seeing some label/name issues, that others were describing with Apple app. Apparently have made itheir way to Android.
Let us know if you make some changes that you feel is addressing this.
Seconds,at least seem to match up with another stopwatch. Minimal difference, which is likely accounted for by not being perfectly synchronous with pausing and restarting the stopwatch.
Anyway, I’ll wait on doing minutes, but the overall performance in general appears to be better with latest Android app version.
After some investigation into this last night I discovered my driver was receiving duplicate events from the platform and this was the cause of the negative numbers (two switch ONs in a row screwed up some logic). I’ve experienced this issue from time to time with various drivers and have reported it.
Thanks @TAustin I can live with the larger icon but it will be the only one I Have this way. I think I understand the constraint you face. Honestly, maybe having both the count and duration would be a good option since it has to be so large?
I didn’t get a random accumulation of time yet today.