NOAA Tides

The noaa_tides sensor integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] uses details from NOAA Tides and Currents to provide information about the prediction for the tides for any location in the United States.

Setup

This integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] requires the use of a NOAA station ID. Search NOAA Tide Predictions to find a location. Use the ID from the search results in your configuration. Alternatively, you can determine a station ID from a URL. For example, 8721164 in the following URL: https://tidesandcurrents.noaa.gov/noaatidepredictions.html?id=8721164

Configuration

To use this integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more], add the following to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。

# Example configuration.yaml entry
sensor:
  - platform: noaa_tides
    station_id: 8721164

Configuration Variables

station_id string Required

ID of the station you’d like to track from https://tidesandcurrents.noaa.gov/tide_predictions.html.

name string (Optional, default: NOAA Tides.)

User-supplied sensor name.

time_zone list (Optional)

User-selected timezone.

Default:

Local Standard Time/Local Daylight Time.

gmt

Greenwich Mean Time.

lst

Local Standard Time. The time local to the requested station.

lst_ldt

Local Standard/Local Daylight Time. The time local to the requested station.

unit_system string (Optional)

Specify the unit system. Use metric (Celsius, meters, cm/s) or english (fahrenheit, feet, knots) units.

Default:

Defaults to metric or imperial based on the Home Assistant configuration.