MQTT Broker

Posted on
Thu Feb 29, 2024 11:12 am
MarcoGT offline
Posts: 1091
Joined: Sep 11, 2014
Location: Germany

Re: MQTT Broker

Yes you can use Eclipse Mosquitto but I think it is only via Docker (I had it on my father’s setup), otherwise you can install it via brew (this is my choice), and it works fine since yesterday now, no restart necessary.

Posted on
Thu Feb 29, 2024 12:49 pm
siclark offline
Posts: 1963
Joined: Jun 13, 2017
Location: UK

Re: MQTT Broker

Yes I did mine via homebrew too and unless you have reason for docker brew is easiest way for it to just work on you indigo server Mac.

Posted on
Thu Feb 29, 2024 1:42 pm
SMUSEBY offline
Posts: 511
Joined: Sep 16, 2009
Location: California

Re: MQTT Broker

thank you both.
Mosquitto is now installed on my computer.
How do I point Indigo to this broker?

Posted on
Thu Feb 29, 2024 1:48 pm
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MQTT Broker

If it's installed on the same system as Indigo (and the MQTT Broker plugin), then just disable the Broker plugin and restart Mosquitto. They're both going to use the same port.

You will need to edit the Mosquitto config file and make sure it's using the default port and to set a user/password.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Feb 29, 2024 6:53 pm
SMUSEBY offline
Posts: 511
Joined: Sep 16, 2009
Location: California

Re: MQTT Broker

From terminal,
bSrvr1911:~ RSS$ brew services start mosquitto
Service `mosquitto` already started, use `brew services restart mosquitto` to restart.
bSrvr1911:~ RSS$

and it is listed as a process in the Activity Monitor, but it is not in the "Application" folder. I'm afraid I have no idea how to configure it? Is the default port 1883?

Posted on
Sat Mar 02, 2024 1:19 am
siclark offline
Posts: 1963
Joined: Jun 13, 2017
Location: UK

Re: MQTT Broker

Yes that’s the default port. Download Mqtt explorer app or similar on the Mac and you can view the server and messages easily.

Who is online

Users browsing this forum: No registered users and 5 guests