EnOcean


The EnOcean standard is supported by many different vendors. There are switches and sensors of many different kinds, and typically they employ energy harvesting to get power such that no batteries are necessary.

The enocean component adds support for some of these devices. You will need a controller like the USB300 in order for it to work.

There is currently support for the following device types within Home Assistant:

  • Binary Sensor (wall switches)
  • Sensor (power meters)
  • Light (dimmers)
  • Switch

However, only a few devices have been confirmed to work. These are:

  • Eltako FUD61 dimmer
  • Eltako FT55 battery-less wall switch
  • Jung ENOA590WW battery-less wall switch
  • Permundo PSC234 (switch and power monitor)

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.

To integrate an EnOcean controller with Home Assistant, add the following section to your configuration.yaml file:

# Example configuration.yaml entry
enocean:
  device: /dev/ttyUSB0

Configuration Variables

device

(string)(Required)The port where your device is connected to your Home Assistant host.

Binary Sensor

This can typically be one of those batteryless wall switches. Tested with:

  • Eltako FT55 which uses the EnOcean PTM 215 module
  • TRIO2SYS Wall switches which uses the EnOcean PTM210 DB module

All switches using theses modules are expected to work. Other devices will most likely not work without changing the Home Assistant code.

Configuration

To use your EnOcean device, you first have to set up your EnOcean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
binary_sensor:
  - platform: enocean
    id: [0x01,0x90,0x84,0x3C]

Configuration Variables

id

(list)(Required)The ID of the device. This is the 4 bytes long number written on the dimmer.

name

(string)(Optional)An identifier for the switch in the frontend.

Default value: EnOcean binary sensor

device_class

(device_class)(Optional)The type/class of the sensor to set the icon in the frontend.

EnOcean binary sensors only generate ‘button_pressed’ events. The event data has following four fields:

  • id: The ID of the device (see configuration).
  • pushed: 1 for a button press, 0 for a button release.
  • which: Always 0 when using the single rocket. 0 or 1 when using the dual rocket switch.
  • onoff: 0 or 1 for either side of the rocket.

Automation example

Sample automation to switch lights on and off:

# Example automation to turn lights on/off on button release
automation:
  - alias: hall light switches
    trigger:
      platform: event
      event_type: button_pressed
      event_data:
        id: [0xYY, 0xYY, 0xYY, 0xYY]
        pushed: 0
    action:
      service_template: "{% if trigger.event.data.onoff %} light.turn_on {% else %} light.turn_off {%endif %}"
      data_template:
        entity_id: "{% if trigger.event.data.which == 1 %} light.hall_left {% else %} light.hall_right {%endif %}"

Light

An EnOcean light can take many forms. Currently only one type has been tested: Eltako FUD61 dimmer.

To use your EnOcean device, you first have to set up your EnOcean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
light:
  - platform: enocean
    id: [0x01,0x90,0x84,0x3C]
    sender_id: [0xFF,0xC6,0xEA,0x04]

Configuration Variables

id

(list)(Required)The ID of the device. This is the 4 bytes long number written on the dimmer.

sender_id

(list)(Required)The Sender ID of the device. This is a 4 bytes long number.

name

(string)(Optional)An identifier for the Ligh in the frontend.

Default value: EnOcean Light

Sensor

The enocean sensor platform currently only allows reading out the power measured in a Permundo PSC234 switch.

To use your EnOcean device, you first have to set up your EnOcean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: enocean
    name: Television
    id: [0x01,0x90,0x84,0x3C]

Configuration Variables

id

(list)(Required)The ID of the device. This is a 4 bytes long number.

name

(string)(Required)An identifier for the switch

Default value: EnOcean sensor

Switch

An EnOcean switch can take many forms. Currently, only a few types have been tested: Permundo PSC234 and Nod On SIN-2-1-01.

To use your EnOcean device, you first have to set up your EnOcean hub and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: enocean
    id: [0x01,0x90,0x84,0x3C]

Configuration Variables

id

(list)(Required)The ID of the device. This is a 4 bytes long number.

name

(string)(Optional)An identifier for the switch.

Default value: EnOcean Switch

channel

(integer)(Optional)The number of the channel (typically 0 or 1) for the output channel to switch.

Default value: 0

# Example entries for a switch with 2 outputs (channels), e.g., the Nod On SIN-2-1-01
switch nodon01_0:
  - platform: enocean
    id: [0x05,0x04,0x03,0x02]
    name: enocean_nodon01_0
    channel: 0

switch nodon01_1:
  - platform: enocean
    id: [0x05,0x04,0x03,0x02]
    name: enocean_nodon01_1
    channel: 1