Skip to main content

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)

Uploaded Source

Built Distribution

pylacrosseview-0.1.5-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page