imou_life icon indicating copy to clipboard operation
imou_life copied to clipboard

Vacuum Cleaner config flow error

Open 0gordonfreeman opened this issue 1 year ago • 3 comments

I tried to integrate my IMOU vacuum cleaner (RV-L11) but in the config flow after entering the cloud secrets this error stops the setup:

Logger: custom_components.imou_life
Source: custom_components/imou_life/config_flow.py:82
Integration: Imou Life ([documentation](https://github.com/user2684/imou_life), [issues](https://github.com/user2684/imou_life/issues))
First occurred: 11:13:34 (2 occurrences)
Last logged: 11:16:36

InvalidResponse: missing parameter or error parsing in {'expandChanNum': '', 'productId': 'HWtbmQvU', 'trackFollowStatus': '', 'httpPort': '80', 'privatePort': '', 'rtspPort': '554', 'deviceId': <REMOVED>, 'version': '0.1.2', 'aplist': [], 'accessType': 'PaaS', 'p2pPort': '554', 'port': '37777', 'encryptMode': 0, 'tlsPrivatePort': '37778', 'name': 'Paulchen', 'deviceModel': 'RV-L11', 'ability': '', 'brand': 'easy4Ip', 'playToken': <REMOVED>, 'shareStatus': 'owner', 'status': 'online'} 

Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/imouapi/device.py", 
line 189, in async_initialize self._catalog = device_data["catalog"] ~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'catalog' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/imou_life/config_flow.py", 
line 130, in async_step_discover await self._discover_service.async_discover_devices() File "/usr/local/lib/python3.11/site-packages/imouapi/device.py", 
line 641, in async_discover_devices await device.async_initialize() File "/usr/local/lib/python3.11/site-packages/imouapi/device.py", 
line 360, in async_initialize raise InvalidResponse(f" missing parameter or error parsing in {device_data}") from exception imouapi.exceptions.InvalidResponse: missing parameter or error parsing in {'expandChanNum': '', 'productId': 'HWtbmQvU', 'trackFollowStatus': '', 'httpPort': '80', 'privatePort': '', 'rtspPort': '554', 'deviceId': <REMOVED>, 'version': '0.1.2', 'aplist': [], 'accessType': 'PaaS', 'p2pPort': '554', 'port': '37777', 'encryptMode': 0, 'tlsPrivatePort': '37778', 'name': 'Paulchen', 'deviceModel': 'RV-L11', 'ability': '', 'brand': 'easy4Ip', 'playToken':<REMOVED>, 'shareStatus': 'owner', 'status': 'online'}

Home Assistant 2023.9.2 Supervisor 2023.09.2 Operating System 10.5

Is it possible to support this device?

0gordonfreeman avatar Sep 15 '23 09:09 0gordonfreeman

Hi, unfortunately vacuum cleaners works with a completely set of undocumented API so until there will be documentation on how to interact with them there will be no way to support these devices :-/

user2684 avatar Sep 24 '23 08:09 user2684

Did you manage to figure it out? There has to be a way, cause alexa is able to start/stop the vacuum aswell

Judufu avatar Jul 12 '24 12:07 Judufu

Nope, unfortunately this https://github.com/user2684/imou_life/wiki/I-would-like-to-have-support-for-this-new-model still applies :-(

user2684 avatar Jul 13 '24 08:07 user2684

Closing this for now until there will be a documented API available from Imou for the implementation

user2684 avatar Sep 28 '24 08:09 user2684