Mosquitto on my home computer with Windows10
-
Hi kl3m3n,
I know you provided a tutorial how to migrate to HiveMQ, thank you. It will be interesting at a later stage, but before that, I would like to use Mqtt Broker Mosquitto on my home computer to use with Gui-O and learn a bit how that all works and do some testing.
Can you help?
I already installed mosquitto on windows 10
I've seen some videos on youtube but still nothing that helps completely to make it work.
Can you help the community with the steps still needed after installation, like how to configurate the files and others tips that are needed to make it work with Gui-O.It doesn't have to be immediate, when you have some time you will and can dedicate to us.
I think the Gui-O community would appreciate it.Thank you
Best regards -
Hi kl3m3n,
As mentioned I would like to have my own Mqtt Server mosquitto running on my computer or on a Raspberry, but I would need if possible please some clarification.In the Esp32 program, the &Out appears only once, here!
if (mqttClient.connect("", mqttUser, mqttPass)) {
mqttClient.subscribe(&Out[0]); // <--- The Esp32 subscribe the "Out" topic (Token) that is Publish by the client(Gui-O App)??
}Then throughout the program we have lines like this example
mqttClient.publish(&In[0], "@si20 VIS:1 FGC:#00FF00\r\n"); // --> Esp32 Publish the "In" topic (Token) that the client(Giu-O App) Subscrive???// --------------- On the Esp32 side ---------------------
//The Esp32 Subscrive the topic "Out" ---->(that the Gui-O App Publish??)
static const char *Out = "73369067-7824-28dd-a54d-d843ecaefb1c";
//
//The Esp32 Publish the topic "In" ---->(that the Gui-O App Subscrive??)
//static const char *In = "ba55806b-7604-4fe3-bb93-70110546c14a";Thank you
Best regards -
@Sato Hi!
Yes, I can make a Windows MQTT broker tutorial.
I will let you know once it is done and integrated on the website.You will need to contact your internet service provider (ISP) and request a static (external) IP. In my country this costs additional 1€/month.
I will also need to update GUI-O application to allow specifying IP address (in addition to host name) for secure connection.Best regards,
kl3m3n -
Hi @kl3m3n,
Thank you, we look forward to it.
I will talk to my ISP to see about the fixed IP issue.
I am grateful for the impeccable support you provide to the Gui-O community, congratulations for the excellent work. As I often say, Gui-O has everything we need.Best regards
-
@Sato Here you will find instructions to setup your own Mosquitto broker on Windows or Linux:
https://www.gui-o.com/how-to-guides/custom-mqtt-broker
Regards,
kl3m3n -
Hi Kl3m3n,
A sincere thank you.
The whole process seems to be quite complex. In my case, it is for Windows.
I am trying to get a fixed IP. The ISP operators want a high value. I will look for cheaper ones.
In the next few days I'll try to install it and do some tests. I will give you my feedback then.
Thanks again for your support.Best regards