웨더 언더그라운드 (WUnderground)


wunderground 플랫폼은 현재 날씨 정보의 출처로 Weather Underground를 사용합니다.

WUnderground API 키를 여기서 받아오십시오. 더 이상 무료 API 키를 제공하지 않으며 모든키는 비용을 지불해야합니다. 현재 기존의 무료키는 계속 작동하지만 개인 기상 관측소를 소유하고 데이터를 WU (PWS 업로더)에 제공하는 경우를 제외하고 2018 년 12 월 31 일에 비활성화됩니다. 2018 년 9 월 6 일 현재 Weather Underground는 End of Service for the Weather Underground API를 선언한다고 밝혔습니다. 그들은 비상업적 사용자를 위한 새로운 계획을 개발할 것이라고 말합니다. 이에 대한 일정은 발표되지 않았습니다.

다음 정보를 사용할 때 이를 고려하십시오.

설정

설치에 Wunderground를 추가하려면 configuration.yaml 파일에 다음을 추가하십시오.

# Example configuration.yaml entry
sensor:
  - platform: wunderground
    api_key: YOUR_API_KEY
    monitored_conditions:
      - alerts
      - dewpoint_c

Configuration Variables

api_key

(string)(Required)

The API key for Weather Underground. See above for details.

pws_id

(string)(Optional)

You can enter a Personal Weather Station ID. The current list of Wunderground PWS stations is available here. If you do not enter a PWS ID, the current location information (latitude and longitude) from your configuration.yaml will be used to display weather conditions.

lang

(string)(Optional)

Specify the language that the API returns. The current list of all Wunderground language codes is available here. If not specified, it defaults to English (EN).

Default value:

EN

latitude

(string)(Optional)

Latitude coordinate to monitor weather of (required if longitude is specified).

Default value:

Coordinates defined in your configuration.yaml

longitude

(string)(Optional)

Longitude coordinate to monitor weather of (required if latitude is specified).

Default value:

Coordinates defined in your configuration.yaml

monitored_conditions

(list)(Required)

Conditions to display in the frontend. The following conditions can be monitored.

Default value:

symbol

alerts

Current severe weather advisories

dewpoint_c

Temperature in Celsius below which water droplets begin to condense and dew can form

dewpoint_f

Temperature in Fahrenheit below which water droplets begin to condense and dew can form

dewpoint_string

Text summary of dew point

feelslike_c

Feels like (or apparent) temperature in Celsius

feelslike_f

Feels like (or apparent) temperature in Fahrenheit

feelslike_string

Text summary of how the current temperature feels like

heat_index_c

Heat index (combined effects of the temperature and humidity of the air) in Celsius

heat_index_f

Heat index (combined effects of the temperature and humidity of the air) in Fahrenheit

heat_index_string

Text summary of current heat index

elevation

Elevation in feet

location

City and State

observation_time

Text summary of observation time

precip_today_in

Total precipitation in inches

precip_today_metric

Total precipitation in metric units

precip_today_string

Text summary of precipitation today

precip_1d_mm

[1d]: Forecasted precipitation intensity in millimeters

precip_1d_in

[1d]: Forecasted precipitation intensity in inches

precip_1d

[1d]: Forecasted precipitation probability in %

pressure_in

Atmospheric air pressure in inches

pressure_mb

Atmospheric air pressure in millibars

pressure_trend

Atmospheric air pressure trend signal (+/-)

relative_humidity

Relative humidity

station_id

Your personal weather station (PWS) ID

solarradiation

Current levels of solar radiation

temperature_string

Temperature text combining Fahrenheit and Celsius

temp_c

Current temperature in Celsius

temp_f

Current temperature in Fahrenheit

temp_high_record_c

Maximum temperature measured in Celsius

temp_high_record_f

Maximum temperature measured in Fahrenheit

temp_low_record_c

Minimal temperature measured in Celsius

temp_low_record_f

Minimal temperature measured in Fahrenheit

temp_high_avg_c

Average high for today in Celsius

temp_high_avg_f

Average high for today in Fahrenheit

temp_low_avg_c

Average low for today in Celsius

temp_low_avg_f

Average low for today in Fahrenheit

temp_high_1d_c

[1d]: Forecasted high temperature in Celsius

temp_high_1d_f

[1d]: Forecasted high temperature in Fahrenheit

temp_low_1d_c

[1d]: Forecasted low temperature in Celsius

temp_low_1d_f

[1d]: Forecasted low temperature in Fahrenheit

UV

Current levels of UV radiation. See here for explanation.

visibility_km

Average visibility in km

visibility_mi

Average visibility in miles

weather

A human-readable text summary with picture from Wunderground.

weather_1d

[12h]: A human-readable weather forecast using imperial units.

weather_1d_metric

[12h]: A human-readable weather forecast using metric units.

weather_1h

[1h]: Weather conditions in 1 hour. (e.g., “Thunderstorm” etc.)

wind_degrees

Wind degrees

wind_dir

Wind direction

wind_gust_kph

Wind gusts speed in kph

wind_gust_mph

Wind gusts speed in mph

wind_gust_1d_kph

[1d]: Max. forecasted Wind in kph

wind_gust_1d_mph

[1d]: Max. forecasted Wind in mph

wind_kph

Current wind speed in kph

wind_mph

Current wind speed in mph

wind_1d_kph

[1d]: Forecasted wind speed in kph

wind_1d_mph

[1d]: Forecasted wind speed in mph

wind_string

Text summary of current wind conditions

위에 나열된 모든 조건은 5 분마다 업데이트됩니다.

예보

12 hour 예보

위에서 [12h]로 표시된 모니터링된 상태는 10 시간입니다. 다른 period/daytime에 대한 예측을 얻으려면 센서 이름의 _1d_ 부분을 바꾸십시오. 예를 들어 weather_2n은 내일 밤 예보를 제공합니다. day의 유효값은 1~4이고 daytime의 유효값은 d 또는 n입니다.

Daily 예보

위의 [1d]로 표시된 조건은 일일 예측입니다. 다른 날을 예측하려면 센서 이름의 _1d_ 부분에있는 숫자를 바꾸십시오. 유효한 값은 1~4입니다.

Hourly 예보

[1h]로 표시된 조건은 시간별 예측입니다. 다른 시간을 예측하려면 센서 이름의 _1h_ 부분에있는 숫자를 1에서 36으로 바꾸십시오. 예를 들어 weather_24h는 24 시간 안에 날씨를 알려줍니다.

추가 사례

Daily 예보

sensor:
  - platform: wunderground
    api_key: YOUR_API_KEY
    monitored_conditions:
      - weather_1d_metric
      - weather_1n_metric
      - weather_2d_metric
      - weather_2n_metric
      - weather_3d_metric
      - weather_3n_metric
      - weather_4d_metric
      - weather_4n_metric

group:
  daily_forecast:
    name: Daily Forecast
    entities:
      - sensor.pws_weather_1d_metric
      - sensor.pws_weather_1n_metric
      - sensor.pws_weather_2d_metric
      - sensor.pws_weather_2n_metric
      - sensor.pws_weather_3d_metric
      - sensor.pws_weather_3n_metric
      - sensor.pws_weather_4d_metric
      - sensor.pws_weather_4n_metric

Daily Forecast

날씨 개요

sensor:
  - platform: wunderground
    api_key: YOUR_API_KEY
    monitored_conditions:
      - temp_high_record_c
      - temp_high_1d_c
      - temp_c
      - temp_low_1d_c
      - temp_low_record_c
      - precip_1d
      - precip_1d_mm
      - wind_kph
      - wind_1d_kph
      - alerts

group:
  weather_overview:
    name: Weather overview
    entities:
      - sensor.pws_weather_1d_metric
      - sensor.pws_temp_high_record_c
      - sensor.pws_temp_high_1d_c
      - sensor.pws_temp_c
      - sensor.pws_temp_low_1d_c
      - sensor.pws_temp_low_record_c
      - sensor.pws_precip_1d
      - sensor.pws_precip_1d_mm
      - sensor.pws_wind_kph
      - sensor.pws_wind_1d_kph
      - sensor.pws_alerts

Weather overview

Note: 플랫폼이 "Wunderground"라고 호출되는 동안 센서는 Home Assistant에서 "PWS"로 표시됩니다 (예: sensor.pws_weather).

Weather Underground 센서가 entity_registry에 추가되므로 두 번째 이후의 개인 기상 관측소 ID (pws_id)는 모니터링 되는 조건에 색인 번호가 붙습니다. 다음 예 :

- sensor.pws_weather_1d_metric_2

API에 대한 추가 세부 사항이 있습니다. 여기.