- Visit the iot platform
- Create a Project
- Add Authorization
Standalone
- install modules with
npm install - create a
.envfile (see.env.example) - run tests with
npm test
- link, rename, test & unlink devices
- implement interactive test script
- add support for CommonJS
- implement unit tests
- implement classes for other IoT devices (climate, fan, lock, etc.)
- Device
onlineheartbeat timeout is ~5 minutes, so even though online status is registered within ~30 seconds, officialofflinestatus is registered within the heartbeat timeout - status function values (
switch_*,colour_data_*, etc.) have their values updated instantaniously, so they can be used to determine a device's responsiveness - Most light bulbs (
dj) consume ~30 Watts inwhitemode, and <~30 Watts incolourmode - Power sockets (
cz) report down to at least ~32 Watts as measurable power consumption
Advanced low-level device communication. Utilizes tuya-connector-nodejs.
See also