(+39) 0424.166.02.08 support@ilevia.com

SHELLY FLOOD WITH MQTT PROTOCOL

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:

Once connected to the device’s hotspot  log inside the web interface by typing the default IP address of the shelly that is (192.168.33.1) on the browser search bar.

Default IP address shelly device
Step 2:

To enable the wifi client in order to connect the shelly device into your local network,
get inside internet security setting and enable the wifi mode client check box inside its tab.

How to set the wifi client mode to shelly device
Step 3:

To set the device in MQTT: get inside the internet and security section,
then go in the advanced developer setting and check the box enable action execution via MQTT.

How to enable the internet security settings
Step 2:

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

Completing the shelly MQTT configuration for the server
Step 3:

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

How to set the quality of service in the shelly web interface

Step 4:

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.

How to set the protocol inside Eve automation software

Step 5:

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.

How to set up the MQTT topics inside Eve automation software

Step 6:

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.

How to change the type of unit of mesurement in Eve automation software

Step 7:

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.

How to set up a flood controler in Eve automation software
Step 8:

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.

How to debug the MQTT topics throguh a debug software
Step 9:

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.

Final project inside the automation app
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.

Discover more about our Shelly dedicated solution.

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.