Contact Us
Log In

Tuya IoT Development Platform


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”]}