Source: factory.service/package.gekkoridge/ObjServiceOpenWeather.py
OpenWeatherMap API integration service.
Retrieves current weather, 5-day forecast, UV index,
and air quality data. Designed for correlation with
solar production (cloud cover, irradiance) and health
...
| Method | Signature | Description |
|---|---|---|
| get_current | get_current() -> dict |
Get current weather conditions. |
| get_forecast | get_forecast() -> list[dict] |
Get 5-day / 3-hour forecast. |
| get_air_quality | get_air_quality() -> dict |
Get current air pollution data. |
| record_weather | record_weather(min_interval: int = 300) -> int |
Fetch current weather and air quality and |
| get_solar_forecast | get_solar_forecast() -> list[dict] |
Extract solar-relevant data from the 5-day |
| process | process(context: dict) -> dict |
Workflow entry point for weather operations. |
| run_workflow_direct | run_workflow_direct(guid: str, selector: str) -> str |