MQTT Broker

MarcoGT
Posts: 1148
Joined: Thu Sep 11, 2014 1:06 pm
Location: Germany

Re: MQTT Broker

Post by MarcoGT »

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.
siclark
Posts: 2355
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: MQTT Broker

Post by siclark »

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.
SMUSEBY
Posts: 638
Joined: Wed Sep 16, 2009 9:38 pm
Location: California

Re: MQTT Broker

Post by SMUSEBY »

thank you both.
Mosquitto is now installed on my computer.
How do I point Indigo to this broker?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MQTT Broker

Post by FlyingDiver »

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
SMUSEBY
Posts: 638
Joined: Wed Sep 16, 2009 9:38 pm
Location: California

Re: MQTT Broker

Post by SMUSEBY »

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?
siclark
Posts: 2355
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: MQTT Broker

Post by siclark »

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

Return to “MQTT”