https://github.com/tuyaapi/cli
🔧 A CLI for Tuya devices
https://github.com/tuyaapi/cli
cli iot nodejs tuya
Last synced: 17 days ago
JSON representation
🔧 A CLI for Tuya devices
- Host: GitHub
- URL: https://github.com/tuyaapi/cli
- Owner: TuyaAPI
- License: mit
- Created: 2018-06-27T02:17:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T10:39:22.000Z (about 2 months ago)
- Last Synced: 2025-04-07T13:01:48.373Z (24 days ago)
- Topics: cli, iot, nodejs, tuya
- Language: JavaScript
- Homepage:
- Size: 921 KB
- Stars: 273
- Watchers: 5
- Forks: 48
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
tuyapi/cli [](https://travis-ci.org/TuyaAPI/cli) [](https://github.com/xojs/xo)
===========================A CLI for Tuya devices.
## Installation
`npm i @tuyapi/cli -g`## Usage
```shell
> tuya-cli helpUsage: tuya-cli [options] [command]
Options:
-V, --version output the version number
-h, --help display help for commandCommands:
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`.