wuwentao / midea_ac_lan

Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
MIT License
101 stars 5 forks source link

Can't add Midea dishwasher MFD60S510Wi #21

Open nikhomekgn opened 1 month ago

nikhomekgn commented 1 month ago

Versions Midea AC LAN 0.3.23 HA with latest updates

Description Sorry for my bad English. I have Midea dishwasher MFD60S510Wi (static IP), when adding a device to HA it is automatically found, but when confirming I see a message in the form "The configuration is incorrect". If changing model to correct - same message. Log in configuration.yaml enabled, but there's nothing in it. If use Protocol V1 or V2 device is adding to HA, but all sensors are unavailable. Log attached below. P.S. Integration update to alfa version available in HA, but it won't download.

02 03 04 05 06

wuwentao commented 1 month ago

Thank you for youre issue report, as most of us just take it and we may need time to check and fix it later.

nikhomekgn commented 1 month ago

Thanks for your work. If any information is needed on this issue, I will try to provide as much information as possible.

nikhomekgn commented 4 weeks ago

HA core version 2024.5.5

Integration version v0.4.1

Device type and model Dishwasher Midea MFD60S510Wi (latest firmware)

Used App Midea SmartHome and Home Assistant

The description of problem Upgrade integration to 0.4.1 and clear config in /.storage/midea_ac_lan Try to connect: 1 Same if use "auto" 2 Use SmartHome account 3 4

In Midea SmartHome app I see a message "Account logged in somewhere else" In /.storage folder midea_ac_lan is not created

In home-assistant.log is nothing about midea_ac_lan. Debug is enabled in configuration.yaml.

If I try to connect manually: 5

Maybe I do something wrong?

wuwentao commented 3 weeks ago

no debug log should be an issue....

you can remove this integration and reboot HA, remove all the /configs/.storage/mides_ac_lan/

then reinstall it, after install, please confirm you have enabled debug log for midea_ac_lan from /configs/configuration.yaml file.

enable command can be found in readm.md file

once debug log can works, you can attack the debug log file, then we can check the detail error

nikhomekgn commented 3 weeks ago

Reinstall integration, reboot HA In configuration.yaml add

logger:
default: warning
  logs:
    custom_components.midea_ac_lan: debug
    midea_local: info

Log, that repeats every time I try to add a device homeassistant.log

nikhomekgn commented 1 week ago

Remove integration. Install 0.4.2 Debug log: homeassistant.log

chemelli74 commented 5 days ago

Thx, I debugged the issue and login fails because of

{'msg': 'user route does not exist', 'code': 10004}

I think there is a change in MSSmartCloud change

nikhomekgn commented 5 days ago

Thanks for your feedback! Is the problem on my side or do I need to wait for some changes in the code?

ttrueten commented 1 day ago

Hello, Same problem here with a Midea SU 5.35X14CS.

I hope you can find a solution. Best regards, T.

chemelli74 commented 1 day ago

I think I got it, probably we release a new version in a few days

chemelli74 commented 19 hours ago

Please check with v0.4.3 and if still experience the issue, 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.

nikhomekgn commented 6 hours ago

Update to 0.4.3 homeassistant.log

Issues-translate-bot commented 6 hours ago

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


Update to 0.4.3 homeassistant.log

chemelli74 commented 3 hours ago

2024-07-03 08:56:14.649 DEBUG (MainThread) [midealocal.device] [153931628223465] Authentication failed

Please double check with SmartHome mobile app that you can login.

nikhomekgn commented 2 hours ago

In SmartHome in that time (translated): 09:11 Account logged in somewhere else Your account has been registered on another device in Other. If you do not do this yourself, please sign out of this device by visiting Manage Sign-In Devices.

screenshot

ttrueten commented 1 hour ago

Hi there, thank you for your work, unfortunately no noticeable change. Log attached, username anonymized, login with the real data via the SmartHome app works.

HTH, T. homeass.log

chemelli74 commented 24 minutes ago

Unfortunately I don't think we can do something if authorization fails.