RobertD502 / home-assistant-iocare

Home Assistant custom component for monitoring and controlling Coway Airmega Purifiers
MIT License
50 stars 8 forks source link

Coway changed auth backends (I think) #12

Closed mckern closed 1 year ago

mckern commented 1 year ago

Looks like the official iOS app made everyone migrate to a Coway account this week. The error I get from the integration when asked to reauthorize is "Coway API authentication error: unable to retrieve auth 'code'. Likely due to invalid username/password." Please me know if there's anything I can do to help debug -- HA runs on HAOS and I can SSH to the underlying OS freely so I can get whatever logs you might need/want from my setup.

RobertD502 commented 1 year ago

Yup, looks like they did and in turn probably changed the authorization. I'll have to sniff out the new endpoints/auth method and make those changes to the backend.

jerrice commented 1 year ago

Thanks @RobertD502, I'm seeing the same issue as well...

RobertD502 commented 1 year ago

@mckern @jerrice

After migrating your account using the Coway IoCare mobile app (note: use the same email and password for your new "coway account"), update the integration to 0.1.4, which I just released. That should take care of things.

tmclean commented 1 year ago

Confirmed @RobertD502 , 0.1.4 works.

I was just troubleshooting this and saw a release from minutes ago. Perfect timing.

sjafferali commented 1 year ago

+1, 0.1.4 is also working for me.

jerrice commented 1 year ago

Reference

Yup, works perfectly, thank you!!

mckern commented 1 year ago

Works perfectly for me; great turnaround time. Thank you so much!

RobertD502 commented 1 year ago

Works perfectly for me; great turnaround time. Thank you so much!

No problem! I realize a lot of people rely on this integration so I had to work fast. Not sure why they decided to add an openid layer, but hopefully that's the last of any major changes they make.