Skip to content

TuyaAPI/cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 10, 2020 19:55
lib
December 30, 2021 13:20
December 30, 2021 13:20
August 4, 2018 19:19
June 27, 2018 02:17
April 16, 2021 12:02
January 9, 2022 12:29
January 9, 2022 12:29
September 30, 2019 20:29

tuyapi/cli Build Status XO code style

A CLI for Tuya devices.

Installation

npm i @tuyapi/cli -g

Usage

> tuya-cli help

  Usage: tuya-cli [options] [command]

  Options:
    -V, --version       output the version number
    -h, --help          display help for command

  Commands:
    cloud [options]
    link [options]      link a new device
    get [options]       get a property on a device
    set [options]       set a property on a device
    list                list all locally saved devices
    list-app [options]  list devices from Tuya Smart app (deprecated)
    mock [options]      mock a Tuya device for local testing
    wizard [options]    list devices from an offical app
    help                output usage information

Development

  1. After cloning, run npm i.
  2. To run tests, run npm test.