Shelly I3 and 3.0

Plugin to control first generation Shelly devices over the MQTT protocol.
tazswe
Posts: 211
Joined: Mon Mar 13, 2017 10:49 am
Location: Sweden

Shelly I3 and 3.0

Post by tazswe »

Upgraded from 2.3 to 3.0 and it is working with my Shelly 1 and 2.5 but my I3 stopped working.

Downgraded to 2.3 and they started to work again.

Obviously something was changed in version 2.4 that effect my I3 but not my Shelly 1 & 2.5.

Anybody else that can share their experience with I3 and the latest releases?


Sent from my iPad with Tapatalk
CliveS
Posts: 778
Joined: Sun Jan 10, 2016 5:31 am
Location: Medomsley, County Durham, UK

Re: Shelly I3 and 3.0

Post by CliveS »

Upgrade to https://github.com/AaronLionsheep/Shell ... /0.5.0.zip
Rock Solid build (as usual!)
CliveS

Indigo 2023.2.0 : macOS Sonoma 14.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD

The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
aaronlionsheep
Posts: 260
Joined: Sun Feb 24, 2019 7:09 pm
Location: Virginia, USA

Re: Shelly I3 and 3.0

Post by aaronlionsheep »

tazswe wrote: Obviously something was changed in version 0.2.4 that effect my I3 but not my Shelly 1 & 2.5.
You could be on to something here. Previously, ShellyMQTT automatically subscribed to the individual topics for each device. This was fine in the early days when a setup consisted of a handful of devices, but this results in too many subscriptions when more devices are added.

The change in 0.2.4 was that ShellyMQTT stops subscribing to the topics automatically. Now, you just need to manually add the subscription "shellies/#" to the MQTTConnector broker device. What I would recommend you do is stop the ShellyMQTT plugin and then perform this manual subscription. The reason is that stopping will cause the old topics to be unsubscribed and it will make your subscription list cleaner.

Here is an example of my Broker subscriptions:
Screen Shot 2021-03-25 at 4.22.16 PM.png
Screen Shot 2021-03-25 at 4.22.16 PM.png (138.12 KiB) Viewed 1893 times
I have a single trigger that matches on "shellies" and ANY (the keyword, not the actual word "ANY") and this goes to the message type of "shellies". ALL of my devices use this same message type. You mentioned that your Shelly 1 and Shelly 2.5 still worked after the upgrade, so I'm guessing you might have manually subscribed to these devices.

Also, 0.2.4 and 0.2.5 have known bugs, so 0.3.0 or newer is what I recommend. Let me know if you have any other questions/issues.

Thanks,
Aaron
tazswe
Posts: 211
Joined: Mon Mar 13, 2017 10:49 am
Location: Sweden

Re: Shelly I3 and 3.0

Post by tazswe »

Thanks, I changed the broker subscriptions according to your instructions and now is it working again with 3.0


Sent from my iPad with Tapatalk
Post Reply

Return to “ShellyMQTT”