mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Add show_on_map option (#1837)
* Add show_on_map option * Add logo for ISS * Add docs for ISS binary sensor * Add deprecated warning
This commit is contained in:
parent
ff071fc2fa
commit
e19273e847
29
source/_components/binary_sensor.iss.markdown
Normal file
29
source/_components/binary_sensor.iss.markdown
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "International Space Station"
|
||||||
|
description: "Know if or when ISS will be above your home location"
|
||||||
|
date: 2016-12-18 10:00
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: nasa.png
|
||||||
|
ha_category: Binary Sensor
|
||||||
|
ha_release: 0.36
|
||||||
|
---
|
||||||
|
|
||||||
|
The `iss` platform uses the [Open Notify API](http://open-notify.org/Open-Notify-API/ISS-Location-Now/) to let you know if the station is above your home location. This means that ISS is 10° above the horizon of your home.
|
||||||
|
|
||||||
|
You can check in the attributes of the sensor to see the timestamp for the next rise of the station, its current coordinates, and the number of people in space.
|
||||||
|
|
||||||
|
To add ISS binary sensor to your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
binary_sensor:
|
||||||
|
- platform: iss
|
||||||
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **show_on_map** (*Optional*): Option to show the position of the ISS on the map. Defaults to `False`.
|
@ -7,11 +7,15 @@ sidebar: true
|
|||||||
comments: false
|
comments: false
|
||||||
sharing: true
|
sharing: true
|
||||||
footer: true
|
footer: true
|
||||||
logo: bbox.png
|
logo: nasa.png
|
||||||
ha_category: Sensor
|
ha_category: Deprecated
|
||||||
ha_release: 0.36
|
ha_release: 0.36
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<p class='note warning'>
|
||||||
|
**This platform has been deprecated in favor of the "[ISS](/components/binary_sensor.iss/)" platform and will be removed in the future. Please use the "iss" binary sensor platform.**
|
||||||
|
</p>
|
||||||
|
|
||||||
The `iss` platform uses the [Open Notify API](http://open-notify.org/Open-Notify-API/ISS-Location-Now/) to let you know if the station is above your home location. This means that ISS is 10° above the horizon of your home.
|
The `iss` platform uses the [Open Notify API](http://open-notify.org/Open-Notify-API/ISS-Location-Now/) to let you know if the station is above your home location. This means that ISS is 10° above the horizon of your home.
|
||||||
You can check in the attributes of the sensor how many minutes you have to wait until the next rise of the station and the number of people in space.
|
You can check in the attributes of the sensor how many minutes you have to wait until the next rise of the station and the number of people in space.
|
||||||
|
|
||||||
@ -22,5 +26,3 @@ To add ISS sensor to your installation, add the following to your `configuration
|
|||||||
sensor:
|
sensor:
|
||||||
- platform: iss
|
- platform: iss
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
BIN
source/images/supported_brands/nasa.png
Normal file
BIN
source/images/supported_brands/nasa.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
Loading…
x
Reference in New Issue
Block a user