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 : 2022-01-17 06:41:58download

This topic describes the standard status set of pet feeders (cwwsq).

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

Code Name Data type Data type
switch Switch Boolean {}
light Light Boolean {}
export_calibrate Calibration of output grain Boolean {}
weight_calibrate Calibration of remaining grain Boolean {}
factory_reset Restore to factory defaults Boolean {}
quick_feed One-click feeding Boolean {}
slow_feed Slow feeding Boolean {}
manual_feed Manual feeding Integer {“unit”:“”,“min”:1,“max”:12,“scale”:0,“step”:1}
voice_times Voice prompt times Integer {“unit”:“”,“min”:0,“max”:10,“scale”:0,“step”:1}
unit Unit conversion Enum {“range”:[“cup”,“oz”,“grid”]}
meal_plan Feeding plan Raw {}

Support reporting instructions to the cloud only

Code Name Data type Value constraint
charge_state Charging status Boolean {}
feed_report Feeding result report Integer {“unit”:“”,“min”:0,“max”:12,“scale”:0,“step”:1}
surplus_grain Remaining grain in the bucket Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
weight Weight of remaining grain Integer {“unit”:“g”,“min”:0,“max”:10000,“scale”:0,“step”:1}
battery_percentage Battery capacity Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
feed_state Feeding status Enum {“range”:[“standby”,“feeding”,“done”]}
export_state Calibration status of output grain Enum {“range”:[“true”,“false”]}
cover_state Status of feeding cover Enum {“range”:[“on”,“off”]}