A simple Python library for parsing Wunderground and Weathercloud update requests, based on aioecowitt for Ecowitt weather stations.
You can install aiocloudweather
from PyPI using pip:
pip install aiocloudweather
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)
Contributions are welcome! Please also check the Cloud Weather Proxy project which uses this library to enable the weather stations in HomeAssistant.