Тёмный

MQTT + Nodemcu (Controlling appliances over Internet using your Smart Phone)| IoT Projects | ESP8266 

techiesms
Подписаться 135 тыс.
Просмотров 186 тыс.
50% 1

This video will let you know about the most used transport protocol i.e. MQTT protocol. And also how to use that protocol with your ESP8266 12e development board. I have explained this project by controlling my home appliances with my SMART phone.
This IoT project will let you think project over internet as it is too easy to make and understand.
_________________________________________________________________
Buy the components from here
ESP8266 12e development board(NodeMCU CP2102) (amzn.to/2BKS7cv)
LED Matrix Display - (amzn.to/2rRiwzv)
Female to Female connector wires - (amzn.to/2rPynOW)
Google AIY Voice Kit - (amzn.to/2r55KMD)
ESP8266 01 wifi module (amzn.to/2E7MsdP)
HiLink 220v ac to 5v dc power supply(amzn.to/2pT2xij)
5V Relays (amzn.to/2ChddQC)
MCT2e IC (amzn.to/2H3ncss)
1n4007 Diode (amzn.to/2EM4IuD)
BC547 transistors (amzn.to/2oiTbfV)
1k resistors (amzn.to/2Gri8Nl)
330ohm resistors (amzn.to/2ojg8zN)
16 channel analog multiplexer module (amzn.to/2mLwlfl)
PIR motion sensor (amzn.to/2EK1OX2)
Sound Sensor (amzn.to/2HCYO0z)
Light Sensor (amzn.to/2CcBAPr)
DHT11 Temperature and Humidity sensor(amzn.to/2sPh3fO)
7805 Regulator IC (amzn.to/2CdUvcq)
9V Power Adapter (amzn.to/2CfffAL)
2 pin PCB mount screw terminal (amzn.to/2EM5Luz)
_________________________________________________________________
if you love watching my videos and interested in learning new new projects,then donate me at PayPal so that I can do it forever and better then before.
www.paypal.me/t...
You can also send me donation through my UPI I'd from Google tez, PhonePe, BHIM etc.
sachinsms1990@okaxis
_________________________________________________________________
Facebook :- / techiesms
Twitter :- / imtechiesms
Instagram :- / techiesms
Website :- www.techiesms.com
WhatsApp number :- +91 82000 79034
_________________________________________________________________
#techiesms
explore | learn | share

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 219   
@debabanerjee8029
@debabanerjee8029 8 лет назад
In this TUTORIAL Sachin Soni (techiesms) give a clear view of how to implement this project..by which , peoples who don't have good Idea about adafruit & MQTT can understand How its work and implement the project...So it's a Wonderful Video and Wonderful works he has done...not only that , when i am having problem with my project I Got the help from him almost same day I posted my problem...So Thank you "techiesms" and keep posting wonderful project in detail....as you did..
@techiesms
@techiesms 8 лет назад
+Deba Banerjee sure will definitely explore, learn and share with you all
@olegafanasiev9959
@olegafanasiev9959 5 лет назад
Да, очень классное видео
@alejandrosantiago6080
@alejandrosantiago6080 6 лет назад
Hi, thanks for the video, It help me a lot. I wanto to make two friendly suggestions: 1.- Add some small links under the description of the video example: /min7/sec20 -ESP Configuratiom min10/sec/8 -Adafruit Config, etc. It will make more easy for those who have some doubts about a concrete part of the process. 2.-For me the; uint16_t num = atoi((char *)LUZ2.lastread); dont work, I have to use; if (strcmp((char *)LUZ2.lastread, "OFF") == 0) if (strcmp((char *)LUZ2.lastread, "ON") == 0) instead. Thanks a lot for the tutorial, keep up the good work. -Alex. From Mexico.!
@xidameng
@xidameng 6 лет назад
Thanks a lot man, your video helped me create my first IOT project using MQTT! oh one last thing, my IDE issued error after inserting the 2 lines of your hand-typed code(the atoi part), and it was fixed later by replacing that line of code with:" int num = atoi((char *)onoffbutton.lastread); "
@cyrex686
@cyrex686 5 лет назад
Dude, thanks so much for posting this, it was driving me nuts.
@hasoanaa
@hasoanaa 7 лет назад
Thanks for such a brief tutorial . Its works with me controlling four relays !
@debabanerjee8029
@debabanerjee8029 8 лет назад
Hi , Sachin I am very much excited to inform you that as you said my problem solved after downloading the new code(UPDATED) from techiesms. Thank you very much. Kepp posting Wonderful projects on techiesms.
@techiesms
@techiesms 8 лет назад
+Deba Banerjee good to hear Share this if you like it
@sawknitsrestha3698
@sawknitsrestha3698 7 лет назад
Thank you ! Great tutorial. Hope you keep uploading these kind of projects.
@hevolution80
@hevolution80 7 лет назад
You should honestly go in the Microsoft Support business with how you explain son well
@techiesms
@techiesms 7 лет назад
+Hevolution Thank you for the suggestion. I would love to go there can you give my reference at Microsoft.
@hermanhermitz9101
@hermanhermitz9101 6 лет назад
Perfect for beginners and more importantly it works.
@jstnpaul91
@jstnpaul91 7 лет назад
Great video brother. Very informative. Keep on doing the great work. We all are watching and hitting the like button as well :) I know u need boost to come up with another amazing work
@techiesms
@techiesms 7 лет назад
+justin paul you totally understand my feelings R u a RU-vidr?
@cjpatel1992
@cjpatel1992 8 лет назад
Nice to see such a video from Gujarati - Ahmedavadi Guy :D Keep it Up.
@jatinkg1
@jatinkg1 8 лет назад
Check out my video and projects at my channel jatinkg1 :-) Gujarati - Bhavnagari Guy ;-)
@gradytimothy1923
@gradytimothy1923 3 года назад
pro tip: watch series at Kaldrostream. Me and my gf have been using them for watching lots of of movies lately.
@ernestomatthias8682
@ernestomatthias8682 3 года назад
@Grady Timothy Yea, have been using kaldroStream for months myself :D
@Kalaakaar-in
@Kalaakaar-in 8 лет назад
Hi! Just a suggestion. I think you can give this video in more precise way and crush it within 5 mins.
@techiesms
@techiesms 8 лет назад
+mediamilan I am trying to follow this concept only. Precise content and less time. Still thanks for the suggestion.
@SoumilShah
@SoumilShah 8 лет назад
uint16_t num=atoi(onoffbutton.lastread); invalid conversion from 'uint8_t* {aka unsigned char*}' to 'const char*' [-fpermissive] getting this error help
@chiragsehgal6585
@chiragsehgal6585 7 лет назад
we are dealing with pointers here ,so go for-----> uint16_t num = atoi((char *)Light.lastread); it will work for sure In video he has not compiled the code ,else would have got error.
@candidjogger361
@candidjogger361 6 лет назад
@Chirag Sehgal, thank you. it worked
@theB_admin
@theB_admin 5 лет назад
Kalaakaar Makerspace exatly he's stuffing.
@humayunkobir2289
@humayunkobir2289 3 года назад
Very helpful
@Pramod1901
@Pramod1901 8 лет назад
Hi Sachin, great video. Thx for sharing. One issue I have noticed is when the system is idle for some time, it stops responding to the feeds. I have to restart the module for it to start responding again. Any suggestion on what I might be missing out on?
@CRAugustoSalazarMontes
@CRAugustoSalazarMontes 7 лет назад
Good video, continue like this and thanks for your work, greetings from Mexico
@techiesms
@techiesms 7 лет назад
gracias.
@ganeshyerramsetty4093
@ganeshyerramsetty4093 2 года назад
Please do more videos we will surely support
@techiesms
@techiesms 2 года назад
I already did a lot of project videos after this, kindly explore our channel.
@alireda646
@alireda646 8 лет назад
The words doesn't help me To describe how great you did to us all ☺️ God bless you my brother I had made the project and it's working very well But I have a little question... Is adafruit free to use?! I mean is it an open source to do what ever I want in it?!
@techiesms
@techiesms 8 лет назад
Yes!!!, Adafruit is providing free MQTT service to everyone. if you really want to thank me and describe how great I did, just share my work so that you can also help the community with this work. Visit my website for more such projects, www.techiesms.com
@alireda646
@alireda646 8 лет назад
I want to translate your work to my language (Arabic) If you don't mind
@techiesms
@techiesms 8 лет назад
+ali reda I would love to see this mail me so that we can have talk further sachinsms1990@gmail.com
@alireda646
@alireda646 8 лет назад
I used Mqtt dashboard for Android It's pretty easy to use Using the same method you did in the video You are a very smart engineer Many thanks to you And How can I talk to you in private?!
@techiesms
@techiesms 8 лет назад
+ali reda mail me sachinsms1990@gmail.com
@auroshisray9140
@auroshisray9140 5 лет назад
Thank you sir for the detailed description
@ravipujari360
@ravipujari360 8 лет назад
thanks man very helpful. looking for more videos
@techiesms
@techiesms 8 лет назад
for more videos and blogs, visit my website, www.techiesms.com
@ajayjoseph4626
@ajayjoseph4626 6 лет назад
You should have done a video about publishing too, it would have really helped out.
@hassanahmad9597
@hassanahmad9597 6 лет назад
Thank you so mach and can you tell us how to connect push button i mean turn on/off the relays via both mqtt and push button and everything was work without any problems except the app Dose ios have this app that you use
@RayhanulIslambd
@RayhanulIslambd 5 лет назад
Can you make one complete video to control sonoff devices ( ESP8266), that would be very helpful. and can I share my devices/switch with other people with the app/account?
@chi-tinhnguyen5176
@chi-tinhnguyen5176 6 лет назад
Nice video, I already done this and quick question How can I connect adafruit io with alexa skill Please help me
@mirzashaker1010
@mirzashaker1010 6 лет назад
PLEASE CAN YOU SHOW, HOW TO ADD MQTT LIBRARIES IN ARDUINO IDE.
@innovative_ideas
@innovative_ideas 3 года назад
Could u please provide me code for this project
@K1M1LD1S
@K1M1LD1S 8 лет назад
A very good intractive video you have presented... lets try it.. i will sure to inform you after sucess
@techiesms
@techiesms 8 лет назад
+Kamal Das you will definitely succeed in making this. And do celebrate your success by sharing this video so that others also get benefitted.
@K1M1LD1S
@K1M1LD1S 8 лет назад
Problem !! After SignUp I dashboard is not opening.
@techiesms
@techiesms 8 лет назад
+Kamal Das may possible their is some problem while making your account. Try again by making another account
@K1M1LD1S
@K1M1LD1S 8 лет назад
+Sachin Soni Sucess.. done
@techiesms
@techiesms 8 лет назад
+Kamal Das grt news. Congrats...
@MrRoboto2338
@MrRoboto2338 7 лет назад
Thank You, come again.
@pokkiez
@pokkiez 6 лет назад
Thanks for a tutorial
@MrAjaypuro
@MrAjaypuro 5 лет назад
Very informative video, can we create our own MQTT server?
@Each1Teach1Tech
@Each1Teach1Tech 6 лет назад
Nice you can use blinky to do this too.
@FadliGustiansyah
@FadliGustiansyah 5 лет назад
Waw thanks. That is how to convert to integer, I always fail at that part. Can you tell me why must uint_16?
@debabanerjee8029
@debabanerjee8029 8 лет назад
Ok ..Thank you..
@HoBrian
@HoBrian 8 лет назад
Sachin, May I ask whether you can use the ESP8266 alone instead connected with Arduino? Is that ESP8266 not enough port to control or other reason. Hope you can teach me!
@techiesms
@techiesms 8 лет назад
+Ho Brian ofcourse you can use it alone. Just upload the code and give the module and separate power supply and you are ready to use it
@praannetwork
@praannetwork 4 года назад
Please post a how to setup a Broker and how to remotely connect to it. I am stuck so please if possible then do help.
@debabanerjee8029
@debabanerjee8029 8 лет назад
Thanks for your support Sachin BUTTON Function code is working fine .....But one thing I noticed that is when I used PIN number D10(GPIO 1)(TXD0) of my node mcu as Digital_Input then Button function is not working but when I used PIN number D5(GPIO14)(HSCLK) as Digital_Input then the code working fine...do you know where was the problem? Is it not possible to use (TXD0) Pin as Digital_Input ?..... And another thing if you have any knowledge then please share with me... Actually I made a switch Board ( I called It SMART BOARD) by learning your wonderful tutorials which have 4 Internet operated switches and a EMERGENCY SWITCH. and it is working fine for which thanks to you... But one problem is that if I transfer this switch board( SMART BOARD) to my sister's house or my mother's house or anywhere else then I have to reprogramme my NODEMCU with their WIFI_SSID and PASSWORD accordingly...which is not possible by my sister or any person who have no knowledge of IDE programming... So is there any way to solve this problem .. like any apps / web portal by which we can only enter the SSID and PASSWORD to node MCU easily... If it is possible then it will be very handy and useful .. If you have any Idea regarding this issue then please share........ Thank you.
@techiesms
@techiesms 8 лет назад
you can't use TXD0 pin and Serial communication simultaneously. Because this pin is reserved for serial communication. And talking about the other problem regarding variable SSID and Password, right now I don't know the solution for this but I'll explore this problem and try to get the solution. If I haven't came back to you with the solution, than mail me after one week to remind me this
@anupbalharpure
@anupbalharpure 7 лет назад
Nice video.... Can you please explain how to develop broker instead of using a radily available broker.
@techiesms
@techiesms 7 лет назад
+Anup C Balharpure No. I'm too seeking for this
@anupbalharpure
@anupbalharpure 7 лет назад
we can able to install MQTT server, but still don't know how they search client
@totolook
@totolook 7 лет назад
install mosquitto server, in my case i use mosquitto broker server in my rpi1
@TechSupportlink
@TechSupportlink 6 лет назад
Nice sir,
@SunilSudevan
@SunilSudevan 8 лет назад
hi Sachin, if i use Amazon web Service IOT for MQTT it gives me sdk to select 1. Embedded C 2. Node js 3. Arduino Yún which one should i select ? i have OTA enabled my node mcu using platformio IDE.
@srikumarc
@srikumarc 3 года назад
Hi Sachin, How can I access the code you developed for this project? I do not see any link for it.
@TopEndTutorial
@TopEndTutorial 6 лет назад
Can we control the nodemcu by local wifi as well as by the internet. Please explain
@default_youtube_profile
@default_youtube_profile 6 лет назад
I have been controlling appliances over internet sending commands via json how is MQTT different ?
@techhutbd954
@techhutbd954 6 лет назад
Is it possible to make an HTML file where directly I get the ON/OFF button for my load control? It is pretty annoying to write 0 and 1 again and again. Also, it will make a problem for multiple loads.
@livestreaming249
@livestreaming249 6 лет назад
How to controll more application with nodemcu is it possible to controll atleast 20applications
@debabanerjee8029
@debabanerjee8029 8 лет назад
Ok one thing came to my mind that , is it possible to enter the Variable SSID/PASSWORD of wifi router to the EEPROM of NodeMcu by user via HTTP or any app and after restarting the NodeMcu will read it from its EEPROM..?. If any Idea then please share..
@himanshudoria698
@himanshudoria698 8 лет назад
Hey Sachin , I am using a web application on the internet for publishing messages in the MQTT, can I in the same fashion use the Adafruit.io to recieve the message published from my WebApp ?
@techiesms
@techiesms 8 лет назад
+Himanshu Doria yes you can, just subscribe to one of the topic on Adafruit IO and you can both transmit and receive data on your MQTT client app.
@mohammadoky7440
@mohammadoky7440 6 лет назад
Are they should be connected with the same wifi?
@techiesms
@techiesms 6 лет назад
No. Not required
@abhikhandelwal4340
@abhikhandelwal4340 7 лет назад
hey I have a question would you please tell me that how will you control the brightness of a bulb
@TheMrFrontera
@TheMrFrontera 7 лет назад
Look up single phase AC voltage controller. I guarentee there's probably smarter ways to do this but one way is to put two thyristors in parallel. Have the PWM pin from the microcontroller control the gate of the thyristors to open and close at certain intervals depending on how dim you want the bulb. The code you'll probably want to copy from someone whos done it before you or you'll be sitting there learning about a lot of new hardware, and then sitting there trying to figure out how to code it for a long time. The hardwares easier than the code to me
@seyyedamirhossein7778
@seyyedamirhossein7778 4 года назад
hi , can esp be a mqtt broker itself?
@thabtihamza3632
@thabtihamza3632 6 лет назад
hello i have wdt reset problem in esp8266 for another project !! any solution plz
@muhammadnoumankhan9735
@muhammadnoumankhan9735 6 лет назад
Is this possible if I design a button on mqtt app and when I turn it off it reply me or show notification that light which is set according to that button is off
@dipeshpatidar2473
@dipeshpatidar2473 6 лет назад
i am getting a error.....my node mcu is not getting connected to MQTT server, what could be the problem? plzz help me
@savetheworldology
@savetheworldology 8 лет назад
Do you think its possible to use the MQTT + Node MCU to receive an email or sms and output the data to an LCD 2x16?
@techiesms
@techiesms 8 лет назад
+Sam Clare I am not sure. But I'll try doing this. Just drop your mail I'd,I'll let you know if I succeeded doing this
@savetheworldology
@savetheworldology 8 лет назад
+Sachin Soni (techiesms) how can I give you my email without publishing it in the comments. I managed to get the Node MCU working with the 4x20 LCD. :)
@nagunaidu1664
@nagunaidu1664 7 лет назад
I have created a new Mqtt broker account but in account I did not get the right side corner options for I'll create a switches,what happened? Can u Plz solve my prblm?
@ionutaurelian2963
@ionutaurelian2963 7 лет назад
hello i need some help if you cane i use this code but for me not work i see this error MQTT not authenticated
@SoumilShah
@SoumilShah 8 лет назад
uint16_t num=atoi(onoffbutton.lastread); invalid conversion from 'uint8_t* {aka unsigned char*}' to 'const char*' [-fpermissive] getting this error help
@techiesms
@techiesms 8 лет назад
uint16_t num=atoi((char *)onoffbutton.lastread); Replace with this, the error will get solved
@SoumilShah
@SoumilShah 8 лет назад
bro thanks a lot we learn so many things from you keep making videos
@venkatganesh7519
@venkatganesh7519 8 лет назад
when i create my account in adafruit . after my login its is not redirecting me to the dashboard coud u help me out
@anandkawale483
@anandkawale483 6 лет назад
sir how to create adafruit account...it is not entered in sign in page
@ajaysaini1094
@ajaysaini1094 5 лет назад
Sir , How i get feedback of relay status
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 5 лет назад
Can you explain mosquitoe broker
@RajeshKonduru006
@RajeshKonduru006 7 лет назад
GREAT VIDEO SACHIN. I COULD NOT GET INTO DASHBOARD. PLEASE HELP ME.
@techiesms
@techiesms 7 лет назад
just logIn to your account and after that go to the address, io.adafruit.com/username for eg. my username is sachinsoni, so that address of my dashboard is io.adafruit.com/sachinsoni
@xennelul
@xennelul 8 лет назад
How does MQTT compare to SMQ from realtimelogic.com ?
@apoorvagowda2885
@apoorvagowda2885 7 лет назад
i am using esp8266 wifi module instead of node mcu is this code works with that module.
@techiesms
@techiesms 7 лет назад
+apoorva.a apooorva yeah Absolutely
@09_patel_nayan29
@09_patel_nayan29 3 года назад
Nodemcu ko kese openhab se connect kare
@hemantaphurailatpam3956
@hemantaphurailatpam3956 8 лет назад
i want to used a temperature sensor to my NodeMCU. i can't figure out the ide code to send data to my feeds.
@techiesms
@techiesms 8 лет назад
You can go for the Slider(Photocell feed) given in the example by adafruit
@siddharthachatterjee2335
@siddharthachatterjee2335 8 лет назад
Hi, Great video. Thanks. In need some direction here : My ESP8266 module connects to “test.mosquitto.org” and subscribes to a topic say “b1”. What ever is published to “b1”, it can read it immediately. Problem happens when my second ESP8266 module subscribes to “test.mosquitto.org” to “b1”. It continuously returns : WiFi connected IP address: 192.168.0.9 Attempting MQTT connection…connected Message arrived [b1] 0 Attempting MQTT connection…connected Message arrived [b1] 0 Attempting MQTT connection…connected Message arrived [b1] 0 Attempting MQTT connection…connected Could you kindly suggest what might be going wrong. I look forward to your advice.
@techiesms
@techiesms 8 лет назад
+Siddhartha Chatterjee can you send me the code so I can study and come to any conclusion
@siddharthachatterjee2335
@siddharthachatterjee2335 8 лет назад
Hi Sachin, Thanks for your reply. I could manage to figure out the solution. It is working fine now. Regards.
@techiesms
@techiesms 8 лет назад
+Siddhartha Chatterjee Great to hear that!!! But will you share the problem and also the solution here so that people facing similar problems can be helped
@siddharthachatterjee9959
@siddharthachatterjee9959 8 лет назад
Hey Hi, I was using the same clientId for bother the ESP8266s. This was creating a clash. The problem gets solved by using different cliendIds for each ESP8266 as then there is no clash. Cheers !!
@duclongbka7933
@duclongbka7933 8 лет назад
Thanks a lot for your video :).I understand a lot of things
@techiesms
@techiesms 8 лет назад
if you liked it, simply share it.
@vinayTshetty
@vinayTshetty 6 лет назад
Android Source code is avaliable for this..? can i have the link for the source code
@ZulfiqarAadil
@ZulfiqarAadil 6 лет назад
Can we also integrate Alexa with this MQTT along with FTTT ?
@techiesms
@techiesms 6 лет назад
+Zulfiqar Aadil yes
@tarasandeep1
@tarasandeep1 7 лет назад
Why Nodemcu? For MQTT bidirectional communication which firmware is better?
@techiesms
@techiesms 7 лет назад
+Tara Sandeep Arduino firmware is better for MQTT as it is easy to use and also ready made libraries are also available for it
@tarasandeep1
@tarasandeep1 7 лет назад
thanks
@yuvraj9385
@yuvraj9385 8 лет назад
Sachin Soni (techiesms) hi ... i want to know how we can u se mqtt and nodemcu to unlock door using RFID card and the unlocking of door automatically switches the light on of that area ..
@techiesms
@techiesms 8 лет назад
+yuvraj upadhyay this can be done. But using WiFi and Mqtt is not at all useful in this application. You can just use arduino board along with RFID reader module and connect all the appliances and electronic lock with wires. This will be cheaper and also easy to make. If you use nodemcu then you need to attach wifi module to every appliances
@yuvraj9385
@yuvraj9385 8 лет назад
yes actually i want to use nodemcu (as we all know its a it uses Aurdino enviorment) and i have done half part but how to use MQTT on it i'am not able to figure it out ...so i need help regarding that ..
@techiesms
@techiesms 8 лет назад
+yuvraj upadhyay ok so let me know what you have done and what you want to know or how can I help you
@yuvraj9385
@yuvraj9385 8 лет назад
so first step what i have done is 1>we have used the nodemcu coded it and linked up with the RFID setup .... which when scanned on the scanner opens the door and updates the RFID id of the person ... 2>now what i want is the next step i want to use MQTT protocol in a view to make it secure (MQTT all of us know is secure ) so how can it be done im not able to figure out how to corelate MQTT with the part that i have done
@techiesms
@techiesms 8 лет назад
+yuvraj upadhyay just mail me We will continue with mail sachinsms1990@gmail.com
@noormohammed2765
@noormohammed2765 5 лет назад
I have some doubt in this video are you ready to help me . anything please reply me you're my only help
@techiesms
@techiesms 5 лет назад
Yes
@noormohammed2765
@noormohammed2765 5 лет назад
techiesms i have some doubts in connection with wifi
@noormohammed2765
@noormohammed2765 5 лет назад
Whatsapp me 8124888469
@noormohammed2765
@noormohammed2765 5 лет назад
I have sent the message to your whatsapp
@kamals4905
@kamals4905 8 лет назад
mqtt works on local network? like arduino based esp88266's web server
@techiesms
@techiesms 8 лет назад
+kamal sonani No. It's like you can control from anywhere in the world with your smart phone having internet pack.. In the video also I am using separate internet connection for smart phone and esp8266 So it's not a LAN connection
@5yasgaming151
@5yasgaming151 5 лет назад
help me bro ...final year project .code error
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
why when reset esp lost connection and when to generate another key it work .any solution for this problem, thx
@techiesms
@techiesms 7 лет назад
+ahmed ali I never faced such problem Let me analyse Mail your code at sachinsms1990@gmail.com
@harshdeepthakur7728
@harshdeepthakur7728 6 лет назад
Hi, i have connection failed problem ,while connecting to mqtt.connected() and give me return value -1
@techiesms
@techiesms 6 лет назад
send the screen shot of error on whatsapp. +91 82000 79034
@sasaamr9723
@sasaamr9723 7 лет назад
how can i get the arduino code in this video ?
@abhikhandelwal4340
@abhikhandelwal4340 7 лет назад
ets Jan 8 2013,rst cause:4, boot mode:(1,6) my mqtt connection cant established shows the above error
@techiesms
@techiesms 7 лет назад
+ABHI KHANDELWAL mail me the error and the code you r uploading
@wildanfirdaus3237
@wildanfirdaus3237 5 лет назад
How can you get AIO server Port ?
@ambrosedavid4001
@ambrosedavid4001 5 лет назад
someone pls help,i cant find the dashboard
@dineshs4145
@dineshs4145 6 лет назад
In Adafruit control only 5 upto D4 why another pins can't control. Only 5 pins control
@techiesms
@techiesms 6 лет назад
You need to change the Adafruit MQTT.h file Their change the Max Subscriptions from 5 to 10
@rocksonagyeman1626
@rocksonagyeman1626 7 лет назад
Do you perhaps know of a php library i could use with adafruit mqqt broker?
@techiesms
@techiesms 7 лет назад
+Rockson Kwame Agyeman I have bonuses about this. But will let you know if I find any answer for this
@ionutaurelian2963
@ionutaurelian2963 7 лет назад
this is exact error for my esp8266 Connecting to MQTT... Not authorized to connect
@Tensopiseth
@Tensopiseth 6 лет назад
get error alot do to you have upload scrip want to copy
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
sorry i know i ask you many questions :D my question is i want to connect switch and when on/off by switch the button state in dash board also change can you help me and how get dash board in mobile app (the same dash board on IO-Adafruit),thx
@techiesms
@techiesms 7 лет назад
+ahmed ali no problem buddy And you can definitely get the data on your smart phone through any MQTT app And you can get it by physically pressing the button on ESP12e board In the code First subscribe to a topic and see whether the switch is pressed or not And if switch is pressed Publish a value in that topic Easyyy
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
send state of led to broker when button pressed maybe i can do it ,but how change the state switch on dash board ,in other words how can i tell the switch new state from esp ,thx
@techiesms
@techiesms 7 лет назад
+ahmed ali see It's not a physical switch on the dashboard It's just representation of data in memory. Or we can say the it will show the last data updated in that particular topic So if you are publishing some value in particular topic on which switch of the dashboard is subscribed, then the switch will also toggle it's position according to the new data updated. Summing up my point Just publish 0 or 1 in a topic through your esp And also make a button in the dashboard with the same topic as that of you are publishing value.and observe the changes
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
Sachin Soni ok thx
@aswiniummadi9551
@aswiniummadi9551 8 лет назад
Hi your project is nice. can you post the code for this. i want to make replication of this project.
@techiesms
@techiesms 8 лет назад
visit my blog on MQTT on my website, you will get code there www.techiesms.com
@pmvanker
@pmvanker 6 лет назад
wah bhiaband saru hto video mazza avi... bnavo aava video hu pn embedded engineer chu.. gandhinagar... subscribe my chnal too bro.
@AbhishekKushwaha-xr4ww
@AbhishekKushwaha-xr4ww 7 лет назад
Hi techiesms This is Abhishek , I AM trying to create iot using standalone ESP8266 -01 . I have created my own app and also webserver . Problem is that I works fine for some time but then it stops working I.e blue light that keeps on blinking in ESP stops and it gets freeze . This usually happen when I connect AC source to relay. Other wise when I don't connect my appliance with relay. It works fine for long hours. I don't know what's the problem Please help me out. No clues in web i have found. Almost same thing happend when I tried creating using arduino nano and ESP. That after some time it stops responding. Please help me Please help...I am waiting for reply .... I have changed 3 ESP to confirm whether my ESP is fine or not....
@techiesms
@techiesms 7 лет назад
+Droid Developer that's a great coincidence. Actually I'm​ too facing that same problem of switching relay through ESP which I'm doing for my next video. That same blue LED freeze when I connect relay. Still I didn't find the solution but will soon fig out and will be making project tutorial video on it So just subscribe my channel to get notified for that upcoming project
@techiesms
@techiesms 7 лет назад
so there must be error in the code. When the code gets stuck in infinite loop doing nothing, the wdt overflows and it get reset
@techiesms
@techiesms 7 лет назад
I made the video for solving that problem. Have a look ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3YG9uvCiHR0.html
@AbhishekKushwaha-xr4ww
@AbhishekKushwaha-xr4ww 7 лет назад
Bro can u use Ac Appliance with relay to make sure its not restarting . That much was working fine with my setup i.e relay was switch fine without any appliance but when any appliance is connected it restarts randomly. Please do check . And also check using arduino serial monitor to check restart issue.
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
i created an account on Adafruit and i can;t reach my dashboard any help ,thx
@techiesms
@techiesms 7 лет назад
goto io.adafruit.com on the upper right corner click on signin and than login to your account Next page will be your dashboard
@ahmedali-xg9sg
@ahmedali-xg9sg 7 лет назад
Sachin Soni thanks
@baslymohamedgaith2367
@baslymohamedgaith2367 4 года назад
can you give me the code of arduiono
@TSGHitmaNlive
@TSGHitmaNlive 5 лет назад
Can you send circuit diagram or source code plzz
@hemantaphurailatpam3956
@hemantaphurailatpam3956 8 лет назад
it works but took a very long time to turn on and off the light. I don't know what's problem
@techiesms
@techiesms 8 лет назад
It happened with me also. In my case the problem was slow internet connection
@hemantaphurailatpam3956
@hemantaphurailatpam3956 8 лет назад
now its working fine,,thanks anyway..i would like you to do more videos on IoT
@techiesms
@techiesms 8 лет назад
+hemanta phurailatpam I am working on that. May be I won't be uploading through this RU-vid channel but you stay updated with my fb page which says fb.com/techiesms
@chanduk7758
@chanduk7758 6 лет назад
sketch_feb07f.ino:25:27: fatal error: Adafruit_MQTT.h: No such file or directory
@prashanthrav
@prashanthrav 6 лет назад
I've done everything you have said but in the end i am getting some alien messages in the serial monitor after uploading. for e.g. ^EpÉ4AHäMÐipÍ'$ü I am also getting a message after uploading that WARNING: Spurious .github folder in 'Adafruit MQTT Library' library I've been sitting with this thing from the morning but unable to figure out what next. Pl help
@JenitBilakhia
@JenitBilakhia 5 лет назад
Check the baudrate both in Serial.begin() in code and in serial monitor. They must be same.
@thewackydose
@thewackydose 7 лет назад
how can i make my own mqtt broker. I dont want to use any third party broker for my IoT project
@bharadwazdubbaka9358
@bharadwazdubbaka9358 3 года назад
Code link
@TSGHitmaNlive
@TSGHitmaNlive 5 лет назад
Bro this machine work from long distance
@techiesms
@techiesms 5 лет назад
Yes
@TSGHitmaNlive
@TSGHitmaNlive 5 лет назад
@@techiesms how much distance its maintain
@techiesms
@techiesms 5 лет назад
From anywhere in the world It’s working on internet
@TSGHitmaNlive
@TSGHitmaNlive 5 лет назад
@@techiesms i want to make this project
@nuovovideo
@nuovovideo 8 лет назад
I can't Understand why if I Upload the ESP8266 WiFi Scan Example, It can see my SSID WiFi ( I have three at my home). But With your Example, it stop at the first Step, It is waiting to connect at my WiFi, and doesn't work. It stop with many .............................................................................. and don't go ahead. I put everything I need like your example.
@techiesms
@techiesms 8 лет назад
this means that you must have entered the wrong ssid name or password. Or it can be like you accidentally have attached space after of before your ssid name or password. For example "SmS " > this is wrong as I have a blank space at the end "SmS" > this is correct If still the problem is not solved, do send me the code, I will debug that
@dineshs4145
@dineshs4145 6 лет назад
Please give me suggestions
@yaazhlenepanneerselvam2341
@yaazhlenepanneerselvam2341 8 лет назад
while (( subscription = mqtt.readSubcription(5000))) it is not going into the loop no errors in execution can u fix this the same code I used as urs and also created a adafruit dashboard with two attributes under a feed name called project which consisted of Light and Radio and also I have many doubts in this could ple give me ur mail I'd where I could send all my doubts
@techiesms
@techiesms 8 лет назад
sachinsms1990@gmail.com
@ionutaurelian2963
@ionutaurelian2963 7 лет назад
plise help
@NRMARANAMFF
@NRMARANAMFF 2 года назад
No
Далее
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 570 тыс.
ЛОВИМ НОВЫХ МОНСТРОВ В LETHAL COMPANY
2:42:22
Easy MQTT Server Setup
7:35
Просмотров 208 тыс.
Home Automation with Node.js and MQTT
21:56
Просмотров 87 тыс.
Control ANY COMPUTER with these Pi KVMs!
17:46
Просмотров 821 тыс.
ЛОВИМ НОВЫХ МОНСТРОВ В LETHAL COMPANY
2:42:22