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 07:32:14download

This topic describes the standard status set of contact sensors (mcs).

Support reporting instructions to the cloud only

Code Name Data type Value constraint
doorcontact_state Status of door window sensor Boolean {}
temper_alarm Tamper alarm Boolean {}
battery_percentage Battery capacity percentage Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
battery_value Battery capacity value Integer {“unit”:“”,“min”:0,“max”:30000,“scale”:0,“step”:1}
battery_state Battery capacity status Enum {“range”:[“low”,“middle”,“high”]}