+39 (0)424 1660208 support@ilevia.com

SHELLY FLOOD INTEGRATION WITH MQTT PROTOCOL WITHIN THE ILEVIA SYSTEM

INTRODUCTION

This guide will explane how to set the shelly flood device with MQTT.
This device is used to record temperature of floods and allert in case it has been set as flood detector.
This device need a 3V CR123A battery for the power supply.

Step 1:

Una volta connessi all’interno del suo hotspot si andrà a digitare l’IP predefinito del dispositivo che è (192.168.33.1) nella barra di ricerca del tuo browser.

Indirizzo IP predefinito del dispositivo shelly
Step 2:

Adesso andremo ad abilitare la modalità wifi nel dispositivo shelly per far si che si connetta al tuo wifi, quindi recati sulla sezione “internet security” poi su “wifi client” e infine clicca sulla casella “connect the shelly device to an existing wifi network”.

Come impostare la modalità wifi client nel dispositivo shelly
Step 3:

Per impostare l’MQTT nel dispositivo recarsi nella sezione Internet security, dopo di che “advanced developer settings” e cliccare sulla casella “enable action execution via MQTT”.

Come abilitare il protocollo MQTT nel dispositivo shelly
Step 4:

Put your X1 server IP address into the text field called server.

Completing the shelly MQTT configuration for the server
Step 5:

Set the Quality of Service (QoS) to 2, then click save.

Come impostare il Quality of Service nel dispositivo shelly
Step 6:

1. Create a new Eve automation software project,

2. Create a new MQTT protocol as explaned in this guide.

3. Take two info component from the basic section on the left.

4. Create a new group and put those info component inside it.

Come impostare il proocollo MQTT nel software di configurazione Eve manager

Step 7:

There is a guide that explane how to find the device’s info.
Once you got the device’s infos set up the topics. you can find the topics in the shelly website.
The topics are shown in the picture below.

By clicking this link you will be able to consult the topic configuration.

Come impostare i topic all'interno del software di configurazione EVE manager
Step 8:

Set up the other info component, this component will display the flood temperature.
Put the topic Through the event topic.
Set the mesurement unit in “temperature decimal C°” as shown in the picture below.

By clicking this link you will be able to consult the topic configuration.

Come cambiare l'unità di misura all'interno del software di configurazione EVE manager

Step 9:

To set the shelly flood in flood controller mode:

  1. Add another info component to the project as shown in the pitcture below.
  2. Put the right topic inside to dispay the payload.

 By clicking this link you will be able to consult the topic configuration.

Come impostare il controllo fluidi all'interno del software di automazione EVE manager
Step 10:

Debug to check the information with MQTT fx.
Follow this guide if you haven’t installed this debug software.
Subscribe to the topic of the device.
If the topics has been correctly set you should able to see the topics working inside the debug software.

Come eseguire il debug dei topic attraverso il software MQTT fx
Step 11:

This is how the final project looks like inside Eve automation app.
You should be able to see all the information the device’s sending.

Progetto ultimato all'interno della applicazione EVE remote plus
TROUBLE SHOOTING

1- Make sure to have the last version available for EVE manager and Eve X1 server firmware.

2- Make sure the shelly plug is connected in your network.

3- If you can’t connect to the broker check if the X1 server has been wired correctly.

Scopri molto altro riguardo alla nostra soluzione dedicata a shelly.

FAQ:

Why doesn't my shelly flood connecting to my local network?

check if the shelly plug has been turned on correctly or if the battery has been correctly mounted.