Standard Instruction Set

Last Updated on : 2022-01-17 06:09:58download

This topic describes the standard instruction set of bathroom heaters (yb).

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

Code Name Data type Value constraint
heat Heating Boolean {}
switch Switch Boolean {}
light1 Light 1 Boolean {}
light2 Light 2 Boolean {}
temp_set Temperature setting Integer {“unit”:“℃”,“min”:25,“max”:42,“scale”:0,“step”:1}
mode Mode Enum {“range”[“heating_strong”,“heating_low”,“ventilation_strong”,“ventilation_low”,“cold_dry”,“cold_dry_strong”,“cold_dry_low”,“hot_dry”,“hot_dry_strong”,“hot_dry_low”,“off”]}
fan_direction Fan direction Enum {“range”:[“fixed”,“cycle”]}
countdown Countdown Integer {“unit”:“min”,“min”:1,“max”:360,“scale”:0,“step”:1}
swing Swing flap Boolean {}
drying Drying Boolean {}
child_lock Child lock switch Boolean {}
blowing Blowing Boolean {}
ventilation Ventilation Boolean {}
fan_speed_enum Speed Enum {“range”:[“closed”,“low”,“middle”,“high”,“auto”]}
colour_data Colored light Json {}
bright_value Brightness value Integer {“unit”:“”,“min”:10,“max”:1000,“scale”:0,“step”:1}
work_mode Mode Enum {“range”:[“white”,“colour”,“scene”,“music”,“mix_rgbcw”]}
temp_value Temperature value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:0,“step”:1}

Support reporting instructions to the cloud only

Code Name Data type Value constraint
temp_current Current temperature Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
countdown_left Remaining time of countdown Integer {“unit”:“min”,“min”:0,“max”:360,“scale”:0,“step”:1}