open-weather-vision / vantjs

platform-independent javascript/typescript interface to Davis Vantage Pro, Davis VantagePro 2 and Davis Vantage Vue
https://open-weather-vision.github.io/vantjs/
7 stars 0 forks source link

Figure out station's cup size and parse rain values accordingly #1

Closed harrydehix closed 2 years ago

harrydehix commented 3 years ago

Currently a 0.01in cup size is assumed, but some stations may have a cup size of 0.2mm or 0.1mm.

harrydehix commented 3 years ago

The user can now select its weather station's cup size using the VantageInterfaceOptions (656afc3a912ff0cfdf224d0752929cd8d973567a). The data is not parsed accordingly yet (instead the amount of clicks is stored) because this is going to be part of the more advanced unit system.

harrydehix commented 2 years ago

Fixed in the v1.0.0 branch (7596e1b7b940b976fe4775486c7d81325ea40362).