Skip to content

Controlling Tuya lights with Arduino Uno and ESP8266

License

Notifications You must be signed in to change notification settings

asdfMaciej/arduino-tuya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Controlling Tuya lights with Arduino Uno and ESP8266

Watch the video

Details

Arduino is responsible for passing the keyboard input into the ESP-01 module (ESP8266 chip). After receiving an alphanumerical character via the serial connection, ESP passes a request to my webserver, which in turn calls the Tuya API based on the code. Arduino flashes a LED depending on the result (green - OK, yellow - website error, red - network error).

A few reasons behind this set-up:

  • Arduino UNO and ESP-01 were the only suitable devices I've had on hand;
  • I've ran into pin count limitations that prevented me from utilizing only the ESP-01;
  • I don't call the API directly from ESP, but rather store the light presets on my server in order to prevent unnecessary firmware flashes.

License

The project is licensed under the Apache License, Version 2.0.

About

Controlling Tuya lights with Arduino Uno and ESP8266

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published