RuuviBridge icon indicating copy to clipboard operation
RuuviBridge copied to clipboard

Barometric pressure shown in InfluxDB with 5 digits.

Open TheNighthawk99 opened this issue 1 year ago • 1 comments

Hello, first of all, a huge thank you for this great project. I installed your RuuviBridge app in a docker container to send metrics of my Ruuvitag Pro to InfluxDB2 bucket. I did not edit anything except the config.yml file but when I check the metrics in InfluxDB the barometric pressure data are shown with 5 digits, instead of 3.

InfluxDB_RuuviBridge

Ok, I could remap those values dividing by 100, but I would like to know if something is wrong in the code. The Ruuvi App on my iPhone shows the barometric pressure with three digits and two decimals.

Thank you. Bye.

TheNighthawk99 avatar Dec 14 '24 14:12 TheNighthawk99

Sorry for the delay, somehow I totally missed this. The stored values are intentionally normalized to the base units, for pressure this means pascals. You can convert them to hectopascals (the typically used unit when talking about atmospheric pressures) by dividing them by 100

Scrin avatar Mar 11 '25 19:03 Scrin