Update Google Wifi configuration to new style (#6811)

* Update sensor.google_wifi.markdown

* Minor changes
This commit is contained in:
dnguyen800 2018-10-14 12:57:50 -07:00 committed by Fabian Affolter
parent 277ae9a677
commit 45beccfc29

View File

@ -16,7 +16,7 @@ ha_release: "0.50"
The `google_wifi` sensor platform is displaying the exposed status of a [Google Wifi](https://madeby.google.com/wifi/) (or OnHub) router. The `google_wifi` sensor platform is displaying the exposed status of a [Google Wifi](https://madeby.google.com/wifi/) (or OnHub) router.
The sensor is able to report network status, up-time, current IP address, and firmware versions. The sensor is able to report network status, up-time, current IP address and firmware versions.
To enable this sensor, add the following lines to your `configuration.yaml` file: To enable this sensor, add the following lines to your `configuration.yaml` file:
@ -26,15 +26,32 @@ sensor:
- platform: google_wifi - platform: google_wifi
``` ```
Configuration variables: {% configuration %}
host:
- **host** (*Optional*): The address to retrieve status from the router. Defaults to `testwifi.here` (other options include `onhub.here` and your router's IP such as `192.168.86.1`). description: 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** (*Optional*): Name to give the Google Wifi sensor. Defaults to `google_wifi`. required: false
- **monitored_conditions** array (*Optional*): Defines the data to monitor as sensors. Defaults to all of the listed options below. default: testwifi.here
- **current_version**: Current firmware version of the router. type: string
- **new_version**: Latest available firmware version. If router is up-to-date, this value defaults to `Latest`. name:
- **uptime**: Days since router has been turned on. description: Name to give the Google Wifi sensor.
- **last_restart**: Date of last restart. Format is `YYYY-MM-DD HH:mm:SS`. required: false
- **local_ip**: Local public IP address. default: google_wifi
- **status**: Reports whether the router is or is not connected to the internet. type: string
monitored_conditions:
description: Defines the data to monitor as sensors. Defaults to all of the listed options below.
required: false
type: map
keys:
current_version:
description: Current firmware version of the router.
new_version:
description: Latest available firmware version. If router is up-to-date, this value shows to `Latest`.
uptime:
description: Days since router has been turned on.
last_restart:
description: Date of last restart. Format is `YYYY-MM-DD HH:mm:SS`.
local_ip:
description: Local public IP address.
status:
description: Reports whether the router is or is not connected to the internet.
{% endconfiguration %}