Convert Seconds to Minutes on a Control Page

Posted on
Sun Aug 06, 2017 4:47 pm
Krikee offline
Posts: 24
Joined: Jan 03, 2014

Convert Seconds to Minutes on a Control Page

Hello,

I am looking for advice/suggestions on how to best display a countdown timer in a Minutes remaining format. Specifically, I have my Irrigation Caddy set to show the remaining run time for a zone on a control page. It only displays it in seconds however, which can be difficult to interpret. Is there a method to display a given number of seconds as minutes? perhaps perform a calculation on the control page or something along those lines. If it involves a custom script, that is fine, just know that a LOT of follow up questions will result due to my complete lack of scripting skills.
:D
Thanks!

Posted on
Mon Aug 07, 2017 1:28 am
howartp offline
Posts: 2618
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Convert Seconds to Minutes on a Control Page

Have a look at the EPS Device Extensions plugin.

It allows you to create a new device which you point at your existing 'seconds remaining' device/state, and display it as hh:mm:ss or whatever you want.


Sent from my iPhone using Tapatalk Pro

Posted on
Fri Aug 11, 2017 10:57 am
Krikee offline
Posts: 24
Joined: Jan 03, 2014

Re: Convert Seconds to Minutes on a Control Page

Awsome!

I had not found this plugin before. I will take a crack at it and see what I can do.
Thanks for the tip!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest