# Open-Meteo

Source: https://docs.evcc.io/en/tariffs/open-meteo

Free Weather API [open-meteo.com](https://open-meteo.com) Open-Meteo is an open-source weather API and offers free access for non-commercial use. No API key required.

Supported features: Global

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| lat | Latitude | 55.7351 |  |
| lon | Longitude | 9.1275 |  |
| az | Azimuth Orientation of PV modules in degree. -180 = north, -90 = east, 0 = south, 90 = west, 180 = north | 0 |  |
| dec | Decline 0 = horizontal, 90 = vertical | 25 |  |
| kwp | Maximum generator power | 9.8 kWp |  |
| model | Weather model See [Open-Meteo API docs](https://open-meteo.com/en/docs/dwd-api) (best_match, icon_seamless) | best_match |  |
| ac | AC Power [kW] | 1000 | advanced |
| dm | Damping morning [%] | 0 | advanced |
| de | Damping evening [%] | 0 | advanced |
| efficiency | Efficiency [%] | 100 | advanced |
| alphatemp | Temperature coefficient | -0.004 | advanced |
| rossmodel | Cooling type [Ross Model] Well Cooled (0.0200), Free Standing (0.0208), Flat on Roof (0.0260), Not So Well Cooled (0.0342), Transparent PV (0.0455), Facade Integrated (0.0538), On Sloped Roof (0.0563) [sciencedirect.com](https://www.sciencedirect.com/science/article/pii/S2352484722024805) | 0.0342 | advanced |
| interval | Interval | 1h | advanced |

## Configuration example for evcc.yaml

```yaml
tariffs:
    solar:
      - type: template
        template: open-meteo
        lat: 55.7351 # Latitude
        lon: 9.1275 # Longitude
        az: 0 # Azimuth, Orientation of PV modules in degree. -180 = north, -90 = east, 0 = south, 90 = west, 180 = north
        dec: 25 # Decline, 0 = horizontal, 90 = vertical
        kwp: 9.8 # Maximum generator power (kWp)
        model: best_match # Weather model, See [Open-Meteo API docs](https://open-meteo.com/en/docs/dwd-api) [best_match, icon_seamless]
        ac: 1000 # AC Power [kW], optional
        dm: 0 # Damping morning [%], optional
        de: 0 # Damping evening [%], optional
        efficiency: 100 # Efficiency [%], optional
        alphatemp: -0.004 # Temperature coefficient, optional
        rossmodel: 0.0342 # Cooling type [Ross Model], Well Cooled (0.0200), Free Standing (0.0208), Flat on Roof (0.0260), Not So Well Cooled (0.0342), Transparent PV (0.0455), Facade Integrated (0.0538), On Sloped Roof (0.0563) [sciencedirect.com](https://www.sciencedirect.com/science/article/pii/S2352484722024805) (optional)
        interval: 1h # Interval, optional
```
