Set Hand Washing Reminder

Menu: setHandWashReminder

Flutter Example:

/// Set Hand Washing Reminder Event
setHandWashingReminder(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_set_hand_washing_reminder),

/// Set Hand Washing Reminder
libManager.send(evt: CmdEvtType.setHandWashingReminder, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
on_off int 0: Off
1: On
Default is off
start_hour int Start hour of the reminder
start_minute int Start minute of the reminder
end_hour int End hour of the reminder
end_minute int End minute of the reminder
repeat int Repeat
bit0: Invalid
bit1-7: Monday to Sunday
interval int Reminder interval in minutes
Default is 60 minutes

Example:

{
  "on_off": 0,
  "start_hour": 0,
  "start_minute": 0,
  "end_hour": 0,
  "end_minute": 0,
  "repeat": 0,
  "interval": 0
}

JSON Fields Received by the App:

Field Name Field Type Field Description
is_success int 0: Failed
1: 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 ""