Coconote
AI notes
AI voice & video notes
Export note
Try for free
give detailed methodology used in Home Automation System using NodeMCU
Jun 26, 2024
Home Automation System using NodeMCU
Introduction
Control home appliances with Google Assistant and Alexa
Manual control with switches
Real-time status monitoring in Google Home and Alexa app
Key Features
Both Android apps can control without needing an Alexa device or Google Home
Manual control remains viable even without the internet
Demonstration
Commands shown:
Hey Google, turn on all lamps
Hey Google, turn off room light
Alexa, turn on room light
Alexa turn off night lamp
Manual switch control demonstrated
Working Without Internet
WiFi turned off
Manual switches used for control
Reconnected to WiFi to resume automated control
Project Overview
No need for custom design PCB: NodeMCU and relay module suffice
Circuit diagram and code provided
Components
NodeMCU
4-channel relay module
Existing switchboard or pushbuttons
Detailed circuit wiring described
Circuit Details
Switches connected across GPIO pins and ground pins
Safety precautions emphasized while handling AC circuit
Alternative circuit for push buttons provided
Professional Look
PCB designed and ordered from JLCPCB
Steps to order PCB outlined:
Upload Gerber file
Select parameters (quantity, masking color)
Place the order
Quality of PCB highlighted
Assembly
Components soldered on PCB
NodeMCU connected with PCB
Sinric Pro Configuration
Visit Sinric Pro page for account setup
Steps to create an account demonstrated
Creating rooms and devices in Sinric Pro
Mentioned unique IDs for devices needed in code
Programming NodeMCU
Code available on iotcircuithub.com
Required libraries listed:
SinricPro
,
ArduinoJson
,
WebSockets
WiFi credentials and Sinric Pro
APP KEY
and
APP SECRET
required
Device IDs entered from Sinric Pro account
Uploading Code to NodeMCU
Tools > Board: NodeMCU 1.0 and select proper PORT
Upload button clicked
Amazon Alexa App Configuration
Steps to link Sinric Pro with Alexa app
Discover devices in Alexa app
Three devices successfully found
Google Home App Configuration
Steps to create a home in Google Home app
Linking with Sinric Pro
Devices found on Google Home app
Control via app demonstrated
Conclusion
Useful Smart Home system
Limitation of free version of Sinric Pro (max 3 devices)
Join Telegram channel "Tech StudyCell"
Encouragement to like, share, and subscribe
Additional Notes
Mention of free version restriction for NodeMCU booting process with switches
📄
Full transcript