@RomMon: Thanx, that did the trick!
Empowered by the ' myClock experience', I have also focused on something that I wanted to change for a long time now: change the temperature that is shown to a more precise value instead of the rounding to half degrees.
Looking in the folder ' /HCBv2/qml/apps/thermostat', I found the files that are responsible for the various activities around the thermostat. In the file ' ThermostatApp.qml' the main variables and initiation functions are defined. At line 46, the variable 'thermInfo' is defined which contains a number of properties including ' currentTemp' and 'currentDisplayTemp', but also the current state etc. However the actual showing of the temperature is not in this file.
In the file 'thermostatSidePanel.qml', the right side of the homescreen is drawn, including the current temperature, the buttons to increase/decrease the temperature and showing and selecting the current temp program. At line 58 I found the following code:
Code: Select all
currentTemperature = app.thermInfo['currentDisplayTemp'] / 100.0;
This variable 'currentTemperature' is then used to update when a new temperature is selected by pressing the increase/decrease buttons. As yet I haven't found yet where the actual display command is for this variable (still need to dig deeper in the qml syntax

). However for my goal, it was sufficient to change line 58 to the following code:
Code: Select all
currentTemperature = app.thermInfo['currentTemp'] / 100.0;
So in effect using the actual temperature (with one decimal) to show instead of the rounded value.
The only thing you need to be aware of is that with the increase/decrease buttons are programmed in steps of 0.5C. That is probably the reason why Toon shows the temperature in half degrees. It is possible to change the steps to increase/decrease in the file 'thermostatSidePanel.qml'. Around line 373 you can find the settings, looking like:
Code: Select all
rangeMin: 6.0
rangeMax: 30.0
increment: 0.5
valueSuffix: "°"
Changing the value 'increment' for instance to 0.1 allows more precise setting the desired temperature.
Of course after all changes, don't forget to restart the gui to show the new temperature settings: