Skip to content

Shelly 1 with MQTT

How to use Shelly 1 & Shelly 1PM with Home Assistant

Info

An other interested page is https://sequr.be/blog/2020/10/getting-started-with-mqtt-and-home-assistant-and-shelly/

Shelly 1 & Shelly 1PM

Wire

Shelly 1PM

Do not use with a ceramic hob, it can consume more than 3500 W (Shelly 1PM limit)

How to reset Shelly 1PM

  • video : Reset the device : youtube video
  • Reset : On - 5 times off - On
  • go to http://192.168.33.1

Configuration Shelly device : Solution 1 (with the Web browse)

Configuration method with the Web browser. We do not use the Shelly application.

Info

This is the best solution. In fact app. Shelly v.1.35.22 doesn't work.

  1. plug the Shelly device.
  2. connect to the Shelly network
  3. In a browser, go to http://192.168.33.1 (see below)
  4. Configure the Shelly device

Find the Shelly network

Connect to http://192.168.33.1

Configure the network

Change your wi-fi network back to your home network. Find the new device on your wifi network. You can use LanScan app. (on App Store )

Update the firmware

Remove the cloud

Configure MQTT. See below

Solution 2

Plug in the Shelly. It does not appear on the network. You have to go on the Shelly app first to declare it. It's not necessary to go to the end of the installation. We can stop when we ask for the name of the device.

You can now find the device on the networker. In my example the IP of the device is 10.0.4. Go to the web interface of the Shelly and remove the connection to the cloud.

Warning

Update the device. It's necessery to have CoIot protocol.

Configure MQTT

To configure MQTT protocol, fill in the fields with values defined in Home Assistant.

Username and password are in the Mosquitto configuration. Password is a very long string

Set "Restore Last Mode - Configure Shelly device to Restore the last mode it was in, when it has power."

Now, you can reboot the Shelly.

Home Assistant configuration

The configuration of the Shelly device is now finished. Go to Home Assistant for the last step.

Static IP

Now you can change the IP on your router to have a static IP

Rename entitie

Go to web interface and rename the Shelly

Go to Shelly configaration parameters on Home Assistant. Rename by clicking on the three dots menu