This repository contains a small Node.js CLI that logs into the Smarter Pool Tuya OEM cloud and prints read-only device information useful for Home Assistant local Tuya integrations.
- Never commit
.env, account credentials, TuyalocalKey, session tokens, API secrets, device dumps, or unredacted command output. - Keep the tool read-only. Do not add device control/write commands unless they are explicitly scoped, documented, and protected.
- Default CLI output must stay redacted. Secrets may only be printed when the user passes an explicit flag such as
--show-secrets. - Prefer small, dependency-light code. This tool should remain easy to audit.
- Run
npm testbefore committing. - Use
node --testfor unit tests. - Keep Node.js support at
>=20. - Manual changes should use focused commits with a clear message.