A CLI for Tuya devices.
npm i @tuyapi/cli -g
> tuya-cli help
Usage: tuya-cli [options] [command]
Options:
-h, --help output usage information
Commands:
link [options] link a new device (for advanced users only)
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 (recommended for new users)
help output usage information
- After cloning, run
npm i
. - To run tests, run
npm test
.