Google Wifi

The google_wifi sensor integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] is displaying the exposed status of a Google Wifi (or OnHub) router.

The integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] is able to report network status, up-time, current IP address and firmware versions.

To enable this integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more], add the following lines 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: google_wifi

Configuration Variables

host string (Optional, default: testwifi.here)

The address to retrieve status from the router. Valid options are testwifi.here, in some cases onhub.here or the router’s IP address such as 192.168.86.1.

name string (Optional, default: google_wifi)

Name to give the Google Wifi sensor.

monitored_conditions list (Optional)

Defines the data to monitor as sensors. Defaults to all of the listed options below.

current_version

Current firmware version of the router.

new_version

Latest available firmware version. If router is up-to-date, this value shows to Latest.

uptime

Days since router has been turned on.

last_restart

Date of last restart. Format is YYYY-MM-DD HH:mm:SS.

local_ip

Local public IP address.

status

Reports whether the router is or is not connected to the internet.