forked from mak-gitdev/HA_enoceanmqtt-addon
-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
Christophe Hardouin Duparc edited this page Oct 2, 2025
·
4 revisions
- If you don't have a MQTT broker yet, in Home Assistant go to Settings → Add-ons → Add-on store and install the Mosquitto broker addon.
- Go back to the Add-on store, click ⋮ → Repositories, fill in
https://github.com/ChristopheHD/HA_enoceanmqtt-addonand click Add → Close.
Or simply click the Add Add-on repository button below and follow the instructions.
- Click on the addon (refresh the web page if the add-on is not displayed), press Install and wait until the addon is installed.
- Click on Configuration
- Select the serial interface of your EnOcean transceiver in the list of detected serial ports.
- If you want to connect to your EnOcean key via TCP, select an unused serial port and fill in the TCP connection information in the second field.
- To define the device to manage, adapt the
addon/enoceanmqtt.devices.sampleand put it to your Home Assistant /config directory. You can use the Home Assistant File Editor.
See Normal Usage for more details. - Indicate the location of this device file under the device_file entry.
- Leave empty the mapping_file entry to use the default mapping file. If you want to use a custom mapping file, indicate the location of your mapping file. This can be useful for people wanting to add support for new devices or customize the existing ones. Refer to this wiki page for more details.
- Leave empty the eep_file entry to use the default EEP.xml file. If you want to use a custom EEP.xml file, indicate the location of your EEP.xml file. This can be useful for people wanting to add support for new devices not yet supported by the Python EnOcean library. Refer to this wiki page for more details.
- Indicate your preferred location for the log file under the log_file entry. It shall be in your Home Assistant /config directory.
- If you are not using the Mosquitto broker addon, fill in your MQTT details. Otherwise, leave empty the MQTT broker configuration. The format is for example:
host: localhost port: '1883' user: my_user pwd: my_password
- Indicate the
mqtt_discovery_prefixunder the mqtt_discovery_prefix entry. This is the MQTT prefix used for MQTT Discovery mechanism from the MQTT integration. It defaults tohomeassistantand can be configured in the Home Assistant MQTT integration as follow:mqtt: discovery_prefix: <prefix>
homeassistantas it seems to be the one used in general.- Indicate the
mqtt_prefixunder the mqtt_prefix entry. This is the prefix which will be used to interact with your EnOcean devices.
EnOceanMQTT will interact with EnOcean devices through the device root topic<mqtt_prefix>/<device_name>. - Turn on the debug switch if you want a very verbose log file.
- Other settings can be kept to their default values.
- Click Save
-
Tip: it is possible to refer to variables in the Home Assistant
secrets.yamlfile by using e.g.pwd: '!secret mqtt_pwd'
- Start the addon by going to Info and click Start
- Wait till HA_enoceanmqtt starts and press Log to verify HA_enoceanmqtt started correctly.