WebSocket Server Home Automation using ESP32 or NodeMCU board

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • 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/techiesm...
    _________________________________________________________________
    Important Links
    Code for the series : github.com/tec...
    Comparison of HTTP and WebSocket :- developerinsid...
    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/...
    _________________________________________________________________
    Buy the components from here
    Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
    bit.ly/techiesm...
    _________________________________________________________________
    Subscribe Now :- bit.ly/techiesm...
    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 💯💯💯

  • @MokshMishra
    @MokshMishra 6 месяцев назад

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

  • @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.

  • @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

  • @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!

  • @AbelPinales
    @AbelPinales Год назад

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

  • @ramkrushnashinde6689
    @ramkrushnashinde6689 4 года назад

    Most supporting channel and person too🥰

  • @bluehydrogen
    @bluehydrogen Год назад

    Thanks for the knowledge

  • @asciaspects3563
    @asciaspects3563 4 года назад +3

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

  • @phenexledlighting7230
    @phenexledlighting7230 4 года назад

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

  • @caroman6761
    @caroman6761 4 года назад +1

    Nice example, thanks !!!!

  • @samirselim6369
    @samirselim6369 2 года назад

    Good explained

  • @nagarava
    @nagarava 4 года назад

    Your explanation very good and informative, keep it up

  • @xalexander1996
    @xalexander1996 3 года назад

    Thank you very much and keep up the great work!

  • @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.

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 4 года назад

    Great work
    Thanks for sharing this knowledge

  • @brentcleys1011
    @brentcleys1011 3 года назад

    You my man are a legend!!!

  • @vinothkumarv9722
    @vinothkumarv9722 3 года назад

    Its really amazing bro thanks

  • @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?

  • @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

  • @technolabcreation
    @technolabcreation 4 года назад

    Nice explanation

  • @albinsclassroom8388
    @albinsclassroom8388 4 месяца назад

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

  • @krishnawa_
    @krishnawa_ 4 года назад

    A great video tutorials series

  • @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!

  • @karryvenkatesh5116
    @karryvenkatesh5116 3 года назад

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

  • @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

  • @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

  • @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.

  • @udayparanjape7374
    @udayparanjape7374 3 года назад

    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 3 года назад

      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.

  • @BuildnCode4506
    @BuildnCode4506 2 года назад

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

  • @nishantsrivastava9381
    @nishantsrivastava9381 3 года назад

    Good tutorial

  • @sringenious8231
    @sringenious8231 4 года назад

    Neat explanation Bro 👌👌👌👍

  • @mail2abir
    @mail2abir 4 года назад

    Excellent 👍. Keep it up!

  • @rhythmmehra2443
    @rhythmmehra2443 3 года назад

    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.

  • @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.

  • @RiteshYadav-rc1np
    @RiteshYadav-rc1np 3 года назад

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

  • @digitalartee
    @digitalartee 3 года назад

    Perfect!

  • @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 RUclips ever gives my any help or answers.

  • @ricardoyanez9464
    @ricardoyanez9464 3 года назад

    genial tutorials bro!

  • @drakkorvladimir4012
    @drakkorvladimir4012 2 года назад

    I need to do same thing from WAN.

  • @pradummishra782
    @pradummishra782 4 года назад

    Awesome 👍

  • @TopEndTutorial
    @TopEndTutorial 4 года назад

    Can we use it to know the status of led?

  • @rohanahmed4921
    @rohanahmed4921 3 года назад

    Async websocket server?

  • @padmalayarawal3091
    @padmalayarawal3091 4 года назад +1

    👏👏👏👏👏

  • @kaushalsuvarna1284
    @kaushalsuvarna1284 4 года назад

    🔥🔥🔥🔥♥️👍🏻

  • @naveen1000
    @naveen1000 4 года назад

    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