Set Night-time Temperature Switch

Menu: setTemperatureSwitchSupport

Flutter Example:

/// Set Night-time Temperature Switch Event Code
setTemperatureSwitch(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_temperature_switch),

/// Set Night-time Temperature Switch
libManager.send(evt: CmdEvtType.setTemperatureSwitch, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
mode int Mode:
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
unit int Temperature unit setting:
1 :Celsius
2 :Fahrenheit

Example:

{
  "mode": 1,
  "start_hour": 19,
  "start_minute": 0,
  "end_hour": 23,
  "end_minute": 0,
  "unit": 1
}

JSON Fields Received by the App:

Field Name Field Type Field Description
is_success int 0 for failed
1 for success

Example:

{
  "is_success": 0
}
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 ""