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:

However, due to the wide range of message types, not all devices will work without code changes. The following devices have been confirmed to work out of the box:

  • Eltako FUD61 dimmer
  • Eltako FT55 battery-less wall switch
  • Jung ENOA590WW battery-less wall switch
  • Omnio WS-CH-102-L-rw battery-less wall switch
  • Permundo PSC234 (switch and power monitor)
  • EnOcean STM-330 temperature sensor

If you own a device not listed here, please check whether your device can talk in one of the listed EnOcean Equipment Profiles (EEP). If it does, it will most likely work. The available profiles are usually listed somewhere in the device manual.

Support for tech-in messages is not implemented.

Hub

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
  • Omnio WS-CH-102

The following EnOcean Equipment Profiles are supported:

  • F6-02-01 (Light and Blind Control - Application Style 2)
  • F6-02-02 (Light and Blind Control - Application Style 1)

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 have no state, they only generate ‘button_pressed’ events. The event data has following 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 supports the following device types:

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:
  - name: Television
    platform: enocean
    id: [0x01,0x90,0x84,0x3C]

Configuration Variables

id

(list)(Required)The ID of the device. This is the 4 bytes long identifier of your device.

name

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

Default value: EnOcean sensor

device_class

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

Default value: powersensor

Power sensor

This has been tested with a Permundo PSC234 switch, but any device sending EEP A5-12-01 messages will work.

Add the following to your configuration.yaml file:

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

Humidity sensor

The following EnOcean Equipment Profiles are supported:

  • Any profile that contains the humidity value at position DB2.7 to DB2.0
  • A5-04-01 - Temp. and Humidity Sensor, Range 0°C to +40°C and 0% to 100%
  • A5-04-02 - Temp. and Humidity Sensor, Range -20°C to +60°C and 0% to 100%
  • A5-10-10 to A5-10-14 - Room Operating Panels

Add the following to your configuration.yaml file:

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

Temperature sensor

This sensor has been tested with a generic STM-330 sensor, which is used in most indoor temperature sensor devices.

The following EnOcean Equipment Profiles are supported:

  • Any profile that contains an 8-bit temperature at position DB1.7 to DB1.0. 10-bit is not supported.
  • A5-02-01 to A5-02-1B - Temperature Sensor with various temperature ranges
  • A5-10-01 to A5-10-14 - Room Operating Panels
  • A5-04-01 - Temp. and Humidity Sensor, Range 0°C to +40°C and 0% to 100%
  • A5-04-02 - Temp. and Humidity Sensor, Range -20°C to +60°C and 0% to 100%
  • A5-10-10 - Temp. and Humidity Sensor and Set Point
  • A5-10-12 - Temp. and Humidity Sensor, Set Point and Occupancy Control

Check the manual of your temperature sensor to figure out what EEP it uses. If you do not know, make an educated guess and check the reported values. It’s easiest to validate the temperature at the boundaries of the range, so maybe put the sensor into the fridge for a while.

Add the following to your configuration.yaml file:

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

The temperature sensor supports these additional configuration properties.

Configuration Variables

temp_min

(integer)(Optional)The minimal temperature in °C your sensor supports.

Default value: 0

temp_max

(integer)(Optional)The maximum temperature in °C your sensor supports.

Default value: 40

range_min

(integer)(Optional)The range value your sensor reports for temp_min

Default value: 255

range_max

(integer)(Optional)The range value your sensor reports for temp_max

Default value: 0

Note that the default configuration values of range_min and range_max are not typos, the range is backwards for most sensors. However, some EEPs have a different, inverted range, which goes from 0 to 250. This includes the following EEPs:

  • A5-04-01
  • A5-04-02
  • A5-10-10 to A5-10-14

Adapt the configuration.yaml for those sensors:

# Example configuration.yaml entry for EEP A5-10-10
sensor:
  - name: Living Room
    platform: enocean
    id: [0x01,0x90,0x84,0x3C]
    device_class: temperature
    range_min: 0
    range_max: 250

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