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
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!!!
Thank you so much for your words. I feel blessed that I’m able to help others by sharing knowledge
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.
Easiest and simplest explanation of Websockets 💯💯💯
you are op with help of you I done a thing that no one done in my school
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.
Wow man, its great job...am exactly searching this one only for past few days...definitely gonna a try...keep up the good work
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!
This one doesn't have all the links to the rest of the videos! but awesome series so far!
Most supporting channel and person too🥰
Thanks for the knowledge
Bro, just a doubt. Can we host our local network globally, I mean through internet.
Great video, thanks for sharing.
Request you to please make tutorial on led control through esp without hardcoding using mit app
Nice example, thanks !!!!
Good explained
Your explanation very good and informative, keep it up
Thank you very much and keep up the great work!
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.
Great work
Thanks for sharing this knowledge
You my man are a legend!!!
Its really amazing bro thanks
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?
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
Nice explanation
How to use websocket protocol to communicate with Android app from esp32 during ap mode
A great video tutorials series
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!
Can we control multiple ESP8266 from any other webpage (Not local Server)
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
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
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.
ESPAsyncWebServer.h:36:25: fatal error: ESPAsyncTCP.h: No such file or directory
#include getting same error for both boards esp32 &esp8266 please help
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.
Can you build a tutorial For flutter socket and esp32 or 8266 micropython web socket or socket .sending receiving data at both ends
Good tutorial
Neat explanation Bro 👌👌👌👍
Excellent 👍. Keep it up!
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.
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?
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.
please make video on how to install and setup this libraries .
Perfect!
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.
genial tutorials bro!
I need to do same thing from WAN.
Awesome 👍
Can we use it to know the status of led?
Async websocket server?
👏👏👏👏👏
🔥🔥🔥🔥♥️👍🏻
remotely control pc keyboard via web using python using sockets
hi sir, will hire me, very badly I need an opportunity, sure I won't disappoint you.salary not bothered
Plzz answer my question on whatsapp