Is MQTT Broker plugin broken in the new 2025.2?

cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Is MQTT Broker plugin broken in the new 2025.2?

Post by cjp767 »

I downloaded the new 2025.2 Indigo and the MQTT plugin failed to load properly. I clicked around and did a reload or two to see if I did something wrong (that's usually the case), but I didn't see anything. Would you take a look and see if that plugin needs an update? or Most likely, that I've messed something up. Thank you, as always, for your efforts.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT broken in the new 2025.2?

Post by FlyingDiver »

Which plugin? There are three of them.

They all seem to start and run OK for me, but I haven't done a huge amount of testing. If they don't for you, I'm going to need debug logs.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Is MQTT broken in the new 2025.2?

Post by cjp767 »

Ah. I'm sorry for not being clear. This is the MQTT Broker. I included a screen shot showing the red dot along with the log entries as it was starting up. I also selected reload in debugger and included that screen shot. To be thorough, I re-downloaded it from the plugin store, which asked for it be downgraded. Same results.
Attachments
Image 4-30-26 at 14.15.png
Image 4-30-26 at 14.15.png (50.54 KiB) Viewed 314 times
Image 4-30-26 at 14.11.png
Image 4-30-26 at 14.11.png (248.74 KiB) Viewed 314 times
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT broken in the new 2025.2?

Post by FlyingDiver »

I can't read the log screenshot. Please copy and paste the text into a post.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Is MQTT broken in the new 2025.2?

Post by cjp767 »

Here goes. Sorry for it being unclear. And thank you for all your plugins-- You've added so much to Indigo. Incredible.

Code: Select all

Apr 30, 2026 at 15:41:36
   Reloading plugin "MQTT Broker 2023.2.1" using API v3.4
   Starting plugin "MQTT Broker 2023.2.1" (pid 90404)
   MQTT Broker Requirements        Processing requirements for plugin "MQTT Broker 2023.2.1"
   MQTT Broker Requirements        Requirements previously processed, continuing startup
   MQTT Broker Error               Error in plugin execution InitializeMain:

  File "plugin.py", line 8, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/broker.py", line 17, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/mqtt/protocol/broker_handler.py", line 5, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/mqtt/protocol/handler.py", line 54, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 2025.2/Plugins/MQTT Broker.indigoPlugin/Contents/Server Plugin/amqtt/plugins/manager.py", line 7, in <module>
type: No module named 'pkg_resources'

   Stopping plugin "MQTT Broker 2023.2.1" (pid 90404)
   Stopped plugin "MQTT Broker 2023.2.1"
   
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT broken in the new 2025.2?

Post by FlyingDiver »

That indicates something is broken in your Python install. pkg_resources is a standard Python library that should be installed by the Python installer.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Is MQTT broken in the new 2025.2?

Post by jay (support) »

Sadly, it looks like pkg_resources was deprecated in Python 3.13, and at least in some cases (we have multiple installs, some have it others don't) it was actually removed.

So, not a corrupt install but rather a deprecated library in Python 3.13.

Code: Select all

>>> import pkg_resources
<python-input-0>:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. 
The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
cjp767
Posts: 156
Joined: Thu May 02, 2013 4:59 pm
Location: Gig Harbor, WA

Re: Is MQTT broken in the new 2025.2?

Post by cjp767 »

I asked a question about the Python install on the Installing Indigo thread. Jay responded and I'm not sure what course of action is best. Here is his initial response and a link to that thread for your review in case the conversation continues. viewtopic.php?t=28951


Post by jay (support) » Thu Apr 30, 2026 7:08 pm

Sadly, it looks like pkg_resources was deprecated in Python 3.13, and at least in some cases (we have multiple installs, some have it others don't) it was actually removed.

So, not a corrupt install but rather a deprecated library in Python 3.13.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT broken in the new 2025.2?

Post by FlyingDiver »

Issue with Indigo 2025.2 (Python 3.13) fixed in MQTT Broker release 2026.0.1, on GitHub and plugin store.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
macpro
Posts: 818
Joined: Thu Dec 29, 2005 6:10 am
Location: Third byte on the right

Re: Is MQTT broken in the new 2025.2?

Post by macpro »

Looks like I'm having also issues.
When subscribing to a specific topic on this broker, I get other topics as well.

I have for instance a python script that reads my water meter.
It subscribes to tele/esp-toonWater and until Indigo 2025.2 it received only messages from that topic.
Now it receives messages from other topics like zigbee2mqtt and homeassistant.

Looks like these messages are only received upon making the connection to the broker.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT broken in the new 2025.2?

Post by FlyingDiver »

macpro wrote: Wed May 06, 2026 1:01 pm Looks like I'm having also issues.
When subscribing to a specific topic on this broker, I get other topics as well.

I have for instance a python script that reads my water meter.
It subscribes to tele/esp-toonWater and until Indigo 2025.2 it received only messages from that topic.
Now it receives messages from other topics like zigbee2mqtt and homeassistant.

Looks like these messages are only received upon making the connection to the broker.
You have a script connecting directly to the Broker? Not using the Connector plugin?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT Broker plugin broken in the new 2025.2?

Post by FlyingDiver »

I edited the title of this thread to reflect that this thread is about the MQTT Broker plugin. Not the MQTT Connector plugin.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
macpro
Posts: 818
Joined: Thu Dec 29, 2005 6:10 am
Location: Third byte on the right

Re: Is MQTT Broker plugin broken in the new 2025.2?

Post by macpro »

Yes. I used to have a Mosquitto broker for all my MQTT stuff, but moved to this broker long time ago.
It works totaly fine outside of Indigo.
Except for this issue.

But the issue also happens with Indigo plugins that connect to this broker, like the hassbridge plugin.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Is MQTT Broker plugin broken in the new 2025.2?

Post by FlyingDiver »

Does your script reconnect and resubscribe on each run? Can you post the relevant parts of that script? Pretty much all I did for the most recent version was update to a new version of the amqtt library thats compatible with Python 3.13. It's possible the library is doing something unexpected.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
macpro
Posts: 818
Joined: Thu Dec 29, 2005 6:10 am
Location: Third byte on the right

Re: Is MQTT Broker plugin broken in the new 2025.2?

Post by macpro »

I've sent you a PM with details
Post Reply

Return to “MQTT”