Set Environmental Noise Volume On/Off and Threshold

Menu: syncV3Noise

Flutter Example:

/// Set Environmental Noise Volume On/Off and Threshold Event
setV3Noise(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_v3_noise),

/// Set Environmental Noise Volume On/Off and Threshold
libManager.send(evt: CmdEvtType.setV3Noise, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
mode int All-day environmental noise volume switch
1: On
0: Off
start_hour int Start time (hour)
start_minute int Start time (minute)
end_hour int End time (hour)
end_minute int End time (minute)
high_noise_on_off int Threshold switch
1: On
0: Off
high_noise_value int Threshold value

Example:

{
  "mode": 1,
  "start_hour": 15,
  "start_minute": 0,
  "end_hour": 20,
  "end_minute": 0,
  "high_noise_on_off": 1,
  "high_noise_value": 100
}

JSON Fields Received by the App:

Field Name Field Type Field Description
is_success int 0 for failure, 1 for success

Example:

{
  "is_success": 1
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""