PyMeteostation
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
Pymlab (>= 0.2, https://pypi.python.org/pypi/pymlab/)
How to
Install PyMeteostation:
pip install PyMeteostation
Create an account on http://openweathermap.org/
Run:
pymeteostation -g
This wil generate basic configuration file named .pymeteostation in your home directory.
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 =
(optional) I recommend to run:
pymetostation -n
This will run PyMeteostation not as service, so you can check if are there any errors.
Run:
pymeteostation start|stop|restart
This will start PyMeteostation as service.
Metadata
Release files for PyMeteostation 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PyMeteostation-0.1.0.tar.gz | 20.2 kB | Without provenance | Details for PyMeteostation-0.1.0.tar.gz |
Release files / PyMeteostation-0.1.0.tar.gz
| Download URL | PyMeteostation-0.1.0.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51cd489793de1b9806c0caa5e89636add822e0ff8d403a21a627dbdbea82bbb9
|
|
BLAKE2b-256 checksum How to use checksums |
6aacb6ed7725209e9c86d56f5ba535b6c699d75d4be9a86346afcfbc7a98ea76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PyMeteostation 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.