I have a MBPro and a recently added MBPro2 set up in the Meteobridge Datalogger integration in Home Assistant.
HA is running from a Pi5.
I have the same 'problem' with both of them.
In HA, any precipitation figure is always a shown as a whole figure, rounding the original figure up or down. E.g 2.4mm will show as 2mm, 2.6mm will show as 3mm etc.
When accessing an MB directly via the browser, the Live Data will show the precipitation figure (current rain, Min / Max rain) correctly (e.g. 2.4mm, as is also shown on my Davis console.
Is the precipitation data that HA gets from MB (as an API?) only sent out in whole numbers? If so, can this be changed?
Any help / suggestions appreciated
Thanks
MBPro / MBPro2 rounding up / down precipitation in Home assistant
Moderator: Mattk
Re: MBPro / MBPro2 rounding up / down precipitation in Home assistant
What are the output/config options with Home Assistant?
Re: MBPro / MBPro2 rounding up / down precipitation in Home assistant
Found it, thanks. Your reply got me digging deeper in the individual settings for the individual sensor.
The setting I needed to change was the Display precision option, something I'd never paid attention to or ever used in HA in the past.
I had never changed any settings after installing the MB Integration and adding the MBs, all the MB settings and sensor / entity settings were the default HA ones. Therefore, the Display precision was set at the default whole number, which was rounded up and down from the actual number. The MB needs a number with one decimal point for best display accuracy.
info for anyone else:
Example for changing the 'Meteobridge Precipitation Today' Display precision
(the actual rain total so far today is 2.2mm, HA is showing 2mm)
Click on the Meteobridge Precipitation Today sensor / entity
This opens the History graph window.
Click on the settings cog
Click on Display precision (which was shown as Default (2)
This brought a drop-down selection of 2, 2.2, 2.20 ..... etc.
Selecting 2.2 then displayed the total as 2.2mm in HA
note - 2, 2.2 etc. in the drop-down is based on the reading at that time. Therefore, if the current total was 36.5mm, then the Display precision drop-down options would be 36, 36.5. etc.
The setting I needed to change was the Display precision option, something I'd never paid attention to or ever used in HA in the past.
I had never changed any settings after installing the MB Integration and adding the MBs, all the MB settings and sensor / entity settings were the default HA ones. Therefore, the Display precision was set at the default whole number, which was rounded up and down from the actual number. The MB needs a number with one decimal point for best display accuracy.
info for anyone else:
Example for changing the 'Meteobridge Precipitation Today' Display precision
(the actual rain total so far today is 2.2mm, HA is showing 2mm)
Click on the Meteobridge Precipitation Today sensor / entity
This opens the History graph window.
Click on the settings cog
Click on Display precision (which was shown as Default (2)
This brought a drop-down selection of 2, 2.2, 2.20 ..... etc.
Selecting 2.2 then displayed the total as 2.2mm in HA
note - 2, 2.2 etc. in the drop-down is based on the reading at that time. Therefore, if the current total was 36.5mm, then the Display precision drop-down options would be 36, 36.5. etc.