djjudas21 / ecowitt-exporter

EcoWitt exporter for Prometheus
4 stars 3 forks source link

Inches of mercury to hectopascals conversion #22

Closed brendanbank closed 1 month ago

brendanbank commented 1 month ago

Hi, The current inHg to hPa conversion uses a multiplication factor of 33.6585. Should this not be 33.86389?

https://github.com/djjudas21/ecowitt-exporter/blob/bef0280093f709efbf1b0232504dbd42e98ffdee/ecowitt_exporter.py#L214

djjudas21 commented 1 month ago

Yes, you're right. I don't know where my value came from - I think I just got them from Google when I was writing the exporter. I'll fix this in a bit.