Skip to content

Commit 076b2fb

Browse files
DavidLPfabaff
authored andcommitted
Description for the new pilight sensor component (#1212)
* Description for the new pilight sensor component * Changes after review
1 parent 3aae508 commit 076b2fb

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
layout: page
3+
title: "Pilight Sensor"
4+
description: "Instructions how to integrate pilight sensors within Home Assistant."
5+
date: 2016-10-08 23:21
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: pilight.png
11+
ha_category: Sensor
12+
ha_release: 0.31
13+
ha_iot_class: depends
14+
---
15+
16+
17+
This `pilight` sensor platform for 433 MHz devices uses a value in the message payload as the sensor value. Unique identifiers (e.g. _uuid_) can be set to distinguish between multile pilight devices. To use a pilight sensor the pilight home assistant hub has to be set up.
18+
19+
To use your sensor via pilight, make sure it is [supported](https://wiki.pilight.org/doku.php/protocols) and add the following to your `configuration.yaml` file:
20+
21+
```yaml
22+
# Example configuration.yml entry
23+
sensor:
24+
- platform: pilight
25+
variable: temperature
26+
payload:
27+
uuid: '0000-b8-27-eb-f447d3'
28+
```
29+
30+
Configuration variables:
31+
32+
- **variable** (*Required*): The variable name in the data stream that defines the sensor value.
33+
- **payload** (*Required*): Message payload identifiers. Only if all identifiers are matched the sensor value is set.
34+
- **name** (*Optional*): Name of the sensor.
35+
- **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any.
36+
37+
## {% linkable_title Example: Weather station %}
38+
39+
This section shows a real life example how to use values of a weather station.
40+
41+
42+
```yaml
43+
# Example configuration.yml entry
44+
sensor:
45+
- platform: pilight
46+
name: 'Temperature'
47+
variable: 'temperature'
48+
payload:
49+
uuid: 0000-b8-27-eb-f1f72e
50+
unit_of_measurement: '°C'
51+
- platform: pilight
52+
name: 'Humidity'
53+
variable: 'humidity'
54+
payload:
55+
uuid: 0000-b8-27-eb-f1f72e
56+
unit_of_measurement: '%'
57+
- platform: pilight
58+
name: 'Battery'
59+
variable: 'battery'
60+
payload:
61+
uuid: 0000-b8-27-eb-f1f72e
62+
unit_of_measurement: '%'
63+
```

0 commit comments

Comments
 (0)