EnOcean is an energy harvesting wireless technology used primarily in building automation. EnOcean devices (sensors, switches, actuators) communicate using ultra-low power radio telegrams, often powered by solar cells, motion, or temperature differences — requiring no batteries. This makes EnOcean ideal for retrofitting buildings with wireless sensors and switches.
The Weble universal gateway EnOcean driver connects to an EnOcean USB receiver (e.g. USB 300/310) via serial port and listens for radio telegrams from nearby devices. Each device is identified by its unique EnOcean ID and its data is decoded using EEP (EnOcean Equipment Profiles) — a standardized set of profiles that define how each device type encodes its data.
The driver supports a large number of EEP profiles, covering:
An EnOcean USB receiver must be connected to the gateway. Common receivers include the EnOcean USB 300 (868 MHz for Europe) or USB 310 (902 MHz for North America). How to plug it and what to enter in Serial Port: see Serial ports and USB adapters.
Create a new gateway and select the Enocean driver. Configure:
Devices are added in learn mode:
%enocean:<deviceId> and %enocean:<deviceId>/<eep>. The value addresses appear when the device sends its next data telegram.Outside learn mode, telegrams from unknown devices are ignored. A device that transmitted during the scan without sending a teach-in telegram appears as a bare %enocean:<deviceId> address, with no EEP and no values: delete it and repeat the teach-in.
When a device is discovered, the driver creates a tree of addresses:
%enocean:<deviceId> — the device (EnOcean ID in hexadecimal); its value is the last decoded telegram%enocean:<deviceId>/<eep> — the EEP profile node (e.g. a5-04-01 for temperature/humidity); its value is an object with all decoded fields%enocean:<deviceId>/<eep>/<FIELD> — one address per decoded field, named with the EEP field shortcut%enocean:<deviceId>/<eep>/<FIELD>=<value>/<FIELD> — only for profiles that use Paths (actuators, see 3.2)For example, a temperature/humidity sensor might create:
%enocean:AABBCCDD
%enocean:AABBCCDD/a5-04-01
%enocean:AABBCCDD/a5-04-01/TMP
%enocean:AABBCCDD/a5-04-01/HUM
These addresses are routable and loggable like any other gateway address, so sensor data can be forwarded to BACnet, Modbus, MQTT, or any other protocol.
Note: Addresses are created automatically when devices are discovered. Manual address insertion is not available.
| Label | JSON Key | Description |
|---|---|---|
| Name | name | A descriptive name for this EnOcean gateway instance. |
| Cluster ID | cluster | 0 (default): the gateway runs in its own process. Any other number: the gateway shares one process with the gateways that have the same number. See Gateway clusters. |
| Description | description | Optional description for this gateway. |
| Serial Port | serialPort | The serial interface of the EnOcean USB receiver. Auto-complete lists detected USB/serial interfaces. Use unique ID for stability. |
| Only values | onlyValues | If enabled (default), each field address holds the decoded value. If disabled, each field address holds the whole decoded object and sub-addresses are created for its members (for example value, rawValue, description). When the option is enabled again, these sub-addresses are deleted at the next start of the gateway. |
{
"serialPort": "/dev/serial/by-id/usb-EnOcean_GmbH_EnOcean_USB_300-if00",
"onlyValues": true
}
EnOcean addresses use the prefix %enocean: followed by the device ID (hexadecimal) and the data path:
%enocean:AABBCCDD — main device address%enocean:AABBCCDD/a5-02-05 — EEP profile (temperature sensor, range 0-40°C)%enocean:AABBCCDD/a5-02-05/TMP — decoded temperature value| Label | JSON Key | Description |
|---|---|---|
| Name | name | The EnOcean address (auto-generated from device ID and EEP). |
| Description | description | Optional description. |
| Child paths (grid column Paths) | childPaths | Read on the EEP node (%enocean:<deviceId>/<eep>); edit it in the Paths column of the grid. Comma-separated list of EEP fields used to split the tree into one branch per value of the field: CMD gives .../CMD=1/..., .../CMD=4/.... It is needed for profiles whose telegram layout depends on a command field, and it is filled automatically for d2-01-xx and d2-05-xx. Leave it empty for sensors. |
The EEP defines how a device's radio telegram is decoded. The format is RORG-FUNC-TYPE:
F6 (RPS, rocker switches), D5 (1BS, single contact), A5 (4BS, 4-byte sensors), D2 (VLD, variable length)02 = temperature, 04 = humidity, 10 = room controller)Common EEP profiles:
| EEP | Device type |
|---|---|
| A5-02-xx | Temperature sensors (various ranges) |
| A5-04-01 | Temperature and humidity sensor (range 0-40°C, 0-100%) |
| A5-06-xx | Light sensors |
| A5-07-01 | Occupancy sensor |
| A5-08-01 | Light, temperature, and occupancy sensor |
| A5-09-04 | CO2 sensor |
| A5-09-05 | VOC sensor |
| A5-10-xx | Room controllers (temperature + setpoint + fan + occupancy) |
| A5-12-01 | Electricity meter |
| A5-13-01 | Weather station (temperature, wind, rain, sun) |
| A5-20-01 | HVAC valve actuator |
| D2-01-xx | Electronic switches and dimmers |
| D5-00-01 | Window/door contact |
| F6-02-01 | Rocker switch (2-channel) |
The full list of supported EEPs contains over 200 profiles covering virtually all EnOcean device types.
| Property | Value |
|---|---|
| Readable | No (values are pushed by the devices). Through the API, reading an address of a d2-01 or d2-05 actuator sends a status query to the actuator. |
| Writable | Yes (for actuators that accept commands, see 3.5) |
| Routable | Yes |
| Loggable | Yes |
The gateway can send commands to bidirectional actuators that were taught-in during a scan. Commands are addressed to the device and sent with the gateway's own EnOcean ID (base ID of the USB stick + 1), which the actuator learned during teach-in.
Defaults are built in for two profile families:
| EEP family | Devices | Defaults applied by the driver |
|---|---|---|
d2-01-xx |
Switch and dimmer actuators, smart plugs | CMD = 1 (set output), IO = 30 (all channels) |
d2-05-xx |
Blind and shutter actuators | CMD = 1 (go to position), POS = 127 and ANG = 127 (unchanged) |
For these families the EEP node has Paths = CMD, so the tree has one branch per command number: %enocean:<deviceId>/<eep>/CMD=<n>/<FIELD>.
%enocean:<deviceId>/<eep>), choose Add CMD and enter the command number, for example 1. The branch CMD=1 is created and the command is sent once with the default values. Its field addresses (POS, ANG, ...) are created from the decoded command: check that they appear below the branch before using them.50 to %enocean:<deviceId>/d2-05-00/CMD=1/POS to move a blind to 50 %. The other fields keep the defaults above.CMD=2 sends Stop.Field addresses can be the destination of a route, for example from a KNX or BACnet setpoint.
Commands are sent one after the other. Each one is tried up to 3 times, then reported as failed. A new write to the same address replaces the one that is still waiting.