Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Possible Bug - Lutron RadioRA2 Driver and Thermostat
#31
It works but the temperature is not correct. You had mentioned a potential rounding error? Did you see the post?
Reply
#32
Oh yeh, I almost forgot about that.
Dean Roddey
Explorans limites defectum
Reply
#33
Very strange. I checked it today and it's showing the appropriate set point from the thermostat: 78

Is this indeed a rounding issue or what?

[Image: Screen-Shot-2019-11-07-at-17-55-08.jpg]
Reply
#34
Rounding issues would sometimes be right, or sometimes up or down a degree, depending on how close the C temp is to the F temp. Sometimes they are just worst case and sometimes the difference is tiny.
Dean Roddey
Explorans limites defectum
Reply
#35
(11-07-2019, 03:07 PM)Dean Roddey Wrote: Rounding issues would sometimes be right, or sometimes up or down a degree, depending on how close the C temp is to the F temp. Sometimes they are just worst case and sometimes the difference is tiny.

So how do we resolve? Should not have a rounding issue on a set point, IMHO. On current temperature? Sure, but not a set point which is set in whole degrees.
Reply
#36
I need to look at how the calculation is being done, and make sure it's doing things in the right order and at the right precision and such.
Dean Roddey
Explorans limites defectum
Reply
#37
OK, so I'm actually asking for the temp from the thermo in the scale that you tell me you want to see.

So, there's only really two scenarios:

1. When it reports them asynchronously, that it reports both of them, and the second one in this case is the C one, so that the converted one overwrites the one
2. It reports them floating point either way, so even if it only reports the one I care about, it still have to round it. I'm rounding to the nearest integral value (up or down, whichever is the least change.) Maybe the thermo is just rounding down by chopping off the fractional part.

I'll have to hook it up and see what's going on, though I may have to sit on it to get it to change the temp enough for good testing.
Dean Roddey
Explorans limites defectum
Reply
#38
OK, so I'm correctly protecting myself against handling reports for the other scale, I only handle ones for the selected scale. So, the only thing I can think of is that the thermo is always rounding down and I'm rounding to the closest. When they disagree is the driver always the next degree up from what the thermo shows? If that's it, the driver is really sort of more correct since 78.8 is closer to 79 than to 78. But, I can always just round down if that makes it agree with the thermo.
Dean Roddey
Explorans limites defectum
Reply
#39
Thanks for checking in to this. I was asking about the HighSetPoint and the LowSetPoint, no the actual temperature reading. I was under the assumption that the set points are round numbers (e.g., 75, 78, etc.).
Reply
#40
Oh, OK. The same would apply to set points. They are also reported as floating point, and I'm also filtering for the scale that you selected. So it would be the same. If they disagree, is the driver always the next degree up?
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lutron RadioRA2 Driver and Lutron Visor Control gReatAutomation 28 630 Yesterday, 03:45 PM
Last Post: Dean Roddey
  Question on CQC Driver Pack Install kblagron 1 52 11-26-2019, 06:38 PM
Last Post: Dean Roddey
  "Stay Awake" in Denon driver? George M 7 231 10-25-2019, 07:58 AM
Last Post: Bugman
  Serialization of CQC SMS Serial Interface Driver gReatAutomation 52 1,644 09-21-2019, 12:59 PM
Last Post: gReatAutomation
  Atlona Driver? cavalier240 5 342 09-16-2019, 01:29 PM
Last Post: Dean Roddey
  HTTP Trigger Driver - see trained URL's? Shaky 1 141 09-15-2019, 12:25 PM
Last Post: Dean Roddey
  Spotify driver for CQC? znelbok 1 173 09-03-2019, 04:08 PM
Last Post: Dean Roddey
  SONOS Driver Question gReatAutomation 13 619 08-23-2019, 12:37 PM
Last Post: Dean Roddey
  New Z-Wave driver preview Dean Roddey 162 16,499 08-02-2019, 03:06 PM
Last Post: Dean Roddey
  Insteon V2 Driver Question kblagron 1 178 08-01-2019, 10:51 AM
Last Post: kblagron

Forum Jump:


Users browsing this thread: 2 Guest(s)