Converting variables

Posted on
Tue Feb 21, 2017 6:44 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Converting variables

Is there a way to convert variables that are used on a control page? I have several variables that are tracking the runtime of my furnace in minutes (daily/weekly/monthly/etc.). Is there a way to convert them to hours, on the fly? I'd prefer not to keep two sets of variables, one in minutes and one in hours, if possible. Thanks.

Posted on
Wed Feb 22, 2017 10:27 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Converting variables

No, you'll need to convert and store somewhere.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Feb 22, 2017 12:15 pm
Busta999 offline
User avatar
Posts: 714
Joined: Mar 30, 2016
Location: Wales UK

Re: Converting variables

I am pretty sure the Adapters Plugin could help here. You can take a variable and perform a formulaic conversion on it and save to a new variable.

Sent from my KFGIWI using Tapatalk

Posted on
Thu Feb 23, 2017 12:55 pm
aldera offline
User avatar
Posts: 188
Joined: Aug 30, 2016
Location: Michigan, USA

Re: Converting variables

Thanks for the replies. I ended up creating a duplicate set of variables to hold the converted data.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests