cmcginty / PyWeather

Bindings for Davis Vantage Pro and Pro2 weather stations, upload of weather data (e.g. wunderground.com, pwsweather.com), and meteorological calculation/conversion functions.
GNU General Public License v3.0
60 stars 34 forks source link

Weather Link IP #5

Closed bgkerion closed 2 years ago

bgkerion commented 7 years ago

Added the support to the Weather link via TCP IP. Note that both the _calc_derived_fields and the parse method of the VantagePro Class have been heavily modified to achieve the wanted behaviour: download all the new records from a specific datetime and calculate all the derived fields for each archive record.

This version has been tested with my setup.

saveriogzz commented 2 years ago

Hey @bgkerion , did you by any chance develop a way to convert measurements into the metric system (celsius instead of farenheit)? If yes, could you point me where into the code? It sounds trivial but I'm struggling with it! Thanks a lot in advance!

bgkerion commented 2 years ago

I did it a lot of time ago so I don't remember well is I did something new or not. Anyway I've put my deamon in this repository vantage2influxdb. Particularly here https://github.com/eLuxUniBS/vantage2influxdb/blob/master/vantageEntity.py there are all the details about units.

saveriogzz commented 2 years ago

Hi @bgkerion , I'm closing this as it wouldn't work with Python3. I took some of this code to develop #19