Skip to content

Ecovacs integration: getCleanPreference logs ERROR/WARNING for DEEBOT T50 MAX PRO OMNI (code 20005) #166455

@unicornislandunicornisland

Description

The problem

When connecting DEEBOT T50 MAX PRO OMNI, the Ecovacs integration logs an ERROR and a WARNING on every connection due to unhandled getCleanPreference response with code: 20005.

The robot returns ret: ok but body.code: 20005 (call setting service empty), which the underlying deebot_client library does not handle gracefully.

Related upstream issue: DeebotUniverse/client.py#1483

Environment

  • Home Assistant version: latest
  • Ecovacs integration (built-in)
  • Model: DEEBOT T50 MAX PRO OMNI
  • Device class: c8rj4y
  • Firmware: 1.62.0
  • Hardware: 0.1.1

Logs

Logger: deebot_client.message
Source: runner.py:289
Handler for message getCleanPreference: {'code': 20005, 'msg': 'call setting service empty'} returned no response. This is a bug should not happen. Please report it.
Could not parse getCleanPreference: {'body': {'code': 20005, 'msg': 'call setting service empty'}, 'header': {'fwVer': '1.62.0', 'hwVer': '0.1.1', 'pri': 1, 'ts': '1774387480612', 'tzm': 480, 'ver': '0.0.1', 'wkVer': '0.1.54'}}

Logger: deebot_client.command
Source: runner.py:289
Could not parse getCleanPreference for c8rj4y: {'ret': 'ok', 'resp': {'body': {'code': 20005, 'msg': 'call setting service empty'}, 'header': {'fwVer': '1.62.0', 'hwVer': '0.1.1', 'pri': 1, 'ts': '1774387480612', 'tzm': 480, 'ver': '0.0.1', 'wkVer': '0.1.54'}}, 'id': '2JlN', 'payloadType': 'j'}

Expected behavior

The integration should handle body.code: 20005 gracefully and not produce ERROR/WARNING log entries. Once the upstream deebot_client fix lands, please bump the dependency so HA users benefit from it.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions