• 21.06.2025, 15:17
  • Register
  • Login
  • You are not logged in.

 

Teasuti

Junior Member

Where do I set the precision of the sensor data in the overview pages?

Monday, August 12th 2024, 7:37pm

Hi guys,
I can't seem to figure out how can I set the any of the temperature sensors - virtual or physical - to show the fractions.
It rounds it to the nearest integer, which is pretty annoying. Especially when I tried to average out the mBar/min leakage indicator and in the
Playground it calculates in two digits precision, only to show a steady zero for an output of "0.17". Useless.
Thanks!

sebastian

Administrator

Monday, August 12th 2024, 9:06pm

you have to edit the elements.
you can adjust everything absolutely freely.


Quoted

<MultiBinding Converter="{StaticResource UnitConverter}" ConverterParameter="0">
set the parameter to 2, then you have 2 digits in your view

Teasuti

Junior Member

Monday, August 12th 2024, 9:11pm

Uhm, I'm not big on HTML code, but I couldn't see anything in the script of the elements that suggests a setting of fractions.
Could you show me how, please?

Teasuti

Junior Member

Monday, August 12th 2024, 9:18pm

Same goes for the Virtual Sensors.
The calculations seem to happen in floating points, but the Overview just rounds it to the nearest integer. Why?
I'd like to request a setting of precision (how many digits after the point), instead of assigning a fake unit.

Teasuti

Junior Member

Monday, August 12th 2024, 10:44pm

Quoted

set the parameter to 2, then you have 2 digits in your view

Oh, I didn't realize this was an example. I overlooked everything after the first paragraph. Thanks, this did the trick.
Not sure if there's one for the Sensor tab views. Those don't have HTML editors.

InfoSeeker

Senior Member

Tuesday, August 13th 2024, 1:28am

Quick TUTORIAL on setting decimal accuracy for components on a display page.

sebastian

Administrator

Tuesday, August 13th 2024, 7:22am

All overviews in the aquasuite are examples only.
The pages are intended to be individually adapted to your own ideas.
All you have to do is click on the lock symbol and then you can customize each page as you wish.


Quoted

Same goes for the Virtual Sensors.
The calculations seem to happen in floating points, but the Overview just rounds it to the nearest integer. Why?
I'd like to request a setting of precision (how many digits after the point), instead of assigning a fake unit.
you have to customize each element the way you want it. To do this, there is a context menu with the right mouse button. (when you in edit mode)

Teasuti

Junior Member

Tuesday, August 13th 2024, 12:20pm

Quick TUTORIAL on setting decimal accuracy for components on a display page.
Thanks!
I noticed that if add one from scratch, there's a slider for it.
But customizing one from scratch is a bit over my head, so I just copied the default indicators from the pages of the devices.
Those are not customizable in that way, they only have an HTML editor. Which is fine, Seb's trick worked like a charm.

But is there a way to set decimal accuracy for the Virtual Sensors if the output doesn't have any unit assigned to it? Perhaps by editing some files in Aquasuite?

sebastian

Administrator

Tuesday, August 13th 2024, 12:26pm

you cant set the decimal places. You can only set up the secimal places in your overview pages.

Teasuti

Junior Member

Tuesday, August 13th 2024, 12:41pm

Thank you Sebastian!
I think it shouldn't cause any inaccuracy further down the line. The charts seem to display the Pressure Change with plenty of precision,
so I guess the variables are defined and stored in floating points and evaluated as such if sent to the controllers as Software Sensors, right?