노르웨이 기상 센서(Yr)


yr 플랫폼은 YR.no를 현재 위치의 현재 기상 데이터 소스로 사용합니다. 일기 예보는 노르웨이 기상 연구소와 NRK에서 제공합니다.

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

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

Configuration Variables

name

(string)(Optional)

Additional name for the sensors.

Default value:

yr

forecast

(integer)(Optional)

If you want to get forecast data instead of the current weather data, set this to the number of hours that you want to look into the future.

monitored_conditions

(list)(Optional)

Conditions to display in the frontend.

Default value:

symbol

symbol

A symbol for the current weather.

temperature

The current temperature.

humidity

The relative humidity.

fog

Fog.

pressure

The sea-level air pressure in millibars.

precipitation

The precipitation.

dewpointTemperature

The dew point temperature.

windSpeed

The wind speed.

windDirection

Where the wind is coming from in degrees, with true north at 0° and progressing clockwise.

cloudiness

The cloudiness.

lowClouds

Low cloud level.

mediumClouds

Medium cloud level.

highClouds

High cloud level.

latitude

(float)(Optional)

Manually specify latitude.

Default value:

Provided by Home Assistant configuration.

longitude

(float)(Optional)

Manually specify longitude.

Default value:

Provided by Home Assistant configuration.

altitude

(float)(Optional)

Manually specify altitude.

Default value:

Provided by Home Assistant configuration.

A full configuration example can be found below:

# Example configuration.yaml entry
sensor:
  - platform: yr
    name: Weather
    forecast: 24
    monitored_conditions:
      - temperature
      - symbol
      - precipitation
      - windSpeed
      - pressure
      - windDirection
      - humidity
      - fog
      - cloudiness
      - lowClouds
      - mediumClouds
      - highClouds
      - dewpointTemperature