English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development

Tuya provides multiple mobile app development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.

Documentation

layoutIndex

Standard Status Set

Last Updated on : 2021-11-09 08:13:37download

This topic describes the standard status set of pet fountains (cwysj).

Support reporting instructions to the cloud and sending instructions to the device

Code Name Data type Value constraint
switch Switch Boolean {}
pump_reset Water pump resetting Boolean {}
filter_reset Filter cartridge resetting Boolean {}
water_reset Water consumption resetting Boolean {}
uv UV sterilization Boolean {}
uv_runtime UV runtime Integer {“unit”:“s”,“min”:0,“max”:10800,“scale”:0,“step”:1}
bright_value Indicator light brightness Integer {“unit”:“”,“min”:0,“max”:4,“scale”:0,“step”:1}

Support reporting instructions to the cloud only

Code Name Data type Value constraint
water_level Water level Enum {“range”:[“level_1”,“level_2”,“level_3”,“level_4”]}
tds_out TDS value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:0,“step”:1}
pump_time Water pump duration Integer {“unit”:“min”,“min”:0,“max”:86400,“scale”:0,“step”:1}
filter_life Filter duration Integer {“unit”:“min”,“min”:0,“max”:43200,“scale”:0,“step”:1}
water_time Water usage duration Integer {“unit”:“min”,“min”:0,“max”:7200,“scale”:0,“step”:1}