How to Publish DHT11 Sensor Data from NodeMCU to Mosquitto MQTT Broker over LAN | NodeMCU | MQTT |

  Рет қаралды 40,294

Fusion Automate

Fusion Automate

Күн бұрын

Пікірлер: 74
@diogotorres9400
@diogotorres9400 8 ай бұрын
MAN THANK YOU SO MUCH. I was trying to figure it out this problem for weeks!! 🙏🙏
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
You're most welcome friend ✌️
@TheSelfUnemployed
@TheSelfUnemployed Жыл бұрын
You are the BEST! I can finally move on with my project! Many thanks and blessings upon you good sir
@Fusion_Automate
@Fusion_Automate Жыл бұрын
Glad I could help.
@tecfixed2840
@tecfixed2840 Жыл бұрын
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.
@Fusion_Automate
@Fusion_Automate Жыл бұрын
Great buddy ✌️
@dhanushkadharmasiri6528
@dhanushkadharmasiri6528 4 ай бұрын
Thanks lot. It took 4 days to solve this issue.
@Fusion_Automate
@Fusion_Automate 4 ай бұрын
Glad it helped
@marelyruiz1321
@marelyruiz1321 8 ай бұрын
THANK YOU SO SO SOOO MUCH
@Fusion_Automate
@Fusion_Automate 7 ай бұрын
You're welcome!
@hashanmadusanka6128
@hashanmadusanka6128 8 ай бұрын
thank you so much
@Fusion_Automate
@Fusion_Automate 7 ай бұрын
You're welcome!
@yupingliao4078
@yupingliao4078 10 ай бұрын
Thank you
@Fusion_Automate
@Fusion_Automate 10 ай бұрын
You're welcome
@vophuctoan664
@vophuctoan664 7 ай бұрын
Thank you so much
@denyyrahmat0
@denyyrahmat0 5 ай бұрын
very helpful video. thankyou👍👍👍👍
@Fusion_Automate
@Fusion_Automate 5 ай бұрын
Welcome 😊
@huseinperez4948
@huseinperez4948 Жыл бұрын
Thank you so much indeed. That was just great !!!!
@Fusion_Automate
@Fusion_Automate Жыл бұрын
Glad you enjoyed it!
@zhepty12
@zhepty12 4 ай бұрын
thanks a lot ,, you make my day
@Fusion_Automate
@Fusion_Automate 4 ай бұрын
Our pleasure!
@truongquangbaokhanh2910
@truongquangbaokhanh2910 Жыл бұрын
THANK YOUUUUUUUUUUUUUUU MASTERRRRRRRRRR
@dhicosatria3050
@dhicosatria3050 10 ай бұрын
the blog doesn't seem to exist?
@Fusion_Automate
@Fusion_Automate 10 ай бұрын
fusion-automate.blogspot.com/2023/06/how-to-publish-dht11-sensor-data-from_5.html?m=1
@Fusion_Automate
@Fusion_Automate 10 ай бұрын
Could You please use the new url for blog. Thanks.
@dhicosatria3050
@dhicosatria3050 10 ай бұрын
big thanks!@@Fusion_Automate
@TheLbky0404
@TheLbky0404 Жыл бұрын
^^.. Best Description.. Thank you!
@hailuuuc724
@hailuuuc724 2 ай бұрын
why i cant connect to MQTT the next day although first day i successfully connected? please help
@Fusion_Automate
@Fusion_Automate 2 ай бұрын
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.
@NataliaJimenez05
@NataliaJimenez05 7 ай бұрын
I LOVE YOU
@tanujmishra5711
@tanujmishra5711 8 ай бұрын
how do you solve the failed to read from DHT sensor problem in serial monitor in the videp
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
there was loose connection with dht11 bcs of that that error occurred.
@tanujmishra5711
@tanujmishra5711 8 ай бұрын
@@Fusion_Automate thank you
@Sahil-og01210
@Sahil-og01210 Жыл бұрын
Sir it show failed to read from dht11 sensor although i check dht11 sensor by putting code of dhtTester it work properly
@Fusion_Automate
@Fusion_Automate Жыл бұрын
Okay, then simply edit dht tester code and make integrate mqtt code in that.
@erwinhafiztriadi5994
@erwinhafiztriadi5994 7 ай бұрын
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!
@yinyenlee109
@yinyenlee109 8 ай бұрын
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!
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
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.
@yinyenlee109
@yinyenlee109 8 ай бұрын
@@Fusion_AutomateI had found another way to solve this problem. Thank you!
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
Can you Share it here ? So in future if some have same problem then can learn from it.
@yinyenlee109
@yinyenlee109 8 ай бұрын
@@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.
@yinyenlee109
@yinyenlee109 8 ай бұрын
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?
@andre267
@andre267 8 ай бұрын
I got a MQTT Server on my Pi 2 and get always rc 2 error. The MQTT Explorer trys to connect always.
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
So you mean, your mqtt explorer is not able to connect with broker running inside raspberry pi ?
@bromasoficial8855
@bromasoficial8855 6 ай бұрын
I got the same thing, I’m working with esp8266
@sufianronzi1786
@sufianronzi1786 8 ай бұрын
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?
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
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.
@sufianronzi1786
@sufianronzi1786 8 ай бұрын
@@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🙏🏼
@os-channel
@os-channel Жыл бұрын
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
@Fusion_Automate
@Fusion_Automate Жыл бұрын
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.
@Pechette-1911
@Pechette-1911 Жыл бұрын
THANK YOU VERY MUCH!!!
@Fusion_Automate
@Fusion_Automate Жыл бұрын
You're welcome!
@NafisSadik-r9k
@NafisSadik-r9k 3 ай бұрын
mqtt is connected with my nodemcu, but in mqtt explorer, I cant see sensor data, why that's happening?
@christiannolitambio7928
@christiannolitambio7928 3 ай бұрын
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)
@hermantoprastyawan5420
@hermantoprastyawan5420 4 ай бұрын
how can i get MQTT explorer?
@Fusion_Automate
@Fusion_Automate 4 ай бұрын
Please join this telegram channel to download it: t.me/+ut3hOA01l6lmYTY9
@tatatadooooo11
@tatatadooooo11 Жыл бұрын
sir. we need to create topic before run arduino code or not ? many thanks
@Fusion_Automate
@Fusion_Automate Жыл бұрын
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.
@asepsubarkah8360
@asepsubarkah8360 8 ай бұрын
What if with Ethernet connection? Have you can connect?
@Fusion_Automate
@Fusion_Automate 8 ай бұрын
I am sorry, Could you please explain more?
@nadabhd-r7c
@nadabhd-r7c 9 ай бұрын
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
@abdurrahmansisman6897
@abdurrahmansisman6897 11 ай бұрын
the dht11 is working ,the problem is you have to write dht.begin in void setup when you do that everything working fine
@luxcatz8452
@luxcatz8452 Жыл бұрын
Thank you so much
@Sahil-og01210
@Sahil-og01210 Жыл бұрын
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.
@Fusion_Automate
@Fusion_Automate Жыл бұрын
there's problem in your code i need to check in your code
@Sahil-og01210
@Sahil-og01210 Жыл бұрын
I GIVE MY CODE HERE PLEASE CHECK IT
@mr.bianchirider8126
@mr.bianchirider8126 2 күн бұрын
Change the DHT11 sensor sample rate from 2 to 5 seconds and that should fix the problem.
@user-engineerchef
@user-engineerchef 9 ай бұрын
port forwarding blog is not existing
@Fusion_Automate
@Fusion_Automate 9 ай бұрын
Please check here: fusion-automate.blogspot.com/
@lukjasin
@lukjasin 8 күн бұрын
Thanks for the good work. I had this error: Attempting MQTT connection...failed, rc=5 try again in 5 seconds. In my case, the MQTT broker required authentication, which was not included in the code, so I had to add a user and password: #define mqtt_user "mqtt" #define mqtt_password "********" and then modify just a line of code by adding a user and password: if (client.connect("ESP8266Client", mqtt_user, mqtt_password)) { After these changes, I had no errors and MQTT Explorer showed all messages.
@DhanushKumar-k9u
@DhanushKumar-k9u 9 ай бұрын
how to subcribe this??
@Fusion_Automate
@Fusion_Automate 9 ай бұрын
I didn't get what you are talking about
@Sahil-og01210
@Sahil-og01210 Жыл бұрын
please help me!!!
@Fusion_Automate
@Fusion_Automate Жыл бұрын
Bro you text me on WhatsApp +919974477759
MQTT Protocol with NodeMCU ESP8266 Tutorial
20:11
BINARYUPDATES
Рет қаралды 122 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 17 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 71 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 60 МЛН
Build Your Own Secure & Affordable MQTT Broker with ESP32
12:14
High Voltages
Рет қаралды 1 М.
How to Get Started with MQTT
13:38
Opto Video
Рет қаралды 410 М.
ESP8266 Temperture and Humidity Sensor Dashboard | Node-RED
8:34
Dhanush Naidu
Рет қаралды 15 М.
Mosquitto MQTT Broker - Explanation and Setup
14:39
Jim's Garage
Рет қаралды 19 М.
Simple ESP32 IoT Sensor Node Tutorial: WiFi Enabled MQTT Sensor Data Node
10:58
Learn Embedded Systems
Рет қаралды 58 М.
Monitor Room Temperature Remotely with Arduino & MQTT
15:23
Gary Explains
Рет қаралды 22 М.
Install Mosquitto MQTT Broker on Windows and Initial Testing
5:46
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 17 МЛН