2024年11月21日星期四 下午5:11:30

DEEBOT X5 PRO to HA via ecovacs integration

6 个月 前
#34238 引用
机器人1:科沃斯扫地机器人X5 pro接入HA
2024.05,买的机器人X5 pro上下水版,白色,因为黑色有灰显脏。

价格麻,5000到5600不等。Tb最不靠普,订单直接给我7600.

这个与HA的版本号有关糸
一丶在2024.2之前,用deebot integration 图2

old 原作者的
github.com/DeebotUniverse/Deebot-4-Home-Assistant

二丶从2024.2以后,用官方自带的ecovacs integration

new 官方已经收录了,并且改了名
www.home-assistant.io/integrations/ecovacs

Ecovacs 是 要自己写ui,在configuration.yaml里面配置。

其实就是同一个。

三、2024.5.x以后可以直接在ui进行配置


https://deebot.readthedocs.io/integrations/home-assistant/services/

https://deebot.readthedocs.io/home/projects/

Deebot for Home Assistant (Home Assistant)

Client Library for Deebot devices (Vacuums)
https://github.com/DeebotUniverse/client.py
0
5 个月 前
#39287 引用
DEEBOT X5 PRO  to HA via ecovacs integration

官方集成

run ok






https://bbs.hassbian.com/forum.php?mod=redirect&goto=findpost&ptid=23283&pid=608159
0
2 个月 前
#46518 引用
Ecovacs - cloud

I set up the lock as follows:
Added to ecovacs app
Installed  ecovacs integration
Added ecovacs integration
Enabled login  in ecovacs integration
Added to HA

Ecovacs Home app > DEEBOT X5 PRO > Home assistant > Install ecovacs integration

logs
https://github.com/mslycn/homeassistant20221103/commit/f6967bde55f087baa3d3daab3123c4ccfc60c30f
0
2 个月 前
#46523 引用
login
  
  Ecovacs app email: [your iphone]
    Ecovacs app password: [your password]
    your two-letter country code: cn
    your two-letter continent code: na
    Config saved.
0
2 个月 前
#46524 引用
1
0
5 天 前
#50766 引用
image.18*_map_2

ccess_token: 7611ffbec78f4dabf8e9c92740191f6d3bf5f45c630d000ec524cf973cd9f691

map_name: 地图 1
entity_picture: /api/image_proxy/image.18_map_2?token=7611ffbec78f4dabf8e9c92740191f6d3bf5f45c630d000ec524cf973cd9f691

friendly_name: 18 Map
0
5 天 前
#50768 引用
this service call is not working for me:
action: vacuum.send_command
target:
  entity_id: vacuum.18_2
data:
  command: spot_area
  params:
    rooms: 1
    cleanings: 2



Logger: deebot_client.commands.json.common
Source: components/ecovacs/vacuum.py:392
First occurred: 21:59:35 (4 occurrences)
Last logged: 22:01:11

Command "clean" was not successfully. body={'code': 20003, 'msg': 'rcp not support'}
0
5 天 前
#50769 引用
I have an Ecovacs Deebot X5 pro. When I try to start it, it won't work. In the logs, I see the error message:
 'Command "clean" was not successful. Body={'code': 20003, 'msg': 'rcp not support'}.'
0
5 天 前
#50770 引用
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"
0
5 天 前
#50771 引用
service: vacuum.send_command
target:
  entity_id: vacuum.18_2
data:
  command: clean_V2
  params:
    act: stop
    content:
      type: freeClean
      value: 1,6  
0