Python library that allows you to use La Crosse devices that connect with La Crosse View
Project description
pylacrosseview
pylacrosseview
is a python library that allows you to use La Crosse devices that connect with La Crosse View in your python scripts.
Designed for Home Assistant.
See an example below:
from logging import INFO, basicConfig
from os import environ
from pylacrosseview import *
if __name__ == "__main__":
basicConfig(level=INFO)
ws: WeatherStation = WeatherStation()
ws.start(environ["LACROSSE_EMAIL"], environ["LACROSSE_PASSWORD"])
for device in ws.devices:
for field, values in device.states().items():
print(f"Value of {field} on {device} is {values[-1].value} {field.unit}")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylacrosseview-0.1.3.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for pylacrosseview-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c107398f577547fcd21f1da5b9dbf36369bb351d8d87b65f05ee5a588345e98d |
|
MD5 | d3c10c62f3cc74af6ac8169cc3d6633d |
|
BLAKE2b-256 | 140ed7896519deea4915caf1fb147d925fd4beb2e1576e4f3779000cc2a34865 |