Weback cloud integration: testers and help required

Not sure if my problem is the same

@Jezza34000: when you fix the code, you might also take a look at this error log showing up every second:

2023-04-04 11:26:09.043 ERROR (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Error during on_message (map_data) (details='MapData')
2023-04-04 11:26:09.052 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) adapt for : {'Voicebox_Source': 'null', 'battery_level': 100, 'chassis_hardware_version': '01', 'clean_time': None, 'cliff_detect': 'enable', 'config_app': 'WeBack', 'connected': 'true', 'device_2_app_proto_info': {'direction_ctl': 'user_topic', 'mapdata_info': 'es_yw_2.0', 'mapdata_src': 's3'}, 'device_2_app_proto_version': '1.1', 'error_info': 'NoError', 'fan_status': 'Normal', 'final_edge': 'on', 'firmware_version': '6.0.8.0422s', 'left_water': -1, 'offset_hours': -1, 'offset_minutes': -1, 'optical_flow': 'on', 'point_num': None, 'robot_x': None, 'robot_y': None, 'upgrade_logic': '1.0', 'uv_lamp': 'unsupport', 'vendor_firmware_version': '5122', 'voice_switch': 'on', 'water_level': 'None', 'working_status': 'Hibernating', 'yugong_software_version': '6.0.8', 'clean_area': 0.0}
2023-04-04 11:26:09.053 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) > Set refreshing to 5s
2023-04-04 11:26:09.053 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS): Calling subscriber (schedule_update_ha_state)
2023-04-04 11:26:09.056 DEBUG (MainThread) [custom_components.weback_vacuum.vacuum] Vacuum: (vacuum mode) fan_speed_list=['Quiet', 'Normal', 'Strong']
2023-04-04 11:26:09.057 DEBUG (MainThread) [custom_components.weback_vacuum.vacuum] Vacuum: available=True
2023-04-04 11:26:09.057 DEBUG (MainThread) [custom_components.weback_vacuum.vacuum] Vacuum: state(from mapping)=idle
2023-04-04 11:26:09.057 DEBUG (MainThread) [custom_components.weback_vacuum.vacuum] Vacuum: battery_icon battery_level=100, charging=False
2023-04-04 11:26:09.057 DEBUG (MainThread) [custom_components.weback_vacuum.vacuum] Vacuum: (vacuum mode) fan_speed=Normal
2023-04-04 11:26:13.371 DEBUG (MainThread) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Refreshing...
2023-04-04 11:26:13.372 DEBUG (MainThread) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) update_status ty-x500-ec-fa-bc-9c-c4-66
2023-04-04 11:26:13.372 DEBUG (MainThread) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Publishing message : {"topic_name": "grit_tech/notify/server_2_device/ty-x500-ec-fa-bc-9c-c4-66", "opt": "sync_thing", "sub_type": "ty-x500", "topic_payload": {"notify_info": "sync_thing", "cmd_timestamp_s": 1680600373}, "thing_name": "ty-x500-ec-fa-bc-9c-c4-66"}
2023-04-04 11:26:13.375 DEBUG (MainThread) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Msg published OK
2023-04-04 11:26:13.930 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Msg received {'notify_info': 'thing_status_update', 'thing_status': {'Voicebox_Source': 'null', 'battery_level': 100, 'chassis_hardware_version': '01', 'clean_time': None, 'cliff_detect': 'enable', 'config_app': 'WeBack', 'connected': 'true', 'device_2_app_proto_info': {'direction_ctl': 'user_topic', 'mapdata_info': 'es_yw_2.0', 'mapdata_src': 's3'}, 'device_2_app_proto_version': '1.1', 'error_info': 'NoError', 'fan_status': 'Normal', 'final_edge': 'on', 'firmware_version': '6.0.8.0422s', 'left_water': -1, 'offset_hours': -1, 'offset_minutes': -1, 'optical_flow': 'on', 'point_num': None, 'robot_x': None, 'robot_y': None, 'upgrade_logic': '1.0', 'uv_lamp': 'unsupport', 'vendor_firmware_version': '5122', 'voice_switch': 'on', 'water_level': 'None', 'working_status': 'Hibernating', 'yugong_software_version': '6.0.8', 'clean_area': 0.0}, 'thing_name': 'ty-x500-ec-fa-bc-9c-c4-66'}
2023-04-04 11:26:13.930 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) adapt for : {'Voicebox_Source': 'null', 'battery_level': 100, 'chassis_hardware_version': '01', 'clean_time': None, 'cliff_detect': 'enable', 'config_app': 'WeBack', 'connected': 'true', 'device_2_app_proto_info': {'direction_ctl': 'user_topic', 'mapdata_info': 'es_yw_2.0', 'mapdata_src': 's3'}, 'device_2_app_proto_version': '1.1', 'error_info': 'NoError', 'fan_status': 'Normal', 'final_edge': 'on', 'firmware_version': '6.0.8.0422s', 'left_water': -1, 'offset_hours': -1, 'offset_minutes': -1, 'optical_flow': 'on', 'point_num': None, 'robot_x': None, 'robot_y': None, 'upgrade_logic': '1.0', 'uv_lamp': 'unsupport', 'vendor_firmware_version': '5122', 'voice_switch': 'on', 'water_level': 'None', 'working_status': 'Hibernating', 'yugong_software_version': '6.0.8', 'clean_area': 0.0}
2023-04-04 11:26:13.930 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) > Set refreshing to 5s
2023-04-04 11:26:13.930 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] No update from cloud
2023-04-04 11:26:13.947 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Msg received {'notify_info': 'map_data', 'map_data': 'eNrt2+1u2lYcwOF7OZ/Z5HdeLqA3EUXISjwNDRJE0Nooyr2PZNDAF3TmHdgSP3pUqbT/Hhts/wJx+hJW7Xp+327bMHsJd8uufZi3m2736OYmGwEDdTtSAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAEABQAUAFAAQAFAARQAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAEABAAUAFABQAFAABQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABQAUABAAQAFABTgXyjeeR1QgKFe/7kCoACDvPrz918KgAIM68o/bsAb5wMK8PXlRw7v/zMFQAEGd/3nP9//ew+AAgzx+j/tgPMBBRhCAbL9VV8cffVXABRgCAU4bcHHTwEoAAowPB+f/z++L+isQAGG1YBsdPiZQAVAAYZ9b8BnARRg2PcGnBUogAKAAgytAb4LgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAKAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAgAKACgAoACAAoACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKACgAIACAAoAKAAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgAIACgAoAKAAgA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}
2023-04-04 11:26:13.947 DEBUG (Thread-2 (run_forever)) [custom_components.weback_vacuum.WebackApi] WebackApi (WSS) Map data received

This is the whole code for one error run. Then it starts all over again one second later…

Thanks!

Fixed, i push correction !

1 Like

Installed! Although… I thought we could add it from the UI?

As for if it works, I’m not sure… both my robots have their batteries depleted… will report soon.

Thanks!!!

Is it possible that you also make the update available to download via the UI in Hacs?
Thanks :slight_smile:

Yes
There is many improvement and I have to check and validate everything is ok before releasing the new version :slightly_smiling_face:

1 Like

Darn… I was so happy… :frowning:

2023-05-10 00:19:33.972 ERROR (Thread-578 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:19:37.073 ERROR (Thread-544 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:38.120 ERROR (Thread-545 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:39.470 ERROR (Thread-579 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:19:42.363 ERROR (Thread-546 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:43.690 ERROR (Thread-547 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:44.989 ERROR (Thread-581 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:19:47.844 ERROR (Thread-548 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:49.197 ERROR (Thread-549 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:50.491 ERROR (Thread-583 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:19:53.387 ERROR (Thread-550 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:54.749 ERROR (Thread-551 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:19:55.990 ERROR (Thread-585 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:19:59.393 ERROR (Thread-553 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:20:00.218 ERROR (Thread-554 (run_forever)) [websocket] Connection to remote host was lost. - goodbye

2023-05-10 00:20:01.511 ERROR (Thread-587 (run_forever)) [websocket] error from callback <bound method WebackWssCtrl.on_message of <custom_components.homeassistant_weback_component-main.VacDevice.VacDevice object at 0x7f65587190>>: ‘working_status’

2023-05-10 00:20:02.756 ERROR (MainThread) [custom_components.unifics.sensor] Unexpected error fetching sensor data: api.err.NoSiteContext

That repeats in a cycle…

Hi !
Please now when you have problem with component, open an issue directly on Github.
And keep in mind to always set you log in “debug” mode before posting.
Thank You :slight_smile:

Willing to share the DPs and also how do you get rooms and floors at HA?

Thanks!

What type of robot vacuum cleaner do you have?I have Abir X8.Do you know if it is possible to flash the firmware with TUYA support?The dealer told me it is not possible.Thank you

Is it possible to get the TUYA firmware and flash the ABIR X8 robot vacuum cleaner ?

Sorry, but… I also have a Abir X8… And it’s Tuya directly… Yours isn’t?

Unfortunately mine uses Weback and not Tuya.The dealer wrote to me that it is not available for the European market with Tuya.I don’t understand how this is possible.

Hi, sorry for being late
Current situation is that I haven’t modified the setup after initial adding, but here is my mapping, hope it gets things moving for you


Just revisited setup. Changed fan speed list values to all lower case and fan speed selector started working

Hello, have you been able to correctly integrate the S15 netbot? Thank you!!

In case the integration still works for someone, here’s a fix that could help with finding maps for some vacuums: Fix map for RobotJet X-Style by dulek · Pull Request #28 · Jezza34000/homeassistant_weback_component · GitHub

I might need to test it again tomorrow, but you’ll probably get the idea there.

Fix needed a fix, but it’s merged and released now.

1 Like

Hello, I have tried to integrate my Tesvor S7 PRO AES robot vacuum cleaner, but it is impossible for me to connect.
Log messages:
2024-04-17 11:07:15.572 INFO (MainThread) [custom_components.weback_vacuum] Creating new Weback Vacuum Robot component

2024-04-17 11:07:15.573 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi init

2024-04-17 11:07:15.574 DEBUG (MainThread) [custom_components.weback_vacuum] Weback vacuum robots: login started

2024-04-17 11:07:15.578 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi has no or invalid cached creds, renew it…

2024-04-17 11:07:15.578 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] Send HTTP request Url=https://user.grit-cloud.com/prod/oauth Params={‘json’: {‘payload’: {‘opt’: ‘login’, ‘pwd’: ‘d11d871f93620c0af2f9bb0bc6348857’}, ‘header’: {‘language’: ‘en’, ‘app_name’: ‘Tesvor’, ‘calling_code’: ‘0034’, ‘api_version’: ‘1.0’, ‘account’: ‘[email protected]’, ‘client_id’: ‘yugong_app’}}}

2024-04-17 11:07:16.312 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi : Send HTTP OK, return=200

2024-04-17 11:07:16.313 DEBUG (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi : HTTP data received = {‘msg’: ‘UserNotExist’, ‘code’: 0, ‘data’: {}}

2024-04-17 11:07:16.318 ERROR (MainThread) [custom_components.weback_vacuum.webackapi] WebackApi login failed, user does not exist

2024-04-17 11:07:16.319 ERROR (MainThread) [custom_components.weback_vacuum] Weback component was unable to login. Failed to setup

2024-04-17 11:07:16.320 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration ‘weback_vacuum’: Integration failed to initialize.

Configuration:
weback_vacuum:
username: Vi********[email protected]
password: **********
region: 34
application: Tesvor

If anyone can help me I will be very grateful.
All the best