All the code for Getting Started With Tuya API for IoT Development which is posted in my blog.
You can read the post here: https://note.hadna.space/getting-started-with-tuya-api-for-iot-development
The post is published under IoT Development series which you can read here: https://note.hadna.space/series/iot
This project requires two additional Python packages: dotenv
and tuya-iot-python-sdk
.
- Install
dotenv
$ pip install python-dotenv
- Install
tuya-iot-python-sdk
$ pip install tuya-iot-python-sdk
To run this project, follow these instructions:
-
Clone this repository
-
Install the required packages
-
Run the
app.py
ormonitoring.py
using
$ python app.py
or
$ python monitoring.py
Register your Tuya developer account here: https://developer.tuya.com and set the required configurations.
Have fun!