Page 1 of 1

MQTT help

Posted: 21 Oct 2017, 18:53
by Dylantje
Dear all,
I will try to use mqqt in Domoticz
Only my problem, i do not understand a thing off mqtt.
Is there perhaps a dummy explanation how i can build a mqtt and use it.
Can i use the esp with espeasy as a broker?

Or do i need to build the broker on a rpi?
See there are more broker that i can use? What is the best?
And perhaps some nice stuff that i can use with mqtt..

Hope there is someone that will help me..

Re: MQTT help

Posted: 21 Oct 2017, 19:14
by vader
I think, one of the most popular is Mosquitto. See their Wiki for installation.
https://mosquitto.org/

Re: MQTT help

Posted: 22 Oct 2017, 08:12
by grovkillen
Just for a test broker I have made a portable version of. Mosquitto (no installation needed):

https://www.dropbox.com/s/o9sci8ow77096 ... E.zip?dl=1

Re: MQTT help

Posted: 22 Oct 2017, 09:56
by Dylantje
grovkillen wrote: 22 Oct 2017, 08:12 Just for a test broker I have made a portable version of. Mosquitto (no installation needed):

https://www.dropbox.com/s/o9sci8ow77096 ... E.zip?dl=1

MM
Thanks i have to say..
Only i do not understand what i can do with this...

Re: MQTT help

Posted: 22 Oct 2017, 10:58
by DeNB3rt
Hi Dylantje

Setting up MQTT on rbpi is very easy.

Follow https://www.domoticz.com/wiki/MQTT#Installing_Mosquitto

In short I did this:
Ssh to rbpi
not enough rights,
“Sudo su”
“Apt-get install mosquitto”
Library outdated?
“Apt-get update”
again
“apt-get install mosquito”
mosquito installed!

Then add the hardware gateway in domoticz (see guide).

Then edit the settings in the espeasy, controller settings, Domoticz MQTT.
Don't forget to use different unit numbers for each ESP module.