Weback cloud integration: testers and help required

Cool :slight_smile: I have also robot vacuum cleaner. I can test it. I will re-register with my number.

re-registered with phonenumber. Everything works! E-mail did not work.

Got it. I will fix e-mail login this weekend, stay tuned :slight_smile:

Thank you for testing :slight_smile:
You can wait for my email registration fix if you want to (will do it this weekend)

1 Like

Home Assistant 0.108.3

VMware installation

2020-04-16 14:36:34 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.weback. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 391, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/custom_components/weback/__init__.py", line 8, in <module>
    from weback_unofficial.client import WebackApi
ModuleNotFoundError: No module named 'weback_unofficial'

It looks like python3 is not capable to install/find the weback_unofficial package.

Reboot home assistant server (via supervisor, see screenshot) did the trick for me
image

Working now :slight_smile: With my Concept 3000 vacuum cleaner. Great job!

Do you know how this Vacuum.locate works and if it can be used in flat map to locate?

Nice to hear that :slight_smile:
AFAIK Vacuum.locate is a service which should play sound on your vacuum cleaner for you to find it in your house. Since I didn’t find it in WeBack app, this feature is not available for now. Maybe I’ll emulate it in the future by turning the robot on and off right away.

Great solutions. Tested it on my x500 works fine. Now I need to create a nice Lovelace card with all the options and data.

I was looking for the same thing. Just installed: https://github.com/thomasloven/lovelace-more-info-card

@Remco_Timmer @kwaczek @splnut
Could you please capture as many raw states as you can for me? You can check them in the bottom of the vacuum card. I need them to create aliases between Home Assistant states and WeBack ones. For example, turn robot in auto mode and write down raw state. Then put it back on charge, wait for it to finish etc.
Thank you

Also found that if you use your email as login, you should pass it like [email protected] in settings. I will add country_code parameter in next update, be ready to change your YAML config.

I will do that in the morning. My wife is gonna punch me, if I start turning the vacuum on and off in the middle of the night :yum:

Hibernating
Standby
AutoClean
SpotClean
BackCharging
PileCharging

If I capture anymore, I’ll update this post.

1 Like

All the states I could find. Tried to reconstruct the situation where the vacuum was stuck. I had a ‘collision’ error a while back. Didn’t work though.

State in the app vs. raw state

Charging Finished - ChargeDone
Smart Clean       - AutoClean
Spot Clean        - SpotClean
Edge Clean        - EdgeClean
Standby           - Standby
Smart Clean(mop)  - AutoClean
Back charging     - BackCharging
Charging(desktop) - PileCharging
Charging(direct)  - DirCharging
2 Likes

I was able to log in like this:
weback:
username: +[country code][email protected]
password: [password]

You can find your country code here.

1 Like

Working automation to let the vacuum always vacuum with high fan speed:

- alias: Automatic set fan high
  trigger:
  - entity_id: vacuum.livingroom
    from: 'off'
    platform: state
  condition: []
  action:
  - entity_id: vacuum.livingroom
    data:
      command: anything 
      params: 
        fan_status: Strong
    service: vacuum.send_command

I confirm it is working on a Haier XShuai.
Raw states and status are showing (takes some seconds to update), but the time bar shows as turned off, it displays the correct information after a while and then turned off again! Shouldn’t this be linked to the status?

Hello I am having trouble getting this working, I am very new to hass but just trying to get all my devices added.

When I add the custom repository I get these errors in the system log;

20-05-06 12:16:38 INFO (MainThread) [supervisor.store.git] Clone add-on https://github.com/opravdin/weback-hass repository
20-05-06 12:16:40 ERROR (MainThread) [supervisor.utils.json] Can't read json from /data/addons/git/900dd207/repository.json: [Errno 2] No such file or directory: '/data/addons/git/900dd207/repository.json'
20-05-06 12:16:40 WARNING (MainThread) [supervisor.store.data] Can't read repository information from /data/addons/git/900dd207/repository.json
20-05-06 12:16:40 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove

So I did a bit of googling and didn’t really get anywhere so I cloned your project to my own and renamed the hacs.json to repository.json which then allowed me to successfully add it;

20-05-06 12:24:09 INFO (MainThread) [supervisor.store.git] Clone add-on https://github.com/pops106/weback-hass-test repository
20-05-06 12:24:10 INFO (MainThread) [supervisor.store] Load add-ons from store: 65 all - 0 new - 0 remove

But I nothing happens, no new card or anything and if I add weback: to the configuration.yaml and test config file it errors.

Is this something to do with running it on Ubuntu so Home Assistant Supervised ?

Cheers

Did you get things going? I"m seeing the same on HASSIO 109.6

home-assistant.log:2020-05-19 10:55:21 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.weback. Make sure all dependencies are installed
home-assistant.log:  File "/config/custom_components/weback/__init__.py", line 8, in <module>
home-assistant.log:    from weback_unofficial.client import WebackApi
home-assistant.log:ModuleNotFoundError: No module named 'weback_unofficial'
home-assistant.log:2020-05-19 10:55:22 ERROR (MainThread) [homeassistant.components.hassio] Component error: weback - Integration 'weback' not found.

Tried downloading weback_unofficial, as there’s no PIP on HASSIO, and adding to custom_components butn o joy.