[ANSWERED]Formatting Question (stat setpoint)

Posted on
Wed Aug 20, 2014 11:36 am
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

[ANSWERED]Formatting Question (stat setpoint)

Some thermostat temperatures display as integers while others display with a single decimal that's always zero.
Is there some method of displaying these all as integers (fahrenheit)?
Attachments
sp.png
sp.png (5.95 KiB) Viewed 3022 times

Posted on
Wed Aug 20, 2014 1:39 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Formatting Question (stat setpoint)

It's up to the developer of the thermostat plugin (if applicable) and the thermostat itself to determine how temperatures are represented in a devices states. You could create a trigger that watches for changes in the temp then uses a script to convert from a float to an integer and then stick it into a variable.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 20, 2014 2:18 pm
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

Re: Formatting Question (stat setpoint)

I use the built in support. Sometimes it displays as integer and sometimes a float.

Posted on
Wed Aug 20, 2014 4:39 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Formatting Question (stat setpoint)

Which thermostat?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 20, 2014 5:14 pm
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

Re: Formatting Question (stat setpoint)

Honeywell.
It shows up as integer everywhere but on the control page where it's intermittent (some temps but not all as shown in attached.)

Posted on
Wed Aug 20, 2014 7:45 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Formatting Question (stat setpoint)

How is Indigo communicating with the Honeywell? If it's using Dave's new plugin then he can probably fix it in his plugin code.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Aug 20, 2014 8:21 pm
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

Re: Formatting Question (stat setpoint)

See post 3. No plugin. It also shows as a float in the logs which is fine. It I'd like to be consistent with the integer in control pages.

Posted on
Wed Aug 20, 2014 8:57 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Formatting Question (stat setpoint)

I think the problem might be that when you use Indigo to change the setpoint it uses an integer, so at that point the Control Page will show it as an integer.

But then if you update the setpoint on the thermostat itself, or if Indigo polls out the status of the thermostat, then it might be returning a float with 1/10th precision. In that case Indigo updates the precision to match what the module sent (it can specify the fractional precision).

We'll look into seeing how/if we can make this more consistent.

In the mean time I'd suggest looking into Jay's suggestion of using a variable value if you want it to always be an integer. Note also if part of the problem is the alignment of the value on the Control Page then you can left-align the state value instead of using center or right-align. You can also remove the label ("set:") from the state control so you can independently position them. That is, you can use a separate text caption control as a label and have the device state control not have a label itself.

Image

Posted on
Thu Aug 21, 2014 5:47 am
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

Re: Formatting Question (stat setpoint)

Everything works as expected, it's just the aesthetics (and screen real estate) that are my issue.
As a side note, Honeywell always returns zero for the 1/10th decimal.

Posted on
Thu Aug 21, 2014 8:55 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Formatting Question (stat setpoint)

So, it's a Honeywell Z-Wave thermostat?That's the question I'm trying to get an answer to...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Aug 21, 2014 9:01 am
stevemac00 offline
Posts: 79
Joined: Sep 02, 2013

Re: Formatting Question (stat setpoint)

Honeywell (TH8320ZW1007)
Attachments
1000.png
1000.png (84.56 KiB) Viewed 2890 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests