Configuration for Loxone

The Gateway communicates via MQTT and publishes and listens to a number of topics. You can integrate this into your own Loxone system. However, this needs an additional Raspberry Pi with Loxberry.

Many thanks to Martin for writing up the guide.

Additional Pi with Loxberry

First setup a Raspberry Pi with Loxberry OS. This can be downloaded from the Lox Wiki 1.

It has a fairly straightforward configuration, well described in their wiki.

Then you’ll need to add the Loxberry MQTT Gateway plugin 2.

In the settings, just make sure to tick ‘expand JSON data’ and ‘convert booleans’. No need to change anything else.

MQTT Loxone option selection

Further plugin settings

On the subscriptions page you want to subscribe to topic ‘ems-esp/#’.

On the EMS-ESP update MQTT settings fill in your Loxberry IP; Port will be the default one 1883 (the other ports mentioned in Loxberry MQTT settings are used for communication with Loxone); And finally the username and password (these can be found on the Loxberry MQTT settings page).

MQTT Loxone settings

Now you should see the messages from ems-esp on loxberry MQTT ‘Incoming Overview’ page.

Getting data into Loxone

To get the data to Loxone, there is a good video tutorial on the Loxberry MQTT Gateway plugin 2 page.

In Loxone, you’ll have to create virtual inputs, name them exactly the same as the Loxberry ‘Miniserver Virtual Input’ name in the messages overview (e.g. ‘kotel_boiler_data_UBAuptime’) and Loxberry will take care of updating the values in miniserver.

MQTT structure

See Proddy’s EMS-ESP Wiki 3 for all the details on MQTT.