Skip to content

agvago/docker-tuya-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Docker tuya-cli Usage Guide

This guide will help you use tuya-cli to obtain device codes for use with local-tuya.

Build the Docker Image

  1. Execute the following command in the same directory where your Dockerfile is located:

    docker build -t tuya-cli .

Run the Container

  1. Execute the following command to start the container:

    docker run -it --name tuya-cli tuya-cli

Use tuya-cli Wizard to Obtain the Local Key

  1. Start the tuya-cli wizard:

    Inside the Docker container, execute:

    tuya-cli wizard
  2. Go to Tuya IoT Platform to get your authorization keys or create a new API if you don't have one.

  3. Follow the prompts, and you will obtain the codes.


By following these steps, you should be able to obtain the necessary device codes for local-tuya. If you encounter any issues, refer to the tuya-cli documentation or seek assistance from the community.

About

This repository is a quick helper to run tuya-cli with a docker instance and quickly get your devices keys

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors