WebSocket Server Home Automation using ESP32 or NodeMCU board

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2020
  • In this video, I have explained what is WebSocket, how it is better then HTTP and I have also shown that how you can make transfer data between client and server through Websockets.
    Basically I'm running a series whose aim is to make a local area network based home automation system using WebSockets & Webserver running on ESP32 or NodeMCU board. So subscriber the channel and join this journey of making the whole project from scratch....
    You can support me and also get benefitted on Patreon :- / techiesms
    Subscribe now to watch some amazing videos coming up soon.
    bit.ly/techiesms_youtube
    _________________________________________________________________
    Important Links
    Code for the series : github.com/techiesms/NodeMCU-...
    Comparison of HTTP and WebSocket :- developerinsider.co/differenc...
    Site for learning JavaScript,HTML and Many more :- www.w3schools.com
    _________________________________________________________________
    Other Episodes of this Series
    [Episode 1] ESPAsyncWebServer & mDNS server - • Run a WebServer & mDNS...
    [Episode 2] Home Automation via HTML page :- • Home Automation via HT...
    _________________________________________________________________
    Now you can get free PCB with every order of techiesms T-shirt or techiesms pocket notebook.
    You can buy the merchandise from here,
    techiesms.com/merchandise/
    _________________________________________________________________
    Buy the components from here
    Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
    bit.ly/techiesms-Amazon-Store
    _________________________________________________________________
    Subscribe Now :- bit.ly/techiesms_youtube
    You can support me and also get benefitted on Patreon :- / techiesms
    Facebook :- / techiesms
    Twitter :- / imtechiesms
    Instagram :- / techiesms
    Website :- www.techiesms.com
    WhatsApp number :- +91 82000 79034
    _________________________________________________________________
    #techiesms
    explore | learn | share
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 54

  • @rarenu
    @rarenu 4 ปีที่แล้ว +40

    I am 72 years old retired Telecom Engineer and my hobby is IoT. Till yesterday I never thought that I will learn Web socket server, Javascript etc., in my entire life, because it is a vast subject and I was not sure, what are the only necessary topics for Iot implementation. So I didn't think of giving a try.
    Now that you started to teach, I feel happy that I am gifted to learn Web socket server, Javascript etc., with your video guidance. It is really a Great Job.
    Thank you Guruji for your wonderful service to hobbyist like me.
    I pray god to shower you and your family, with good health, wealth and happiness!!!

    • @techiesms
      @techiesms  4 ปีที่แล้ว +10

      Thank you so much for your words. I feel blessed that I’m able to help others by sharing knowledge

  • @thisisjoyjacob
    @thisisjoyjacob 4 ปีที่แล้ว +1

    Truly inspiring. A month ago coz of the lock down, the engineer inside me had died. You brought him back to the engineering world by makin this Series. Thank you.

  • @thisisjoyjacob
    @thisisjoyjacob 4 ปีที่แล้ว +1

    Easiest and simplest explanation of Websockets 💯💯💯

  • @prasadindika7652
    @prasadindika7652 4 ปีที่แล้ว

    Thank you for shearing valuable lesson with us for free of charge. Many blessings on you. I am always waiting for your video. It is awesome your explain skill. May you be a professor of the big university.

  • @ControltheController
    @ControltheController 4 ปีที่แล้ว

    Great video, thanks for sharing! I am also started shooting esp idf tutorial series, you are the most beautiful arduino ide teacher I have ever seen!

  • @reshanireshiba3685
    @reshanireshiba3685 4 ปีที่แล้ว

    Wow man, its great job...am exactly searching this one only for past few days...definitely gonna a try...keep up the good work

  • @AbelPinales
    @AbelPinales ปีที่แล้ว

    This one doesn't have all the links to the rest of the videos! but awesome series so far!

  • @nagarava
    @nagarava 4 ปีที่แล้ว

    Your explanation very good and informative, keep it up

  • @ramkrushnashinde6689
    @ramkrushnashinde6689 4 ปีที่แล้ว

    Most supporting channel and person too🥰

  • @MokshMishra
    @MokshMishra 2 หลายเดือนก่อน

    you are op with help of you I done a thing that no one done in my school

  • @phenexledlighting7230
    @phenexledlighting7230 4 ปีที่แล้ว

    Great video, thanks for sharing.
    Request you to please make tutorial on led control through esp without hardcoding using mit app

  • @xalexander1996
    @xalexander1996 3 ปีที่แล้ว

    Thank you very much and keep up the great work!

  • @caroman6761
    @caroman6761 4 ปีที่แล้ว +1

    Nice example, thanks !!!!

  • @krishnawa_
    @krishnawa_ 4 ปีที่แล้ว

    A great video tutorials series

  • @mail2abir
    @mail2abir 4 ปีที่แล้ว

    Excellent 👍. Keep it up!

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 4 ปีที่แล้ว

    Great work
    Thanks for sharing this knowledge

  • @brentcleys1011
    @brentcleys1011 3 ปีที่แล้ว

    You my man are a legend!!!

  • @bluehydrogen
    @bluehydrogen ปีที่แล้ว

    Thanks for the knowledge

  • @dhrubojyotidey8267
    @dhrubojyotidey8267 4 ปีที่แล้ว +1

    Thank you very much for the helpful video. Please make a video on ESP32 websocket programming with micropython.
    I need to know if one can do simultaneous programming. Can you please let me know about it? In brief for example, considering I create a def function to blink an LED1 on a pin in the board and another def function for the LED2 on another pin on the same board. What I need to know is can I program both the def functions to operate together parallely. Fow example I want to blink LED1 for 3 times and LED2 for 5 times together. The output I'm expecting is to start blinking both LEDs together and then finish at their respective time.

  • @sringenious8231
    @sringenious8231 4 ปีที่แล้ว

    Neat explanation Bro 👌👌👌👍

  • @rhythmmehra2443
    @rhythmmehra2443 2 ปีที่แล้ว

    Hey, I learnt kivy from your tutorials and am following up on the home automation series, your tutorials are really helpful. I was wondering if you can make the same playlist using micro python. If there is one then please share the link in the reply.

  • @asciaspects3563
    @asciaspects3563 4 ปีที่แล้ว +3

    Bro, just a doubt. Can we host our local network globally, I mean through internet.

  • @vinothkumarv9722
    @vinothkumarv9722 2 ปีที่แล้ว

    Its really amazing bro thanks

  • @technolabcreation
    @technolabcreation 4 ปีที่แล้ว

    Nice explanation

  • @aarriikknn33ll
    @aarriikknn33ll 3 ปีที่แล้ว

    Hi techiesms, i have a question! Is there any way to instead of connecting to the wifi connection created by the esp32, connecting to my home network? I would assume i will have to go give the esp32 my password and wifi name to be able to log in to it, but how would i do this?
    Greets from Belgium!

  • @samirselim6369
    @samirselim6369 ปีที่แล้ว

    Good explained

  • @FuxionTech
    @FuxionTech 4 ปีที่แล้ว

    HI, I want to do communication between android app and esp32 (without webserver), using websockets.
    I am new to this concept so, Please guide me on this, how this is possible?
    any relevant example or tutorial will helpful.

  • @karryvenkatesh5116
    @karryvenkatesh5116 3 ปีที่แล้ว

    Can we control multiple ESP8266 from any other webpage (Not local Server)

  • @ricardoyanez9464
    @ricardoyanez9464 3 ปีที่แล้ว

    genial tutorials bro!

  • @TopEndTutorial
    @TopEndTutorial 4 ปีที่แล้ว

    Can we use it to know the status of led?

  • @digitalartee
    @digitalartee 3 ปีที่แล้ว

    Perfect!

  • @nishantsrivastava9381
    @nishantsrivastava9381 3 ปีที่แล้ว

    Good tutorial

  • @user-nh5hc1fq5d
    @user-nh5hc1fq5d ปีที่แล้ว

    have you tried esp32 as client , connect to a local server and communicate? for example try heculeas TCP server and connect esp32 as client to it and communicate?

  • @pradummishra782
    @pradummishra782 4 ปีที่แล้ว

    Awesome 👍

  • @ckvis
    @ckvis 4 ปีที่แล้ว

    Hello sir I add code and zip file
    But after compiled code give the error relay 1 ...and d1 for relay 1 is not defined

  • @albinsclassroom8388
    @albinsclassroom8388 12 วันที่ผ่านมา

    How to use websocket protocol to communicate with Android app from esp32 during ap mode

  • @ckvis
    @ckvis 4 ปีที่แล้ว

    Hello sir I add code and zip file
    But after compiled code give the error relay 1 ...and d1 for relay 1 is not defined
    Please help me sir

  • @drakkorvladimir4012
    @drakkorvladimir4012 2 ปีที่แล้ว

    I need to do same thing from WAN.

  • @BuildnCode4506
    @BuildnCode4506 ปีที่แล้ว

    Can you build a tutorial For flutter socket and esp32 or 8266 micropython web socket or socket .sending receiving data at both ends

  • @arunbajpai5743
    @arunbajpai5743 3 ปีที่แล้ว

    your tutorial on home auto mation is too good but dont use apple screen while editing videos........
    by the way it very informative on websocket......thanks and expacted more videos on same

  • @RiteshYadav-rc1np
    @RiteshYadav-rc1np 3 ปีที่แล้ว

    please make video on how to install and setup this libraries .

  • @rohanahmed4921
    @rohanahmed4921 3 ปีที่แล้ว

    Async websocket server?

  • @padmalayarawal3091
    @padmalayarawal3091 4 ปีที่แล้ว +1

    👏👏👏👏👏

  • @kaushalsuvarna1284
    @kaushalsuvarna1284 4 ปีที่แล้ว

    🔥🔥🔥🔥♥️👍🏻

  • @drakkorvladimir4012
    @drakkorvladimir4012 ปีที่แล้ว

    I can't get any help on how to do this from and external connection, not just local as it is not practical. Nobody on TH-cam ever gives my any help or answers.

  • @udayparanjape7374
    @udayparanjape7374 2 ปีที่แล้ว

    ESPAsyncWebServer.h:36:25: fatal error: ESPAsyncTCP.h: No such file or directory
    #include getting same error for both boards esp32 &esp8266 please help

    • @sayaksa9560
      @sayaksa9560 2 ปีที่แล้ว

      Did you download AsyncTCP library?. I got the same same error because in newer version of arduino editor it is not present/pre-installed. Downloading it from Github and including the library solved the issue.

  • @dejanskrivalnik4663
    @dejanskrivalnik4663 3 ปีที่แล้ว

    WEBSOCKET in NOT working well on ESP32. What it is all about: default client number count in ESP32 softAP is 4. In the presented websocket axample it's also 4 and this WEBSOCKET code does't always recognize the right number of clients as it DOESN't always register DISCONNECTION. For example, you connect with one Android phone to ESP32 and then you disconnect, and connect again,...and so on..... and when you make 5th connection it doesn't work anymore. Internally it "thinks" 4 clients are connected and doesn't let the 5th to connect (what is OK) but that is not true as only one client is present. CAN YOU REPAIR the code or library?

    • @brunobilame2528
      @brunobilame2528 3 ปีที่แล้ว

      Hi, this issue is well known. One way to solve it is by sending a request to every client. If one client doesn't answer after let's say 1000ms then disconnect it.

  • @naveen1000
    @naveen1000 3 ปีที่แล้ว

    remotely control pc keyboard via web using python using sockets

  • @HobbyKit
    @HobbyKit 4 ปีที่แล้ว

    hi sir, will hire me, very badly I need an opportunity, sure I won't disappoint you.salary not bothered

  • @dewangannavin
    @dewangannavin 4 ปีที่แล้ว

    Plzz answer my question on whatsapp