PyVantagePro

Communication tools for the Davis VantagePro2 devices
Download

PyVantagePro Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Salem Harrache
  • Publisher web site:
  • https://github.com/SalemHarrache/

PyVantagePro Tags


PyVantagePro Description

PyVantagePro is a Python project which aims to make the communication with weather stations Davis VantagePro2 easier and funnier...i.e. more Pythonic.The main feature of this project is to get data automatically. In order to do so, it uses the basic methods get_archives() (to get archive data) and get_current_data() (to get real-time data).About configuration, it only uses gettime() and settime() because we are assuming that stations are already configured.Note: PyVantagePro uses the PyLink lib, offers a universal communication interface with File-Like API.Examples>>> from pyvantagepro import VantagePro2>>>>>> device = VantagePro2('tcp:host-ip:port')>>> device.gettime()2012-06-13 16:44:56>>> data = device.get_current_data()>>> data87.1>>> data.raw4C 4F 4F ... 0D E6 3B>>> data.filter(('TempIn', 'TempOut', 'SunRise', 'SunSet')).to_csv()SunRise,SunSet,TempIn,TempOut03:50,19:25,87.3,71.5Product's homepage


PyVantagePro Related Software