Jump to content
Gen2 Devices: FW Update Required / Gen2 Geräte: FW-Update erforderlich ×

Temperature Value


Recommended Posts

Hi Team,

In the HTML webinterface, the temperature is displayed e.g. 21.75 °C. I have an action triggered when the temperature does change. I know, the data threshold is 0.1 °C. Once the temperature does change by 0.1 °C, the action will be triggered. I am using the variable/token $temperature for the GET request. The token does round the value to one digit after the decimal point. In this example: 21.8 °C. It is fine to only trigger the action on a 0.1 °C change, however can the variable/token to be changed to report the value 21.75 °C (with 2 digits after the decimal point) - as it is done in the GUI? I would like to basically send the same temperature value within the variable as it is displayed in the GUI.

Other example:

image.png.d5d03325b128ab35cc7fca01c1928df5.png

Value reported within the GET request: sensor=temperature&temperature=21.9. Would be good if the value would be 21.88.

Is there another variable available? Can this please be changed in further firmware releases? Users can decide if they want to round the temperature value in their own application, after it has been reported via the GET request.

Thanks,

Robert

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Erstelle neue...