-
1Download and install Arduino IDE
Install ESP8266 library --> Preference --> Additional board manager URL:
Put this URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json
-->Tools --> Board: --> Boards manager -->Search "esp8266" --> install
-
2Download and install NodeMCU Py Flasher
-
3Download and install ch340g or cp2102 USB driver
-
4Flash NodeMCU firmware
Use firmware "nodemcu-master-22-modules-2018-03-30-21-50-21-float.bin"
-
5Upload your project to NodeMCU
Open file "IR_AC.ino" and edit your WiFi SSID & Password
-
6Add device to SmartThings IDE
Use random network id (Ex: 123)
-
7Set IP address of your NodeMCU in SmartThings App
(Preferences gear)
-
8Test with browser
You can check Temp & Hum with IP address on your browser (port 80)
You can control AC with your browser (port 81) Ex: 192.168.1.100:81
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.