This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Pymeteostation is software made for controlling meteostation built of MLAB electronic modules (http://www.mlab.cz/) and sending measurements to Open Weather Map (http://openweathermap.org/).

Currently supported sensors are:

  • SHT25v01A (Sensirion SHT25)
  • ALTIMET01A (MPL3115A2)

Software dependencies

How to

  1. Install PyMeteostation:

    pip install PyMeteostation
    
  2. Create an account on http://openweathermap.org/

  3. Run:

    pymeteostation -g
    

    This wil generate basic configuration file named .pymeteostation in your home directory.

  4. Fill the generated config file:

    • [Meteostation] section:

      Requiered options: username, password, uploadinterval (in seconds) and logpath (must be absolute path)

      If you use ALTIMET01A sensor you must fill altitude option too. (It is used for correcting pressure to sea level altitude.)

    • [I2C_Device] section:

      Enter I2C configuration. (example options: type, name, address, channel, children…)

      Usage of children option:

      children = sensor1;sensor2;
      

      The names in children option are names of sections defining the children devices.

      Sensors must have name option filled.

      Currently supported device types: i2chub, sht25, altimet01

    • [Translation_Into_POST] section:

      Into option, which you want to send, fill sensor name, from which will be gathered data, and sensor measurement ID (this is because some sensors return more than one measurement).

    Example:

    [Meteostation]
    username = user
    password = XXXXXX
    uploadinterval = 120
    logpath = /home/user/PyMeteostation-logs/
    stationname = Meteostation 01
    latitude = 0.0
    longtitude = 0.0
    altitude = 0.0
    
    [I2C_Device]
    type = i2chub
    address = 0x72
    children = barometer;hum_temp;
    
    [barometer]
    name = barometer
    type = altimet01
    channel = 0
    
    [hum_temp]
    name = hum_temp
    type = sht25
    channel = 1
    
    [Translation_Into_POST]
    wind_dir =
    wind_speed =
    wind_gust =
    temp = hum_temp;1;
    humidity = hum_temp;0;
    pressure = barometer;1;
    rain_1h =
    rain_24h =
    rain_today =
    snow =
    lum =
    radiation =
    dew_point =
    uv =
    
  5. (optional) I recommend to run:

    pymetostation -n
    

    This will run PyMeteostation not as service, so you can check if are there any errors.

  6. Run:

    pymeteostation start|stop|restart
    

    This will start PyMeteostation as service.

Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyMeteostation-0.1.0.tar.gz (20.2 kB) Copy SHA256 Checksum SHA256 Source Aug 29, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting