Minimizing of the configuration sample (#1020)

This commit is contained in:
Fabian Affolter 2016-10-01 12:09:08 +02:00 committed by GitHub
parent c7aaf72bbc
commit 227d5a3f4f
24 changed files with 69 additions and 56 deletions

View file

@ -10,7 +10,7 @@ footer: true
logo: pilight.png
ha_category: Hub
ha_release: 0.26
ha_iot_class: Local Push
ha_iot_class: "Local Push"
---
[Pilight](https://www.pilight.org/) is a modular and open source solution to communicate with 433 MHz devices and runs on various small form factor computers. A lot of common [protocols](https://wiki.pilight.org/doku.php/protocols) are already available.
@ -26,12 +26,6 @@ To integrate pilight into Home Assistant, add the following section to your `con
pilight:
host: 127.0.0.1
port: 5000
whitelist: # optional
protocol:
- daycom
- intertechno
id:
- 42
```
Configuration variables:
@ -42,6 +36,21 @@ Configuration variables:
In this example only received RF codes using a daycom or intertechno protocol are put on the event bus and only when the device id is 42. For more possible settings please look at the receiver section of the pilight [API](https://www.pilight.org/development/api/).
A full configuration sample could look like the sample below:
```yaml
# Example configuration.yaml entry
pilight:
host: 127.0.0.1
port: 5000
whitelist: # optional
protocol:
- daycom
- intertechno
id:
- 42
```
## {% linkable_title Troubleshooting %}
- A list of tested RF transceiver hardware is available [here](https://wiki.pilight.org/doku.php/electronics). This might be usefull before buying.