home-assistant.github.io/source/_components/sensor.zamg.markdown
Zac Hatfield Dodds ff5216cfde Sensor.zamg improvement (#2014)
* No hardcoding in ZAMG docs

* Add ZAMG weather platform
2017-02-24 22:47:10 +01:00

53 lines
1.6 KiB
Markdown

---
layout: page
title: "ZAMG Sensor"
description: "Instructions how to integrate ZAMG sensors within Home Assistant."
date: 2016-12-06 08:00
sidebar: true
comments: false
sharing: true
footer: true
logo: zamg.png
ha_category: Weather
ha_release: 0.35
---
The `zamg` platform uses meteorological details published by the Austrian weather service
[Zentralanstalt für Meteorologie und Geodynamik (ZAMG)](https://www.zamg.ac.at).
Only observations for capital cities are publically available. You can check the
list of stations in [CSV format](http://www.zamg.ac.at/ogd).
To add ZAMG to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: zamg
station_id: 11035
monitored_conditions:
- temperature
- humidity
```
Configuration variables:
- **station_id** (*Optional*): The ID number for a supported ZAMG station.
- **name** (*Optional*): Additional name for the sensors. Defaults to platform name.
- **monitored_conditions** array (*Required*): Conditions to display in the frontend.
- **pressure**: Pressure at station level
- **pressure_sealevel**: Pressure at sea Level
- **humidity**: Humidity
- **wind_speed**: Wind speed
- **wind_bearing**: Wind bearing
- **wind_max_speed**: Top wind speed
- **wind_max_bearing**: Top wind bearing
- **sun_last_hour**: Sun last hour percentage
- **temperature**: Temperature
- **precipitation**: Precipitation
- **dewpoint**: Dew point
<p class='note'>
This sensor is an alternative to the [`zamg`](/components/weather.zamg/) weather platform.
The weather platform is easier to configure but less customisable.
</p>