mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Add information for Opensky config flow (#28328)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
f3f81dfb58
commit
752bcf2689
@ -13,25 +13,9 @@ ha_codeowners:
|
|||||||
- '@joostlek'
|
- '@joostlek'
|
||||||
---
|
---
|
||||||
|
|
||||||
The `opensky` sensor allows one to track overhead flights in a given region. It uses crowd-sourced data from the [OpenSky Network](https://opensky-network.org/) public API. It will also fire Home Assistant events when flights enter and exit the defined region.
|
The OpenSky integration allows one to track overhead flights in a given region. It uses crowd-sourced data from the [OpenSky Network](https://opensky-network.org/) public API. It will also fire Home Assistant events when flights enter and exit the defined region.
|
||||||
|
|
||||||
## Configuration
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
To enable this sensor, add the following lines to your `configuration.yaml` file:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
sensor:
|
|
||||||
- platform: opensky
|
|
||||||
radius: 10
|
|
||||||
```
|
|
||||||
|
|
||||||
Configuration options for the OpenSky Network sensor:
|
|
||||||
|
|
||||||
- **radius** (*Required*): Radius of region to monitor, in kilometers.
|
|
||||||
- **latitude** (*Optional*): Region latitude. Defaults to home zone latitude.
|
|
||||||
- **longitude** (*Optional*): Region longitude. Defaults to home zone longitude.
|
|
||||||
- **altitude** (*Optional*): The maximum altitude (in meters) for planes to be detected in, 0 sets it to unlimited. Defaults to 0).
|
|
||||||
- **name** (*Optional*): Sensor name. Defaults to opensky.
|
|
||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user