I have a Webcore program that increments a time duration for every minute a switch is on. It reports a cumulative daily time and resets at midnight. Right now, it’s writing to a device with a device handler called “Webcore Value Tile”.
The device used to display the cumulative time in the Things menu in the old app (as 00:00:00 or hh:mm:ss). In the new app, it looks like an on/off switch with no value display.
Are there any device handlers that can allow me to create such a device with the new app, such that I can see the cumulative time in the home screen?
Thanks @Alwas , this seems to be working well. It reverted to “Value A” at some point while I was testing it, not sure if it was because I went in to the settings and accidentally reset it. Is there a way to eliminate the input from the device handler and just let Webcore set it instead?
Any time the value is updated in the app, a flag is set in the DTH. If you use a piston like in this post:
Then you can reset the value to the webcore desired value any time it changes., The piston currently is set up to synchronize the app value with webcore global variables but you could always just face the value to stay the same.
Does this functionality/DTH still work nowadays or did SmartThings kill it?
I had the idea of using it and updating the device labels via a webcore piston to display current locations for my various webcore presence sensors.
I installed the DTH, created a new device with it, and have a piston that’s updating the device label (verified via ST IDE logs) but the device does not show the label in the SmartThings App. In the App the device just shows a Status label that shows as Connected.
I am still using it for a couple of different cases, but I can’t recall if I did anything to adjust when the newest app and “standard” device drivers came to be.
I don’t know how well this will cut and paste, but this is a version I’ve been using. I do notice the comments say “with new app support”, so perhaps you are using an older version that wasn’t updated for the new app.
Value tiles with adjustment capability-with new app support
Thanks for the help @mooch91 , I got it working with that DTH!
How is the device getting the label titles? I don’t see First Label, Second Label specifically in the DTH so I’m guessing it’s derived or set by the capabilities somehow? I’d like to change them but I’m blanking out at the moment on how to do that…