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.5.tar.gz
(16.3 kB
view hashes)
Built Distribution
Close
Hashes for pylacrosseview-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de0f6c6e5a9ae5ec6179945a2f4d97b17f56bfb3b95c3ad6ff7fe2afcc0b7a4 |
|
MD5 | b1a75fe6981afce4ea9f24c9874f680f |
|
BLAKE2b-256 | 6d6fcd72a7f6ee74054acf59a27d49a440ff24fd5ba7520660deaf38ce2e080d |