Skip to content

a library to read data from the Biral VPF-730 Present weather sensor

License

Notifications You must be signed in to change notification settings

RUBclim/vpf-730

Repository files navigation

CI pre-commit.ci status docs

vpf-730

A package to read data from the Biral VPF-730 Present weather sensor.

installation

pip install vpf-730

quick start

Make sure your Sensor is connected and find out the port it is connected to. For a detailed documentation please see the Docs.

Versions > 0.5.0 contain a full rewrite with lots of breaking changes

logger as a CLI

The logger: Communication and continuous data logging

vpf-730 logger --serial-port /dev/ttyS0

sender as a CLI

The sender: Sending data to a remote server

VPF730_API_KEY=deadbeef vpf-730 sender \
--get-endpoint "https://api.example/com/vpf-730/status" \
--post-endpoint "https://api.example/com/vpf-730/data"

comm CLI

It is also possible to manually send ASCII commands to the sensor. \r\n must not be specified

vpf-730 comm --serial-port /dev/ttyUSB0 R?

Returns:

 200,2.515,16.5,12.2,5.00,12.3,00.00,00.00,101,086,000,02,03,00,+001.9,4040

as a package

from vpf_730 import VPF730

vpf730 = VPF730(port='/dev/ttyS1')
print(vpf730.measure())

About

a library to read data from the Biral VPF-730 Present weather sensor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages