General - Cleaning Switch
Function Introduction
Controls whether the device starts or stops the cleaning operation. To start the robot vacuum's cleaning operation, it must be used in conjunction with the working mode (mode) DP point.
DP Protocol
Device Interaction Process
sequenceDiagram
rect rgb(191, 223, 255)
note right of Panel: Start whole-house cleaning.
Panel->>Device: Notify device to switch to whole-house cleaning mode/mode: smart
Panel->>Device: Start device/switch_go: true
Device-->>Panel: Respond to panel mode DP point update/mode: smart
Device-->>Panel: Respond to panel switch_go DP point update/switch_go: true
Device-->>Panel: Report status DP to update machine status
Device-->>Panel: Periodically report map data
Device-->>Panel: Periodically report path data
end
rect rgb(200, 150, 255)
note right of Panel: Stop cleaning task.
Panel->>Device: Stop device/switch_go: false
Device-->>Panel: Respond to panel switch_go DP point update/switch_go: false
Device-->>Panel: Report status DP to update machine status
Device-->>Panel: After each task ends, reset the cleaning mode to whole-house mode/mode: smart
endNotes
When selecting a non-whole-house cleaning mode, the selected map data must be sent to the device through the command_trans DP point before issuing the mode DP point. The protocols for zone cleaning, spot cleaning, and section cleaning are different. For specific protocol formats, please contact your project manager or submit a support ticket for confirmation.