Originally posted by paulockenden
View Post
HR92 Observations on temperature and control processing
Collapse
X
-
Hi,
I particularly enjoyed the earlier comments about a nerdy group dedicated to investigating this . Anyway, all the detailed posts have helped me track down where the Domoticz code implements the 0.1 rounding of the raw temperature values from the non-scripted Evohome temperatures. For those who are particularly interested, it's in Mainworker.cpp where the raw 4 digit temperatures are converted to 1dp (this explains why I missed it when I scoured the Evohome.cpp code). I'll submit an update to correct this and remove the rounding.
Thanks for providing all the detailed info.
Dan
Comment
-
-
Hi Bruce,
It's a little more complicated as Mainworker does get called when Evohome receives updates via the script, but the script only uses the data structure evohome1 for its updates. The HGI80 uses a different data structure (evohome2) for its zone temperature updates and it's the Mainworker processing code for this data structure that contains the 1dp rounding code. C++ programming is such fun !
Dan
Comment
-
-
Luckily I skipped it. But I did do PASCAL, which I understand it was based on. Infact just about 2/3 years ago I felt like I hadn't learnt a new language in the last decade, so picked up Python (my wife was thinking more along the lines of Spanish or German). Goodness have programming languages become easy and more complex as well.
Comment
-
-
Originally posted by theasman View PostPaul I would be very interested in an image once you've done it. Tony.
Has anyone here played with cross-compilation?Last edited by paulockenden; 13 December 2016, 08:50 PM.
Comment
-
-
A quick update on the Domoticz 1 vs 2 decimal places difference between the API script and HGI80 functionality. The update to the code to retain the source 2 decimal places for the HGI80 functionality has been merged into the main Domoticz beta code and should be included in the next beta release within a week or so. HGI80 users will see their temperatures switch to 2 decimal places in the dashboard and temperature views (some of the other screens standardise their data to 1dp, but the underlying values are stored with 2dp).
Dan
Comment
-
-
Hi,
I've been doing some testing comparing the temperatures reported by one of my HR92s and a couple of HR80s (v2.03 and v2.04). It looks like the HR92 reports temperatures in steps of 0.07 and the HR80s 0.06. What has particularly surprised me is the message frequency on the HR80s (I've only just got hold of these - thanks Bruce for the loan of the v2.04 one). The HR80s seem to send out their messages every 3-5mins irrespective of whether there's been any change in temperature. However, the HR92s adjust their message frequency based upon whether there's been any significant change in temperature ranging from 2-3mins to 20-40min.
Dan
Comment
-
Comment