this service call is working for me:
Clean area command
service: vacuum.send_command
target:
entity_id: vacuum.18_2
data:
command: clean_V2
params:
act: start
content:
type: freeClean
value: 1,6
service: vacuum.send_command
target:
entity_id: vacuum.18_2
data:
command: clean_V2
params:
act: start
content:
type: freeClean
value: 0,6
count: 2
act: start/stop/pause/resume
type: auto/freeClean/spot_area、entrust
auto:边扫边拖
entrust:AI Intelligent
service: vacuum.send_command
target:
entity_id: vacuum.18_2
data:
command: getCleanInfo_V2
I just bought a Ecovacs Deebot X2 Omni on the Amazon Prime day. Most items are working with HA (including the map) except the following commands. They all use clean_v2. I managed to capture the commands using mitmproxy.
`Start - no specific rooms
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"start","content":{"type":"auto"}}},"header":{"channel":"iOS","reqid":"mFzbaJ","ts":"1721578377422","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Pause
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"pause"}},"header":{"channel":"iOS","reqid":"XJJVQC","ts":"1721501740569","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Resume
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"resume"}},"header":{"channel":"iOS","reqid":"WkPeTw","ts":"1721683540650","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Stop
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"stop"}},"header":{"channel":"iOS","reqid":"STGBNz","ts":"1721578535395","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Clean laundry room only (room number 6)
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"start","content":{"type":"freeClean","value":"1,6"}}},"header":{"channel":"iOS","reqid":"FWIpXR","ts":"1721578761142","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Clean two rooms (14 & 11)
[url]I just bought a Ecovacs Deebot X2 Omni on the Amazon Prime day. Most items are working with HA (including the map) except the following commands. They all use clean_v2. I managed to capture the commands using mitmproxy.
`Start - no specific rooms
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"start","content":{"type":"auto"}}},"header":{"channel":"iOS","reqid":"mFzbaJ","ts":"1721578377422","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Pause
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"pause"}},"header":{"channel":"iOS","reqid":"XJJVQC","ts":"1721501740569","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Resume
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"resume"}},"header":{"channel":"iOS","reqid":"WkPeTw","ts":"1721683540650","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Stop
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"stop"}},"header":{"channel":"iOS","reqid":"STGBNz","ts":"1721578535395","ver":"0.0.50","m":"request","pri":1,"tzm":-420}}
Clean laundry room only (room number 6)
POST https://api-ngiot.dc-na.ww.ecouser.net/api/iot/endpoint/control?si=xxx&apn=clean_V2&fmt=j HTTP/2.0
{"body":{"data":{"act":"start","content":{"type":"freeClean","value":"1,6"}}},"header":{"channel":"iOS","reqid":"FWIpXR","ts":"1721578761142"