A simple smart home setup for controlling appliances from Android app.
Setting up the Arduino
- In the smart_room.ino file edit the firebase authentication details and Wifi settings.
- Import the zip files for ArduinoJson and firebase-arduino in the code.
- Upload the code to the NodeMCU board
Setting up the App
- Download .aia file and import it into MIT App Inventor, then edit the Firebase URL
- Build the .apk file, and install.
- NodeMCU causes some trouble with 5 GHz wifi band, so use the 2.4 GHz wifi band.
- There are some bugs with latest versions of ArduinoJSON, use version 5.13.2