Select Page

SHELLY 2.5 INTEGRATION WITH MQTT PROTOCOL WITHIN THE ILEVIA SYSTEM

Shelly 2.5 relay function

INTRODUCTION

This Shelly 2.5 device is made to control 2 separate lights channel and to control a shutter motor. This guide will explain how to set both of the two functions that this device is capable of.

Web interface configurations

Step 1:

Connect to the shelly device hot spot and get inside its web interface by typing the default IP address 192.168.33.1.

How to connect inside the shelly web interface
Step 2:

Get inside the internet security setting then wifi mode client and check the box connect the shelly device to an existing WIFI network.
Put your wifi credential inside the text boxes.

How to enable the wifi mode client inside the shelly's 2.5 web interface
Step 3:

Now enable the MQTT protocol on the shelly device. Head to the internet and configuration settings and enable the “Enable action execution via MQTT” check box. It will be needed to insert the EVE Server IP address inisde the “Server” text box.

How to configure the MQTT parameters inside the MQTT action execution setting of the shelly 2.5

Topics confiugration:

Step 4:

Open the Home automation software EVE Manger Pro, create a new MQTT gateway inside the gateway section. Insert the EVE Server IP address inside the “address” text field, them set the QoS towo exactly one.

Step 5:

In order to set up the topic you must set the switch component’s gateway to the MQTT one we created earlier.

Changing the switch component gateway inside the Home automation configuration software EVE Manager
Step 5:

Now in order to set up the topics properly change the switch’s gateway settings to be able to insert its MQTT configurations.

Click this link to see the topic configuration.

Topic configuration inside the home automation configuration software EVE Manager Pro
Step 6:

This is how the components works inside the classic user interface, and how the topics looks like when crossing the server broker.

Test of the complete configuration of the components inside the home automation app EVE Remote Plus

Shelly 2.5 Roller shutter function 

INTRODUCTION

Shelly 2.5 has a second function out of commanding two separate actuators, infact this device from shelly can control even a roller shutter.

Web interface configurations

Step 1.1:

First this we are going to do is switch the relay function of the shelly device to the roller one to be able to control a shutter component. From inside the shelly 2.5 web interface, enter the settings menu and click the second check box inside the “device type” section.

How to enable the roller shutter mode from inside the shelly's 2.5 web interface

Topics confiugration

Step 1.2:

Drag and drop the shutter component from the basic components menu inside the component area, then change its gateway to the MQTT one.

Adding the shutter component inside the project within the Home automation software EVE Manager Pro

Step 1.3:

The topics in this case are designed to perform a specific function, as you can see from the image below the script will get the status from the device and “translate” the value in both ways.

Inside the EVE system the values that are used on the shutter component are 1, 2, 3 (open, stop, close).

Click this link to see the topic configuration.

How to set up the shelly 2.5's roller shutter topic inside the Home automation software EVE Manager Pro

Slider component configuration to set the opening percentage to the shutter

Step 1.4:

Now lets set up the slider that will allow you to choose a specific persentage which the shelly device will set the roller shutter to. Add a slider component inside the components area, set its gateway to MQTT.

And put the script inside the right topics.

Click this link to see the topic configuration.

How to set up the topic to the slider component in order to be able to change the percentage of the roller shutter from the Home automation App EVE Remote plus

Scenario configuration for the shutter calbiration 

Step 1.5:

The shelly 2.5 accept a command via MQTT to calibrate the shutter directly from an MQTT command. In our case the command will be send by a Scenario set up with the MQTT protocol and the right topic configuration as shown below.

 Click this link to see the topic configuration.

how to set up the calibration topic inside the scenario component within the Home automation software EVE Manager Pro

Step 1.6:

Now lets try it, add the shutter component inside the user interface and and try to open, close and stop the shutter.

User interface test of how the topics work inside the EVE Home automation system
RISOLUZIONE PROBLEMI

1- Assicurati di avere l’ultima versione disponibile di EVE manager e del firmware dell’X1 server.

2- Assicurati di avere il dispositivo shelly correttamente connesso alla tua rete.

3- Se non riesci a connettere il broker controlla che il tuo X1 sia stato impostato correttamente.

Discover more about our Shelly dedicated solution.

Still Need Help? Our Customer Service Is Here For You.