dlarrick / hass-kumo

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

Issues with logging into the KUMO app with login credentials #75

Closed DAVFC294 closed 1 year ago

DAVFC294 commented 2 years ago

I am having issues with logging into the kumo hacs hass integration on initial setup - unable to authenticate.

I am though able to login to the mobile app with no issues.

jhuang0 commented 2 years ago

If you're the same guy who doesn't even have his equipment installed... maybe you should just wait until it's in before creating github issues without enough detail to troubleshoot.

DAVFC294 commented 2 years ago

Thanks for the note: wasn’t sure it was connected to that the units are not in yet - we are trying to get everything pre-configured.

Configuration: Utilize occupancy sensory to enable lights and turn unit on to predetermined setting for 2 hours and when there is no occupancy the unit will either raise or lower the temp

Get Outlook for iOShttps://aka.ms/o0ukef


From: jhuang0 @.> Sent: Thursday, January 27, 2022 5:06:35 PM To: dlarrick/hass-kumo @.> Cc: Smart Things @.>; Author @.> Subject: Re: [dlarrick/hass-kumo] Issues with logging into the KUMO app with login credentials (Issue #75)

If you're the same guy who doesn't even have his equipment installed... maybe you should just wait until it's in before creating github issues without enough detail to troubleshoot.

— Reply to this email directly, view it on GitHubhttps://github.com/dlarrick/hass-kumo/issues/75#issuecomment-1023680791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXNSTQ4RTTOJLCOHGQ36J3LUYG6WXANCNFSM5M67UN2Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

pplevesque commented 2 years ago

Hi there,

I had the same error and I replaced URL value from https://geo-c.kumocloud.com/login to https://app.kumocloud.com/login inside custom_components/kumo/kumo_cloud_setup.py and the GUI setup passed after restart.

ehagan commented 2 years ago

I don't know if this is related to the issue reported in here but I had a login issue. My password had two special characters in it, a period and a double quote. By changing those characters to numeric digits the login was able to proceed, e.g. abc.2" becomes abc123. If I had to guess I'd say it wasn't handling escaping or unescaping the double quote but that's just a guess without looking at code.

dlarrick commented 2 years ago

It looks like this is a defect in pykumo. See https://github.com/dlarrick/pykumo/blob/master/pykumo/py_kumo_cloud_account.py#L76-L77 ; it's sending the username and password as JSON. Since your special character is a double-quote, that would result in malformed JSON.

I've made a ticket for this in pykumo. This is a very simple one, if you (or anyone else reading) would like to take a stab at it and make a pull request.

dlarrick commented 1 year ago

Was fixed a while ago

ChadHydro commented 1 year ago

Just wanted to note that I recently encountered this issue on an install with the latest Home Assistant and hass-kumo and the only thing that fixed it was @pplevesque's suggestion

dlarrick commented 1 year ago

Thanks, I'm making a new Issue for this hostname problem. See #95