Closed stylar-maker closed 1 day ago
Try adding it manually with the data provided by "list all appliances". It should work with the default keys.
I believe Toshiba uses the same backend of Midea Air, can you try that option with your TSmartLife account?
I tried the offered login options, but none of them work for me.
When I want to use 'Configure manually,' a 'New appliance' window pops up. I don't know where to get the TOKEN and KEY. It keeps saying 'Token or Key in an incorrect format.'
@stylar-maker we need debug log to look at to know what happens
2024-07-01 17:27:48.912 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'midea_ac_lan' at custom_components/midea_ac_lan/config_flow.py, line 127: return load_json(record_file, default={}) (offender: /usr/src/homeassistant/homeassistant/util/json.py, line 78: with open(filename, mode="rb") as fdesc:), please create a bug report at https://github.com/wuwentao/midea_ac_lan/issues
Traceback (most recent call last):
File "
Thx, but we need he full log not just a snippet.
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
Full log attached. home-assistant_2024-07-01T15-35-23.132Z.log
Hi @stylar-maker can you leave the key and token empty?
Also, to provide us more info: Please add the following to configuration.yaml , restart HA, and post the log:
logger:
default: warning
logs:
custom_components.midea_ac_lan: debug
midealocal: debug
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
And add diagnostics (menu configuration -> integration -> midea_ac_lan -> download diagnostics )
Hi, here are the requested logs attached according to your instructions. home-assistant_2024-07-03T14-12-50.799Z.log config_entry-hacs-83bf92936eaf32996ebe3f1827385ea7.json
@stylar-maker oh, you have enabled debug log, it got the expected output. but you still need to run discovery and add device, once it got error, then upload the full log. current log only have list device and without add device action and error info.
Hi, I tried adding the device during the logging process, but I can't get any further.
Discover automatically - I can't log in, I only have a TSmartLife account. Configure manually - I don't have the token and key. List of appliances only - the device is found as supported, but clicking 'Submit' does nothing.
I finnaly managed to add the washing machine (protocols V1 and V2 are working) and I can see entities, although they don't appear to be functional.
updated logs: home-assistant_2024-07-03T16-28-22.530Z.log config_entry-hacs-83bf92936eaf32996ebe3f1827385ea7.json
I finnaly managed to add the washing machine (protocols V1 and V2 are working) and I can see entities, although they don't appear to be functional.
updated logs: home-assistant_2024-07-03T16-28-22.530Z.log config_entry-hacs-83bf92936eaf32996ebe3f1827385ea7.json
No, you can't add device with V1 or V2, as your device type is V3, so you can only add it with V3 type. if you add it with v2 type, you can't control your device. as the protocol is error......
so please don't manual change the protocol version, and you need to add device with the right protocol v3 version. if it can't add pass, it should be some error exist. the error log can show the readon.
Device type and model (or SN)
TW-BL80A2CZ(SS)
The description of new feature
Hello,
I'm trying to use
midea_ac_lan
with Home Assistant, and it seems it might work with a TOSHIBA washing machine connected to the network via WiFi. The issue is how to navigate the login process when the washing machine uses the TSmartLife app, which isn't available here. Is there a way to integrate the washing machine into HA for local control or to display its entities?Thank you in advance for any assistance!