dlarrick / hass-kumo

Home Assistant module interfacing with Mitsubishi mini-split units
MIT License
94 stars 20 forks source link

Wrong Password but Interactive Use Passes with same password #114

Closed rc5kamps closed 1 year ago

rc5kamps commented 1 year ago

Hi dlarrick! As with everyone here -I wanted to say a big Thank You for maintaining this port!

I was hoping you could help me a bit here. This issue may be slightly different than the other "Invalid Credentials, Wrong user or password" thread as this one I believe is self inflicted.

As with most of us tinkers, I decided to move networks around in my house. Creating a dedicated IOT network that is separate from where my servers sit (including HA). In moving things around, I decided to factory reset my Mini-Split Kumo Cloud adapters, and re-point to the new IOT (thinking this would be the cleanest way to ensure there were no 'odd' pointers to their old IP Addresses in the Kumo servers).
When I made the change I also wiped the Kumo app and began the reinstall - all worked perfect, except I found that the app wanted me to "transfer" my new Kumo units to the "customer". Thus I moved them to another one of my email address, then back to my original email. It seems to do the trick, as I am back using my original email, with my original password - All good in the world - So I thought.

On the HA side, as part of this "cleaning" effort I deleted my old units from HA along with your Kumo app (since they were still pointed to the old IP Addresses) Restarted HA then began the reinstall of Kumo, and this is where my "head scratch" began. You see during the adding of Kumo in HA, the username/password that I am successfully using in the Kumo IOS app, is not being accepted from the Kumo app in HA, I am getting the "Wrong Password issue" as the other person discussed.

So troubleshooting time: In look here (GIT) for any resoultions of the same problem, I stumbled on the other "Wrong Password" thread, in there you pointed the other user to try the "Interactive Use". So I spun up a Linux VM and then went through the motions. It seems that I can successfully log in and display the indoor serial numbers using the username/password I have in the Kumo IOS app, but it seems to still fail when attempting to use them in the Kumo HA add-on. See below:

Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import pykumo account = pykumo.KumoCloudAccount.Factory() Kumo Cloud username: xxxxxx@xxxxxxxxxx.com Password: account.get_indoor_units() ['1134P008xxxxxxxx', '0134P008yyyyyyyy']

So I am scratching my head at this moment, and not really sure what to try next. Any pointers would really be appreciated!

Thanks, -Roger

Obi-Wan Kenobi, you're my only hope :)

(dang I am dating myself here)

rc5kamps commented 1 year ago

--SOLVED -- Interestling enough I was able to get it to work by:

  1. In HACS - Remove the Mitsubishi Kumo Cloud Integration
  2. Fully reboot the system
  3. In HACS - Re-install the Mitsubishi Kumo Cloud Integration
  4. Fully reboot the system
  5. Under Settings -> Devices and Services -> "+ Add Integration"
  6. Search for Kumo
  7. Select "Beta" and download the latest version
  8. Username/Password is now being accepted