home-assistant.io/source/_components/sensor.zamg.markdown
cgtobi 18dd481a9e Fix configuration formatting of zamg sensor and weather component (#6686)
* Fix formatting of zamg configuration

* Fix formatting of zamg weather configuration

* Fix formatting of yahoo weather sensor configuration

* Add type

* Add type

* Add default values

* Add default values

* Fix types and add default values

* Fix problem

* Fix wrong default value

* Fix typo
2018-10-11 21:42:07 +02:00

2.5 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page ZAMG Sensor Instructions on how to integrate ZAMG sensors within Home Assistant. 2016-12-06 08:00 true false true true zamg.png Weather 0.35 Cloud Polling

The zamg platform uses meteorological details published by the Austrian weather service Zentralanstalt für Meteorologie und Geodynamik (ZAMG).

Only observations for capital cities are publicly available. You can check the list of stations in CSV format.

To add ZAMG to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: zamg

{% configuration %} station_id: required: false description: The ID number for a supported ZAMG station. type: string name: required: false description: Additional name for the sensors. Defaults to platform name. default: zamg type: string latitude: required: false description: "Latitude coordinate to monitor weather of (required if longitude is specified)." default: "Defaults to coordinates defined in your configuration.yaml file." type: float longitude: required: false description: "Longitude coordinate to monitor weather of (required if latitude is specified)." default: "Defaults to coordinates defined in your configuration.yaml file." type: float monitored_conditions: required: false description: Conditions to display in the frontend. type: list default: temperature keys: pressure: description: Pressure at station level pressure_sealevel: description: Pressure at sea Level humidity: description: Humidity wind_speed: description: Wind speed wind_bearing: description: Wind bearing wind_max_speed: description: Top wind speed wind_max_bearing: description: Top wind bearing sun_last_hour: description: Sun last hour percentage temperature: description: Temperature precipitation: description: Precipitation dewpoint: description: Dew point {% endconfiguration %}

A full configuration example:

# Example configuration.yaml entry
sensor:
  - platform: zamg
    station_id: 11035
    name: Wien
    monitored_conditions:
      - temperature
      - humidity

This sensor is an alternative to the [`zamg`](/components/weather.zamg/) weather platform. The `zamg` weather platform is easier to configure but less customizable.