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 details)
Built Distribution
File details
Details for the file pylacrosseview-0.1.5.tar.gz
.
File metadata
- Download URL: pylacrosseview-0.1.5.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.12 Linux/5.13.0-1023-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8813c413f4ac1522aeefe5e42befed1ce6bc20d255802e3add8f24b2afa4b3 |
|
MD5 | fffac9a1e1a8aca1e4d27771778682b7 |
|
BLAKE2b-256 | 4e2c522bc199f0c38426784da4f855a4760884193f81c8502e9da78c95112df9 |
File details
Details for the file pylacrosseview-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pylacrosseview-0.1.5-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.8.12 Linux/5.13.0-1023-gcp
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de0f6c6e5a9ae5ec6179945a2f4d97b17f56bfb3b95c3ad6ff7fe2afcc0b7a4 |
|
MD5 | b1a75fe6981afce4ea9f24c9874f680f |
|
BLAKE2b-256 | 6d6fcd72a7f6ee74054acf59a27d49a440ff24fd5ba7520660deaf38ce2e080d |