Standard Instruction Set

Last Updated on : 2022-01-17 06:10:26download

This topic describes the standard instruction set of humidifiers (jsq).

Standard instruction set

Note: Only the legacy versions support the instructions marked with an asterisk (*).

Code Name Data type Value constraint
switch Master switch Boolean {}
switch_spray Spraying switch Boolean {}
mode Spraying mode (amount of fog) Enum {“range”:[“large”,“middle”,“small”,“interval”,“continuous”]}
spray_mode Spraying mode (adjustment) Enum {“range”:[“auto”,“health”,“baby”,“sleep”,“humidity”,“work”]}
level Spraying level Enum {“range”:[“level_1”,“level_2”,“level_3”,“level_4”,“level_5”,“level_6”,“level_7”,“level_8”,“level_9”,“level_10”]}
countdown_set Spraying countdown setting Enum {“range”:[“cancel”,“1h”,“2h”,“3h”,“4h”,“5h”,“6h”]}
switch_led Light switch Boolean {}
work_mode Light mode Enum {“range”:[“white”,“colour”,“colourful1”]}
colour_data_hsv HSV setting of colored light Json {}
bright_value Brightness value Integer {“unit”:“”,“min”:0,“max”:255,“scale”:0,“step”:1}
switch_sound Voice switch Boolean {}
temp_set Temperature setting Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
temp_set_f Temperature setting in °F Integer {“unit”:“℉”,“min”:0,“max”:100,“scale”:0,“step”:1}
humidity_set Humidity setting Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
sleep Sleep function Boolean {}
temp_unit_convert Temperature unit switching setting Enum {“range”:[“c”,“f”]}
sterilization Sterilization Boolean {}
*countdown Countdown of spraying Enum {“range”:[“cancel”,“1”,“2”,“3”,“4”,“5”,“6”]}
*colour_data Colored light value Integer {“min”:0,“unit”:“”,“scale”:0,“max”:255,“step”:1}
*bright_value_v2 Brightness value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:0,“step”:1}
*c_f Temperature unit switching Enum {“range”:[“C”,“F”]}
*moodlighting Mood light Enum {“range”:[“1”,“2”,“3”,“4”,“5”]}


Control the color change in the form of hue, saturation, and value (HSV).

  • Hue (h): 0–360
  • Saturation (s): 0–255
  • Value (v): 0–255

Code example: