JohNan/homeassistant-wellbeing

Integration fails after login

hSATAC opened this issue · 5 comments

Hi, I tried this integration when it was like v0.0.2 and it failed. Then I see #10 is fixed so I gave it another try(v0.0.6) but still in vein. I guess we have different issues.

Here is my debug log

2021-05-31 21:46:48 INFO (MainThread) [custom_components.wellbeing] Fetched data: [{'applianceName': 'CATZPI92', 'created': '2020-04-22T09:00:49.3906695Z', 'id': 246348, 'modelName': 'PUREi9', 'timeZoneStandardName': 'Asia/Taipei', 'pncId': '900277489943004361100106', 'domainId': 220194}, {'applianceName': 'CATZPA91', 'created': '2021-03-10T10:18:42.4117415Z', 'id': 674381, 'modelName': 'PUREA9', 'timeZoneStandardName': 'Asia/Taipei', 'pncId': '900943148051000585087076', 'domainId': 220194}]
2021-05-31 21:46:49 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0xb2e0c350> checked out from pool
2021-05-31 21:46:49 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0xb2e0c350> being returned to pool
2021-05-31 21:46:49 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0xb2e0c350> rollback-on-return
2021-05-31 21:46:49 INFO (MainThread) [custom_components.wellbeing] Fetched data: {'pnc': '900277489', 'manufacturingDateCode': '943', 'serialNumber': '94300436', 'brand': 'ELECTROLUX', 'device': 'ROBOTIC_VACUUM_CLEANER', 'model': 'i92', 'variant': 'M1', 'colour': 'SPACETEAL', 'market': 'TAIWAN'}
2021-05-31 21:46:49 INFO (MainThread) [custom_components.wellbeing] CATZPI92: {'pncId': '900277489943004361100106', 'applianceData': {'applianceName': 'CATZPI92', 'created': '0001-01-01T00:00:00', 'modelName': 'PUREi9', 'pncId': '900277489943004361100106'}, 'twin': {'deviceId': '900277489943004361100106', 'properties': {'desired': {'applianceName': 'CATZPI92', 'firmwareVersion': '42.18', 'mute': False, 'tasks': {'5': {'enabled': False, 'start': {'weekDays': ['saturday'], 'time': '11:00:00'}}, '6': {'enabled': False, 'start': {'weekDays': ['sunday'], 'time': '11:00:00'}}, '7': {'enabled': True, 'start': {'weekDays': ['monday', 'tuesday', 'wednesday', 'thursday', 'friday'], 'time': '14:00:00', 'properties': {'zones': [{'powerMode': 2}]}}}}}, 'reported': {'availableLanguages': ['deu', 'eng', 'fra', 'pol', 'spa', 'kor', 'zht', 'zhs', 'jpn', 'ces', 'ita', 'rus'], 'capabilities': {'CustomPlay': {}, 'FreezeMapOnDemand': {}, 'InteractiveMap': {}, 'MultipleScheduledCleaningsPerDay': {}, 'PowerLevels': {}, 'PowerZones': {}}, 'batteryStatus': 6, 'robotStatus': 10, 'messageList': {'messages': []}, 'dustbinStatus': 'full', 'platform': '1.01', 'applianceName': 'CATZPI92', 'firmwareVersion': '42.18', 'language': 'eng', 'mute': False, 'powerMode': 2, 'tasks': {'5': {'enabled': False, 'start': {'weekDays': ['saturday'], 'time': '11:00:00'}}, '6': {'enabled': False, 'start': {'weekDays': ['sunday'], 'time': '11:00:00'}}, '7': {'enabled': True, 'start': {'weekDays': ['monday', 'tuesday', 'wednesday', 'thursday', 'friday'], 'time': '14:00:00', 'properties': {'zones': [{'powerMode': 2}]}}}}}}, 'status': 'enabled', 'connectionState': 'Connected'}, 'telemetry': {}}
2021-05-31 21:46:49 DEBUG (MainThread) [custom_components.wellbeing] Finished fetching wellbeing data in 0.791 seconds
2021-05-31 21:46:49 WARNING (MainThread) [homeassistant.config_entries] Config entry 'sevencat@gmail.com' for wellbeing integration not ready yet; Retrying in background

In my wellbeing account, I have another vacuum robot device beside my A9. Not sure if this is what causing issues...

Hi.

You have a model that is currently not supported and that's probably why it's not working for you.

With the logs you have provided I hope I can add support for it.

Here's a thread in the forum regarding the Pure A9i vacuum cleaner.

https://community.home-assistant.io/t/integrating-eectrolux-pure-i9-robotic-vacuum/78648/19

Thanks for the info!

Is it possible to filter out the unsupported devices? As you can see I have an A9 and an PI9.2 in my account but all I want is to get the A9 working.

@hSATAC Have a go with the latest version. It should ignore everything except Air Purifiers.

@JohNan Thanks! It's working now.