Page 1 of 1

Adjust Maximum reading for barometric pressure

Posted: Fri 09 Sep 2016 3:11 am
by Barrow4491
Hi,
Only new at this site and have built WeatherDuinoPro 2. My issue is the maximum reading on the Barometric Pressure gauge is 1050 mB and the local pressure here is today 1018 mB which is nearly off scale. Can this be altered in the Cumulus.ini file.
Thanks
Jim

Re: Adjust Maximum reading for barometric pressure

Posted: Fri 09 Sep 2016 7:13 am
by steve
I believe the SteelSeries gauges code sets the max and min values based on your all-time high and low pressures. To change this behaviour, you would need to edit the code in gauges.js.

Re: Adjust Maximum reading for barometric pressure

Posted: Fri 09 Sep 2016 11:12 am
by mcrossley
steve wrote:I believe the SteelSeries gauges code sets the max and min values based on your all-time high and low pressures. To change this behaviour, you would need to edit the code in gauges.js.
It does, it takes you all-time max/min records, adds a bit of padding and rounds down/up to nice values. You current reading should never go off-scale.