ESP32 Home automation with Google Assistant Alexa & Manual Switches - Internet of Things 2021
ฝัง
- เผยแพร่เมื่อ 3 พ.ค. 2024
- In this Internet of Things project, I have shown you how to make ESP32 Home automation with Google Assistant Alexa to control relays with voice commands and manual switches. I have used all the free tools for this IoT-based home automation system.
Visit the following website to get electronics components, modules at a very reasonable price
utsource.net?source=TH-cam
During the tutorial video, I have covered the following topics:
00:30 Control appliances with Google Assistant and Alexa using ESP32
00:56 Control appliances manually with switches.
01:25 Required Components for this ESP32 project.
01:48 Circuit diagram of ESP32 home automation project.
02:48 How to create and configure Sinric Pro account.
04:14 Program ESP32 with Arduino IDE
06:25 Setup Google Home App to control ESP32 with Google Assistant.
07:35 Setup Amazon Alexa App to add IoT devices.
08:37 Control relays with voice using Google Assistant
Required Components for the ESP32 home automation system
1. ESP32 Devkit
2. 4-channel 5V SPDT Relay Module
3. Switches or Push Buttons
Amazon India Affiliate links:
ESP32 : amzn.to/331pohb
4-channel 5V Relay Module : amzn.to/2BQ5Y3o
Echo Dot Alexa(4th Gen) : amzn.to/3srCiPA
Amazon United States Affiliate links:
ESP32 : amzn.to/3mBjCch
4-channel 5V Relay Module : amzn.to/3r2HuJ4
Previous Video links:
How to program ESP32 using Arduino IDE
• Programming NodeMCU ES...
NodeMCU Home Automation with Google Home & Alexa
• Smart Home with Google...
**With this IoT project I can control all 4 relays manually with switches. But as I have used the free Sinric Pro account, so I can control 3 devices with Google Assistant and Alexa. To control the fourth device, you have to purchase 1 device in Sinric Pro.
**You don't need any Alexa devices like Echo Dot or Google Home Mini. You can just use Google Home App and Amazon Alexa App for this smart home system.
**If the ESP32 is not connected with Wi-Fi, then you may face some delay while controlling the relays from switches.
Download Code for this ESP32 smart house automation project from the following article.
iotcircuithub.com/iot-based-p...
During the internet of things tutorial video, I have explained all the steps to make this ESP32 home automation system with Sinric Pro to control the home appliances with Wi-Fi. I have made this Google Assistant control smart home system without IFTTT. If the ESP32 connected with Wi-Fi then you can control the relays from anywhere in the world with Alexa and Google Assistant. And you can also monitor the real-time feedback in the Amazon Alexa and Google Home IoT applications. So with this smart house project, you can convert any appliance to IoT devices and control them through the internet.
So, now you can just ask Google Assistant, "Hey Google, turn off lights", or "Alexa, turn on light". that's it.
#esp32 #homeautomation #googleassistant
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: iotcircuithub.com/
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudycell/
Twitter: / techstudycell
-------------------------------------------------------
Other useful Internet of things projects:
Latest NodeMCU projects playlist:
• NodeMCU Projects
Latest ESP32 projects playlist:
• ESP32 Projects
ESP32 Smart Home System with Amazon Alexa app & Manual Switches
• ESP32 Smart Home Syste...
Alexa Home Automation project using NodeMCU
• Alexa Home Automation ... - วิทยาศาสตร์และเทคโนโลยี
⚠ This video took a long time to make if you would like to buy me a coffee to say thanks, link below: ☕
PayPal: paypal.me/sdaspay
Patreon: www.patreon.com/techstudycell
Hello, you can have a project with output for pwm based on sinric that can be used with this project
The best part is, one always gets to know something new !!! Great work 👍👍
Glad you think so!
I am most expected program this.
Thank you.
Thank you very much. Nice tutorial!
You are making my Google Mini nest egg speaker go crazy every time you say "hey Google turn on light" it keeps saying " I'm sorry the lights have not been setup yet!" Lol
😀
Tanks from Medellín, Colombia
Great Project. Loved it
Thank you!
❤️❤️🔥🔥nice work man 😍😍😍
Thanks 🔥
THANK YOU SO MUCH MAN
Welcome
Super ,merci beaucoup
Can you use smart living or tunya instead of sinric or bylnk?
HI,
Can we also control lights with a Bluetooth app in case the internet is not working?
Thank you ❤️
Best video i learn alot of ur video, could do to also homekit using esp 32 tnx
Best of the best video ever but don't you think there should be an Android app so we can control this system even when we are offline
how to change the sketch if using the Arduino mega wifi robotdyn board?
Can I use esp8266 instead of esp32 for this project. If yes, then what code modification required. Please share.
Thanks.
Can we give 12v DC line as LiVe to Relay and connect to 12v DC strips ?? Will this relay module work on 12vdc ??
hey, cen you make contact sensor use sinric pro
thanks so much sir, i made this project and it is successful .but there is a little problem, the first one is when i say turn on light on google it take more time approximately 6 to 7 second, and on alexa it takes 3 to 4 second or more, and the second problem is that the 2 relay is operating with voice command on google home but the one is not working ,the three relay working on google home button but not work one of these relay on voice command of google .and in alexa app ,the three relay work on button and also work with voice command, plz replay
Hi , i'm having a doubt in this . once after we make this enabled in google home and alexa , if we connect this with any other wifi network other than ours will it work with the same or we should again configure it?
can i use google nest mini for this project??
Which is best for home automation system esp 32 or 82
Nice
Kya hum logic devlope kar sakte hai kya arduino ide jaisa?
Can you help me to download and install the sinric pro library
#include was error please answer me.
is the ace button library non-blocking? if i add mqtt and it lost connection to the server, can i normally turn on/off flip switches?
Thanks ❤
Welcome
12v relay is required for big room 5v is smal if your wire is long
hello, can i use 12v to supply the esp32?
Can i add to ir rmote what can i do
Sinric pro has lot of issues with frequent disconnections and chargable if more than 3 devices are used. I used it for sometime and switched to OpenHAB which is completely free and having lot of features and very easy to setup. Also do you think it is better to connect to the internet directly from the nodeMCU/ESP32 or use a local broker like Mosquitto and edge platform to control all local devices?
I want to make this for my home, can u please share the code for OpenHUB? Have u completed the project ? I also need an clock function to switch ON/OFF the load at predefined time, Can any one help?
@@vksingh620 sure shall be happy to help. Pls share your email
hi what if it is over 4 lamps, does the relay need to be replaced by using, for example, 8/12 lamps?, thanks a lot for your answer.
if its > 4 lamps i think you just need other relay with more ways or i think you can just buy 2 relays like this in video so it sums up to 8 lamps :))
Do you have a project report of it?
Hey I have build the same for my house using your tutorial thankyou for such great tutorial. I am facing one problem. instead of taking switch as input to esp32 I have used two ways switch on output side . (Same as staircase wiring ) so in future if card get error my parents can use switches . cuz I believe in automation manual control is must. Project works as intended but once I start from automation and shutdown any device form switch sometimes my card gets freez nd take no automation commands I have to restart card . Any idea what might cause delay or unresponsiveness ? @techstudycell
Superb sir.... please tell me how to operate 8 channel
Can we control it with mobile hotspot if we don't have wifi router?
How to control fan speed
Plz add thic project
something happen with my Alaxa assistant, i use to controll 4 device (Light) : Bedroom, Ceiling, Restroom, Kitchen, all work well only one problem that when i say :""turn off/on all the light" , only ceiling light works. Sorry for my bad grammar.
how to add it to Home assistant, thanks.
Can i use 8 relay on this project?
Awesome Work,
Please Add GOOGLE ASSISTANCE + BLINK APP TO 8 RELAY MODULE
PLEASE SIR ❤️ 🙏🙏🙏
Ok
@@TechStudyCell THANK YOU SO MUCH SIR,
I'M WAITING FOR YOUR UPLOAD NOTIFICATION ❤️❤️
KEEP ROCKING 🔥
Can we control this with both Bluetooth and google assistant
Sir everytime I need to connect wifi to control it with the manual switches
Great videos sir. Can it be done only with alexa/google home app without 3rd party apps like sinric, blynk
No
How about esp32 with blynk + sinric pro(google assistant)
Hi sir , sinric pro library is unable to download and install, previously install option is shown on the screen but now there is no option to install
Haii , awesome video you got here 🙏🏻💯
I also watch your other video , and i got some question , so there's no difference using custom board and normal installation expect the more clean installation from using costum board , is correct 🤔? Even though you already said on some videos no need custom board 😂🙏🏻 , just make sure 👌🏻
PCB is used just to make the circuit compact, and avoid any loose connections. You can always make circuit without using any PCB.
@@TechStudyCell thankss 👍🏻
Esp 8266 on gsm800l on/ flipswitch light on or off and feedback
bro how can i add it in my real cricuit board which i use everyday in my room please do tell as its very risky to do so
What if manual switch in ON position, and asked Alexa to turn ON?
Similarly manual switch in Off position and said Alexa to turn ON
How it works?
Need combinations and it's drawbacks
sir for sinric pro for free trial only 3 day sir? then for sinric pro only three devices activated not 4 devices why but you activated 4 devices how?
Can I use 5v 2a mobile charger or hilink 5v5w powersupply module ? As supply ?
Yes
Sir my audrino is not working manually the light is turning on off.
Quick question, you have used actual switches instead of push button. I understand the mechanical switch will have its own resistance. Won't this lead into an issue? Did you face any issue on the same?
Esp32 has an PULLUP value of 40k ohm with 3.3v input. The current is 3.3/40 k = ~ 82.5 uA. Won't this be an issue when it's flows through the actual switch.
I have faced no issues with switches
Hi bro i tried this project working good,but i am facing one issue,,,,,,, if wifi is disconnected again is not reconnecting automatically pls give some solution,,thank you
redifition void setup error problem sir plz help
Hi bro i success fully uploaded the code in esp32 but IP address not showing in serial monitor pls help me out bro,,,, thanks
Awesome video tutorial. One question , how can I use this to start my business and sell it professionally ?
U dont use this
@@stijnwilligenburg6016 Hi, excuse me, which platform could you recommend me to start a domotic business
i have made this project but my assistant switch is working in reverse when I turn on the bulb from assistant the bulb goes off similarly when the bulb is off from assistant the bulb turns on
Can we use mobile wifi
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
Use active LOW tp223. No change required
@@TechStudyCell sir what is active low?
Hello sir
Sar light jakar jab aati hai
Relay usi condition mein hoti hai Jo light Jane se pahle thi
Yah change ho jaati hai
All will be OFF
Dear sir, pls tell me why mannual switches are not working without internet... It's a showing major problem... Pls help if u have any solution
Sir this code is not working properly I have to connect the hotspot first to operate the switches ...plz. Reply...
It work with Esp8266??
it is showing me the device is not responsive in both google and alexa as well, what can i do plz give me a help
Bro add Web server to dis project, in my case it don't work properly....
I tried to make this project. It works but when I on the device using mobile, The bulb goes off. It works on upside down how to fix it
Hi sir .... in this video can know where is the power supply for the circuit
Please refer to the circuit diagram.
How can I contact u sir
@@TechStudyCell sir that 5v ... that is adapter right.....that is dc or ac????
Make a video with touch button, Google assistant & alexa for smart room
There will lot of power consumption will be there bro
Nice video,hi do u have link for 8channel relay
Not yet
@@TechStudyCell tnx for the reply
thanks, interesting project: when I compile ESP32, I get message:
\Arduino\libraries\arduinoWebSockets-master\src\WebSocketsClient.cpp:234:30: error: 'class WiFiClientSecure' has no member named 'setInsecure'
_client.ssl->setInsecure();
but appears I have all the correct files, any help appreciated, tks
Which software you used to draw circuit
Fritzing
@@TechStudyCell Thanks bro
comando faz também usando 10 rele com alexa e google assistente e app blynk
why i can't on/off the light when esp32 not connect to wifi?
Sir esp32 board and library is not downloading link is not working Green link does not open even when clicked
how to turn on without manual?
Sir, can use 8relay &,8manual switches?
Yes. But not in free plan
How to have 4 devices in google assistant
How to add 8 channel relay and Bluetooth operate this project.
to add 8 channel relay you just need to modify the code
Sir alexa me device unresponsive dikha raha hai plz solution batao🙏
Your video description is misleading. It should say:
Google Assistant - Sinric Pro - Esp32
Sinric Pro is $3 per device and they store your data.
Which voltage relay need to used
5v
Hello...I wanna learning IoT technology, if you provide course, please response....
Good job bro, please make a tutorial how to use sensors with sinric pro.👍
Thanks. Noted
😉
Still waiting for fan Speed control using sinric pro
@@yogendrajamsariya1193 I'm facing a problem, I don't know how to make the rotary encoder work with sinric, do you have any idea how to fix it ?
@@nightwing8164 bro same problem I am facing, I talk to founder of sinric Mr Boris and he said use sinricpro Fan explain
Hi. ir remote + 4 button + blink + 4 relay WiFi on esp8266 nodemcu please.
Soon I will publish it with 8 relay and ESP32
@@TechStudyCell thanks
Esp32 have input and output voltage of 3.3 volt how it can control 5 volt operated relay?
It has both rght?!
ESP32 just trigger the control pin. So with 3.3V at control pin you can control both 5V and 12V relay module.
@@TechStudyCell Sir than you that any 5 volt and 12 volt relay module can be cab be triggered on or off state by applying 3.3 volt either it would be a power supply as well?
bro what if i want more then three relay
You have to purchase pro plan.
Compilation error: exec: "cmd": executable file not found in %PATH%
hi , nice project ! i have some problems... Relay "S" pin powered on when alexa gets command off and powerd on when command is off, can you help ?
s bro same problem
@@acspushpadass8960 finally i fixed it , if you want i can send you the code .
@@grhgorhsliaphs4166 s bro same problem , you can send the code
@@ahmadhus6616 of course , give me your email so i can send it.
@@grhgorhsliaphs4166 Hi bro I am also facing this same problem can I send you my email to pass me the code?
Can we do it with 8 channel relay ?
Yes. But not with free plan
Can we control our home load if we are in any place?
?
If the NodeMCU is connected with internet, you can control from anywhere.
hi can this code work without manual switches?
yes.
@@TechStudyCell when i turn off light lights is working, when i turn on light, lights is off, where is the problem?
On the video its 220V
But here we use 240V
Can it still be possible ?
Any adjustment in the relay to use ?
Thank you
Yes,
limite devices is 3?
3 is the limit for free devices, if you want more devices than 3 you have to pay 3$ a year for one, so if you have 5 lightbulbs, you have to pay 6$ every year, because rest 3 is free :))
Dipankar Saha
3 weeks ago
Sinric pro has lot of issues with frequent disconnections and chargable if more than 3 devices are used. I used it for sometime and switched to OpenHAB which is completely free and having lot of features and very easy to setup. Also do you think it is better to connect to the internet directly from the nodeMCU/ESP32 or use a local broker like Mosquitto and edge platform to control all local device
you can also check it out :>
How to change credentials of wifi
You have to change it in code. Then upload the code. No OTA
in this video you turn on 3 lights.bur I want 4 lights on .tell me how can I do
Just purchase one device in SInric Pro and add device ID
How use the same project with esp8266 or is it possible ?
S but u have to change few lines of code like librarys, and other functions to work with nodemcu
Yes. I have already made this project with NodeMCU video link: th-cam.com/video/gpB4600keWA/w-d-xo.html