A CLI for Tuya devices.
npm i @tuyapi/cli -g
> tuyapi-cli --help
Usage: tuya-cli [options] [command]
Options:
-h, --help output usage information
Commands:
link [options] link a new device
link-wizard [options] interactively link a new device (recommended for new users)
get [options] get a property on a device
set [options] set a property on a device
list list all saved devices and API keys
help output usage information
- After cloning, run
npm i
. - To run tests, run
npm test
.