Closed cronutan closed 3 years ago
Uptime is already available as the device state in a readable format. You can select it from the device configuration dialog.
Which device configuration dialog. I don't see it.
My mistake, it's shown as the UI value in the Indigo client, but that's not actually available for display on a control page. I thought it was.
Ok. Is it something you would be interested in adding? If not, I'll try the device extensions plugin you suggested?
Try device extensions.
There is "convert date time format" and "convert date/time to elapsed minutes". Fiddling with them, I don't see how I could change seconds to days, hours, minutes. Converting time formats would not accept seconds (%S) and returned nothing for %d %H:%M:%S
I've never actually used that plugin, I just remembered it did time conversions.
Currently I use the uptime and offline_seconds to show on controll pages, but I can't use these values directly so I setup variables and triggers to convert them. It would be very convenient to have them in some user readable state like 1 day, 4 hours, 34 min