Skip to content

Commit df82109

Browse files
sekavatarfabaff
authored andcommitted
Add enocean documentation (home-assistant#895)
* added tested device to list * Added an automation example for philips hue und encoean wall switches
1 parent 7d376a3 commit df82109

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed

source/_components/enocean.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ However, only a few devices have been confirmed to work. These are:
2727

2828
- Eltako FUD61 dimmer
2929
- Eltako FT55 battery-less wall switch
30+
- Jung ENOA590WW battery-less wall switch (bianry_sensor)
3031
- Permundo PSC234 (switch and power monitor)
3132

3233
Other devices will most likely need some changes in the Home Assistant code in order to work. Support for teaching of devices is also missing at this time.
@@ -42,4 +43,3 @@ enocean:
4243
Configuration variables:
4344
4445
- **device** (*Required*): The port where your device is connected to your Home Assistant host.
45-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: page
3+
title: "Switch Philips Hue with enocean"
4+
description: "Automation to switch a Philips Hue lamp with an enocean switch."
5+
date: 2016-09-02 22:35 +0800
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Automation Examples
11+
---
12+
13+
#### {% linkable_title Swich on/off Philips Hue with enocean switch %}
14+
15+
Assume that you have an enocean wall switch and some Philips Hue lamps.
16+
The enocean wall swtich will fire the event button_pressed and pass along
17+
several parameters which is used to turn on/off the lamps.
18+
19+
event_data:
20+
* which
21+
* pushed
22+
* onoff
23+
* id
24+
* devname
25+
26+
```yaml
27+
enocean:
28+
device: /dev/ttyUSB0
29+
30+
binary_sensor:
31+
- platform: enocean
32+
id: [0x00,0x01,0x02,0x03]
33+
name: living_room_switch
34+
35+
automation:
36+
- alias: Turn on living room light
37+
trigger:
38+
platform: event
39+
event_type: button_pressed
40+
event_data:
41+
onoff: 1
42+
devname: living_room_switch
43+
action:
44+
service: light.turn_on
45+
entity_id: light.hue_color_lamp_3
46+
47+
- alias: Turn off living room light
48+
trigger:
49+
platform: event
50+
event_type: button_pressed
51+
event_data:
52+
onoff: 0
53+
devname: living_room_switch
54+
action:
55+
service: light.turn_off
56+
entity_id: light.hue_color_lamp_3
57+
```

0 commit comments

Comments
 (0)