Skip to content

Add show_on_map option #1837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions source/_components/binary_sensor.iss.markdown
Original file line number Diff line number Diff line change
@@ -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`.
10 changes: 6 additions & 4 deletions source/_components/sensor.iss.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ sidebar: true
comments: false
sharing: true
footer: true
logo: bbox.png
ha_category: Sensor
logo: nasa.png
ha_category: Deprecated
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.
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.

Expand All @@ -22,5 +26,3 @@ To add ISS sensor to your installation, add the following to your `configuration
sensor:
- platform: iss
```


Binary file added source/images/supported_brands/nasa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.