massive thanks for this very helpfull video, was unable to connect using mqtt and your information got me running within 15 mins after spending days looking on the internet.
Thank you sir it works the other day and i was happy! But the next day i ran the program, it doesn't work.. it says connection failed just like before...I redo all like in the video again but the issue doesn't resolve... Any thoughts on this sir? Or anyone?
I have faced the same issue, its windows problem so we have to delete all previous configuration and we have to create it again like port forwarding and firewall rules.
@@Fusion_Automate thanks for the suggestion. I tried as per suggested and it works like magic! it looks like i need to do as per suggested every time i boot up my pc. Wondering if there's a way to not to go through the reconfiguration process each time booting up the pc. Btw, i will be using raspberry pi instead of pc. Tried already on raspberry pi and no firewall and port forwarding configuration as of now. Thank you sir and wish me luck for my fyp🙏🏼
Sir can i ask you something, im literally new on this thing, if i use broker locally on my laptop, how can i send data to that broker from my esp32 ? Im wondering how.Please help sir thanks!
Hi Fusion Automate, what a great project! It works properly. I would like to setup a MQTT project with one ESP32 as a subscriber and another ESP32 as publisher. The broker should be a local RasPi standalone as Broker-Server creating its own WLAN without connection to the Internet via Router or Access Point. Can you give me hints how to do this? The handling of the ESP32 should be easy. But with the RasPi I have got my problems to combine the installed Mosquitto and the WLAN-Server capabilities. Do you have this setup described in one of your courses? (Please without NodeRed.) Thanks! Oli
Hi, Yes it is possible to do it without node-red. Actually you dont have to do anything just install mosquitto in PI and connect your pi with any wifi and same wifi you can use for esp32. You can ping me on WhatsApp or Telegram for in depth discussion or doubts.
Very good video! But I have some question about the mosquitto. The error messages are shown as below: 1711989156: Opening ipv4 listen socket on port 1883. 1711989156: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted. 1711989156: Opening ipv6 listen socket on port 1883. 1711989156: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted. How yo solve this problem? I google many times on this but didnt have a useful solution about this. Thank you!
It seems like some other application is using same port 1883. So, you have to fetch which application is using same port and you have to close that application. netstat -p tcp -ano | findstr :1883 You can use above windows command to check the process id which use the port 1883.
@@Fusion_Automate I just create a text file and run it as administrator with two lines, listener 1883 allow_anonymous true Then, I save it as listener.conf in the file directory of mosquitto and run the command in command prompt, mosquitto -v -c listener.conf Then the mosquitto can run already.
Also, now I am trying to import a machine learning model into node red for classification of data received through a pzem sensor, is there a way can directly import the model that I had trained into node red?
SIR, I DO THIS AS YOU SAY BUT IT SHOW MQTT CONNECTED THEN SHOW TEMPERATURE AND HUMIDITY AND AGAIN SHOW SAME THAT MQTT CONNECTED AND TEMPERATURE AND HUMIDITY ETC... BUT NOT SHOW WHEN I SUBSCRIBE TOPIC ON MYMQTT IN MY MOBILE PHONE.
MAN THANK YOU SO MUCH. I was trying to figure it out this problem for weeks!! 🙏🙏
You're most welcome friend ✌️
massive thanks for this very helpfull video, was unable to connect using mqtt and your information got me running within 15 mins after spending days looking on the internet.
Great buddy ✌️
You are the BEST! I can finally move on with my project! Many thanks and blessings upon you good sir
Glad I could help.
Thanks lot. It took 4 days to solve this issue.
Glad it helped
THANK YOU SO SO SOOO MUCH
You're welcome!
Thank you
You're welcome
thank you so much
You're welcome!
Thank you so much
thanks a lot ,, you make my day
Our pleasure!
very helpful video. thankyou👍👍👍👍
Welcome 😊
Thank you so much indeed. That was just great !!!!
Glad you enjoyed it!
I LOVE YOU
THANK YOUUUUUUUUUUUUUUU MASTERRRRRRRRRR
^^.. Best Description.. Thank you!
THANK YOU VERY MUCH!!!
You're welcome!
Thank you so much
the blog doesn't seem to exist?
fusion-automate.blogspot.com/2023/06/how-to-publish-dht11-sensor-data-from_5.html?m=1
Could You please use the new url for blog. Thanks.
big thanks!@@Fusion_Automate
why i cant connect to MQTT the next day although first day i successfully connected? please help
Right, again we have to delete all configuration and follow same process as this is the windows issue so we cant do anything in this.
Thank you sir it works the other day and i was happy! But the next day i ran the program, it doesn't work.. it says connection failed just like before...I redo all like in the video again but the issue doesn't resolve... Any thoughts on this sir? Or anyone?
I have faced the same issue, its windows problem so we have to delete all previous configuration and we have to create it again like port forwarding and firewall rules.
@@Fusion_Automate thanks for the suggestion. I tried as per suggested and it works like magic! it looks like i need to do as per suggested every time i boot up my pc. Wondering if there's a way to not to go through the reconfiguration process each time booting up the pc. Btw, i will be using raspberry pi instead of pc. Tried already on raspberry pi and no firewall and port forwarding configuration as of now. Thank you sir and wish me luck for my fyp🙏🏼
Sir can i ask you something, im literally new on this thing, if i use broker locally on my laptop, how can i send data to that broker from my esp32 ? Im wondering how.Please help sir thanks!
the dht11 is working ,the problem is you have to write dht.begin in void setup when you do that everything working fine
Hi Fusion Automate,
what a great project! It works properly.
I would like to setup a MQTT project with one ESP32 as a subscriber and another ESP32 as publisher. The broker should be a local RasPi standalone as Broker-Server creating its own WLAN without connection to the Internet via Router or Access Point.
Can you give me hints how to do this?
The handling of the ESP32 should be easy. But with the RasPi I have got my problems to combine the installed Mosquitto and the WLAN-Server capabilities.
Do you have this setup described in one of your courses? (Please without NodeRed.)
Thanks!
Oli
Hi, Yes it is possible to do it without node-red. Actually you dont have to do anything just install mosquitto in PI and connect your pi with any wifi and same wifi you can use for esp32. You can ping me on WhatsApp or Telegram for in depth discussion or doubts.
how can i get MQTT explorer?
Please join this telegram channel to download it: t.me/+ut3hOA01l6lmYTY9
Sir it show failed to read from dht11 sensor although i check dht11 sensor by putting code of dhtTester it work properly
Okay, then simply edit dht tester code and make integrate mqtt code in that.
how do you solve the failed to read from DHT sensor problem in serial monitor in the videp
there was loose connection with dht11 bcs of that that error occurred.
@@Fusion_Automate thank you
sir. we need to create topic before run arduino code or not ? many thanks
Yes, you need to create topic first in arduino code and then you have to upload code so publish and subscribe event use those topics.
What if with Ethernet connection? Have you can connect?
I am sorry, Could you please explain more?
Very good video! But I have some question about the mosquitto. The error messages are shown as below:
1711989156: Opening ipv4 listen socket on port 1883.
1711989156: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
1711989156: Opening ipv6 listen socket on port 1883.
1711989156: Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
How yo solve this problem? I google many times on this but didnt have a useful solution about this. Thank you!
It seems like some other application is using same port 1883. So, you have to fetch which application is using same port and you have to close that application.
netstat -p tcp -ano | findstr :1883
You can use above windows command to check the process id which use the port 1883.
@@Fusion_AutomateI had found another way to solve this problem. Thank you!
Can you Share it here ? So in future if some have same problem then can learn from it.
@@Fusion_Automate I just create a text file and run it as administrator with two lines,
listener 1883
allow_anonymous true
Then, I save it as listener.conf in the file directory of mosquitto and run the command in command prompt,
mosquitto -v -c listener.conf
Then the mosquitto can run already.
Also, now I am trying to import a machine learning model into node red for classification of data received through a pzem sensor, is there a way can directly import the model that I had trained into node red?
I got a MQTT Server on my Pi 2 and get always rc 2 error.
The MQTT Explorer trys to connect always.
So you mean, your mqtt explorer is not able to connect with broker running inside raspberry pi ?
I got the same thing, I’m working with esp8266
mqtt is connected with my nodemcu, but in mqtt explorer, I cant see sensor data, why that's happening?
Try to add a serial output of your sensor. If it doesn’t show the sensor data then you have a problem with your sensor(mostly pin issue)
please I need help , address 127.0.0.1 doesn't work , i can't define my local ip address , I want connect it with mobile client
port forwarding blog is not existing
Please check here: fusion-automate.blogspot.com/
SIR, I DO THIS AS YOU SAY BUT IT SHOW MQTT CONNECTED THEN SHOW TEMPERATURE AND HUMIDITY AND AGAIN SHOW SAME THAT MQTT CONNECTED AND TEMPERATURE AND HUMIDITY ETC... BUT NOT SHOW WHEN I SUBSCRIBE TOPIC ON MYMQTT IN MY MOBILE PHONE.
there's problem in your code i need to check in your code
I GIVE MY CODE HERE PLEASE CHECK IT
how to subcribe this??
I didn't get what you are talking about
please help me!!!
Bro you text me on WhatsApp +919974477759