home-assistant.io/source/_components/sensor.zamg.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

2.2 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 variables:

  • station_id (Optional): The ID number for a supported ZAMG station.
  • name (Optional): Additional name for the sensors. Defaults to platform name.
  • latitude (Optional): Latitude coordinate to monitor weather of (required if longitude is specified). Defaults to coordinates defined in your configuration.yaml file.
  • longitude (Optional): Longitude coordinate to monitor weather of (required if latitude is specified). Defaults to coordinates defined in your configuration.yaml file.
  • monitored_conditions array (Optional): 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

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.