Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.48 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.48 KB

aiocloudweather

PyPI Release GitHub Activity Project Maintenance Mastodon

A simple Python library for parsing Wunderground and Weathercloud update requests, based on aioecowitt for Ecowitt weather stations.

Installation

You can install aiocloudweather from PyPI using pip:

pip install aiocloudweather

Usage

import asyncio
import aiocloudweather

async def dataset_handler(station: WeatherStation):
    # Your code here


app = CloudWeatherListener()
app.new_dataset_cb.append(dataset_handler)

await app.start()
while True:
    await asyncio.sleep(100000)

Contributing

Contributions are welcome! Please also check the Cloud Weather Proxy project which uses this library to enable the weather stations in HomeAssistant.