robovac icon indicating copy to clipboard operation
robovac copied to clipboard

X9 adds correctly but doesn't work

Open OmenBoy opened this issue 7 months ago • 10 comments

It shows up as unavailable immediately. I've added the IP and restarted but nothing works. If the X9 is not supported, are there any plans to add support? Thank you.

OmenBoy avatar Dec 02 '23 18:12 OmenBoy

Same problem here, it identifies it correctly, but seems to have some problem in actually fetching the data from device. Screenshots and logs attached, tell me if there is anything I can do more to investigate. Can setups network proxies, etc, not a hassle. @CodeFoodPixels

2023-12-05 14:52:27.532 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration robovac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-12-05 14:52:27.535 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration komfovent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-12-05 14:53:44.984 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:53:45.016 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, None)
2023-12-05 14:53:54.972 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0xa, {'gwId': '{{REDACTED}}', 'devId': '{{REDACTED}}'}, 47283005, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:53:54.983 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0xa, {'dps': {'151': True, '156': True, '158': 'Standard', '159': True, '160': False, '161': 40, '163': 100}}, 47283005, None)
2023-12-05 14:53:54.984 INFO (MainThread) [custom_components.robovac.tuyalocalapi] Received updated state {{REDACTED}} (192.168.2.58:6668): {'151': True, '156': True, '158': 'Standard', '159': True, '160': False, '161': 40, '163': 100}
2023-12-05 14:53:54.988 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:53:54.994 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, None)
2023-12-05 14:54:04.992 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:54:05.006 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, None)
2023-12-05 14:54:14.973 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0xa, {'gwId': '{{REDACTED}}', 'devId': '{{REDACTED}}'}, 47303006, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:54:14.995 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, <Device {{REDACTED}} (192.168.2.58:6668)>)
2023-12-05 14:54:15.027 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0xa, {'dps': {'151': True, '156': True, '158': 'Standard', '159': True, '160': False, '161': 40, '163': 100}}, 47303006, None)
2023-12-05 14:54:15.028 INFO (MainThread) [custom_components.robovac.tuyalocalapi] Received updated state {{REDACTED}} (192.168.2.58:6668): {'151': True, '156': True, '158': 'Standard', '159': True, '160': False, '161': 40, '163': 100}
2023-12-05 14:54:15.032 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Received message from {{REDACTED}} (192.168.2.58:6668): Message(0x9, b'', 0, None)
2023-12-05 14:54:18.185 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from {{REDACTED}} (192.168.2.58:6668)
2023-12-05 14:54:18.191 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 753, in _async_handle_message
    response_data = await self.reader.readuntil(MAGIC_SUFFIX_BYTES)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 637, in readuntil
    raise exceptions.IncompleteReadError(chunk, None)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of undefined expected bytes
2023-12-05 14:54:24.997 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from {{REDACTED}} (192.168.2.58:6668)
image

ProstoSanja avatar Dec 05 '23 13:12 ProstoSanja

same here.

stephanschn avatar Dec 29 '23 15:12 stephanschn

Same here. Only getting the battery status and that is also not working.

htodep avatar Jan 08 '24 08:01 htodep

Same here...

fbricker avatar Feb 06 '24 23:02 fbricker

Same here!

sakbark avatar Mar 16 '24 15:03 sakbark

Same issue with my G32 Pro. However, it seems that the buttons on the vacuum widget still work, so the vacuum can be controlled, but the status is unknown.

This may be due to the vacuum being on a network that does not allow it to talk to the Internet.

infinitytec avatar Mar 17 '24 17:03 infinitytec

Any hope of newer models getting added soon :(

Davewarrington avatar Mar 21 '24 17:03 Davewarrington

As part of the work I'm doing on the better-dps branch, I'm making it so that devices with different commands can be supported. I'd need people to contribute/test the commands for the vacuums though.

CodeFoodPixels avatar Mar 22 '24 00:03 CodeFoodPixels

I’d be happy to help. I have an X9 Pro.

OmenBoy avatar Mar 22 '24 00:03 OmenBoy

I'd also be happy to help with the G32 Pro

infinitytec avatar Mar 22 '24 00:03 infinitytec