bodyscape / cielo_home

Integration with Cielo Home
Apache License 2.0
44 stars 10 forks source link

Integration don't work anymore since they add reCAPTCHA in the Auth process. #24

Closed davezahn5656 closed 9 months ago

davezahn5656 commented 9 months ago

I'm having some difficulty with your integration. I installed it and it was working great for about 2 months. Now the entities are appearing unavailable. I can reinitialize the integration and they are available for about 5 seconds and then go unavailable again. I did remove the integration and reinstall it. I still have the same issue.

Firmware version 2.5.3,2.5.0

Home Assistant 2023.4.6 Supervisor 2023.08.3 Operating System 10.5 Frontend 20230411.1 - latest

Any suggestions?

bodyscape commented 9 months ago

Which version of this integration you use? The last one is the 1.5.3!

sup3rm3ga commented 9 months ago

I am also seeing an issue in the last 24 hours similar to the described issue above. I am running 1.5.3.

bodyscape commented 9 months ago

Since about 12 hours i have also this problem. I'll check on it.

hambleto commented 9 months ago

I am having the same issue. I am seeing "Failed to login to Cielo Home" in the log files. Home Assistant 2023.9.0 Supervisor 2023.08.3 Operating System 10.5 Frontend 20230906.1 - latest Running the latest Cielo plug version 1.5.3

Kuechenfenster commented 9 months ago

Hi, my 2 Breeze went offline 24h ago, Firmware: 1.1.1,2.4.1 Cielo 1.5.3 HA core 2023.9.0 Supervisor 2023.08.3 OS 10.5

bodyscape commented 9 months ago

Well bad news guys, now it's required a captcha validation on the authentication call! i will check on it. But i don't think i can do something. :(

hambleto commented 9 months ago

Well bad news guys, now it's required a captcha validation on the authentication call! i will check on it. But i don't think i can do something. :(

It is not just your app, I tried to link Cielo to Google Home as a temporary work around and it fails also because of the authentication method they put in place.

bodyscape commented 9 months ago

Well bad news guys, now it's required a captcha validation on the authentication call! i will check on it. But i don't think i can do something. :(

It is not just your app, I tried to link Cielo to Google Home as a temporary work around and it fails also because of the authentication method they put in place.

Good to know, they maybe will quickly fix it. Because it's said on there website google home is supported. ;)

Kennyc1012 commented 9 months ago

Well bad news guys, now it's required a captcha validation on the authentication call! i will check on it. But i don't think i can do something. :(

It is not just your app, I tried to link Cielo to Google Home as a temporary work around and it fails also because of the authentication method they put in place.

The Google home integration is working for me.

bodyscape commented 9 months ago

Well bad news guys, now it's required a captcha validation on the authentication call! i will check on it. But i don't think i can do something. :(

It is not just your app, I tried to link Cielo to Google Home as a temporary work around and it fails also because of the authentication method they put in place.

The Google home integration is working for me.

Probably because you were already authenticated before their change.

Kuechenfenster commented 9 months ago

I was in contact with their support team a while back, will let them know about the compatibility with Home Assistant. He just answered and will inform the related department.

Screenshot 2023-09-08 at 22 16 12
Kuechenfenster commented 9 months ago

I was in contact with their support team a while back, will let them know about the compatibility with Home Assistant. He just answered and will inform the related department. Screenshot 2023-09-08 at 22 16 12

will keep you updated, ... the feedback was "we are not supporting home assistant";

ahuffman commented 9 months ago

Same, getting errors in logs. Noticed this morning when my Office was boiling :) : image

bodyscape commented 9 months ago

I was in contact with their support team a while back, will let them know about the compatibility with Home Assistant. He just answered and will inform the related department. Screenshot 2023-09-08 at 22 16 12

will keep you updated, ... the feedback was "we are not supporting home assistant";

they don't support it, it's a community integration. HACS

syzygyiowa commented 9 months ago

I too noticed this morning that my automations ran but the temp on three units didn't change. I tried to do the google integration and can confirm it is not working as well. More than happy to provide or test anything if you need anyone.

ilkinansr92 commented 9 months ago

If google integration is not working either, we should just tell them issue is with google and not home assistant. Im sure the fix would resolve both issues.

bodyscape commented 9 months ago

If google integration is not working either, we should just tell them issue is with google and not home assistant. Im sure the fix would resolve both issues.

Good idea, also if several person do it. This add weight to the request.

syzygyiowa commented 9 months ago

Well it appears now I can login/integrate Google home with the Cielo account. Maybe my work wifi was blocking that part

bsell93 commented 9 months ago

Would something like this work? https://github.com/Hartman5/recaptchaV3-Bypass

bsell93 commented 9 months ago

@bodyscape when I call the api directly via postman after getting main js url I search for apiKey: as you have here, but I can't find it. I can find apiKey in a sort of encoded result; perhaps I'm calling it wrong?

Here is what I'm seeing: ['apiKey']=_0x355985[_0x487f8d(0xbdc)]['x-api-key']

bodyscape commented 9 months ago

Yes i fix the apikey today they change it, but we still need to validate recaptcha.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Bryant Sell @.> Sent: Friday, September 8, 2023 9:50:15 PM To: bodyscape/cielo_home @.> Cc: bodyscape @.>; Mention @.> Subject: Re: [bodyscape/cielo_home] Integration don't work anymore since they add reCAPTCHA in the Auth process. (Issue #24)

@bodyscapehttps://github.com/bodyscape when I call the api directly via postman after getting main js url I search for apiKey: as you have herehttps://github.com/bodyscape/cielo_home/blob/5a217d5c22ef8a008d5d87b428624ae45771f5c4/custom_components/cielo_home/cielohome.py#L72C45-L72C51, but I can't find it. I can find apiKey in a sort of encoded result; perhaps I'm calling it wrong?

Here is what I'm seeing: ['apiKey']=_0x355985[_0x487f8d(0xbdc)]['x-api-key']

— Reply to this email directly, view it on GitHubhttps://github.com/bodyscape/cielo_home/issues/24#issuecomment-1712381414, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHFYN4DYJ72DNAH4VFGMDCLXZPDNPANCNFSM6AAAAAA4PMLD4U. You are receiving this because you were mentioned.Message ID: @.***>

bodyscape commented 9 months ago

Yes i fix the apikey today they change it, but we still need to validate recaptcha.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Bryant Sell @.> Sent: Friday, September 8, 2023 9:50:15 PM To: bodyscape/cielo_home @.> Cc: bodyscape @.>; Mention @.> Subject: Re: [bodyscape/cielo_home] Integration don't work anymore since they add reCAPTCHA in the Auth process. (Issue #24)

@bodyscapehttps://github.com/bodyscape when I call the api directly via postman after getting main js url I search for apiKey: as you have herehttps://github.com/bodyscape/cielo_home/blob/5a217d5c22ef8a008d5d87b428624ae45771f5c4/custom_components/cielo_home/cielohome.py#L72C45-L72C51, but I can't find it. I can find apiKey in a sort of encoded result; perhaps I'm calling it wrong?

Here is what I'm seeing: ['apiKey']=_0x355985[_0x487f8d(0xbdc)]['x-api-key']

— Reply to this email directly, view it on GitHubhttps://github.com/bodyscape/cielo_home/issues/24#issuecomment-1712381414, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHFYN4DYJ72DNAH4VFGMDCLXZPDNPANCNFSM6AAAAAA4PMLD4U. You are receiving this because you were mentioned.Message ID: @.***>

The apikey is in the main.js file

bsell93 commented 9 months ago

Yeah, that's what I'm looking at in postman.

I'm able to find 'apiKey':_0x5de5eb(0x19ee),'key':'7EORvce3Cm80izjdODnGSafHYggxGSKw7U23BVzi' this line in the jumbled response.

I was just wondering if maybe the find wasn't even grabbing the correct data.

Definitely agree recaptcha will need addressed.

bodyscape commented 9 months ago

I think i find a way to use there Oauth2 authentication like Cielo use to link with Google home. I will try to check it this weekend.

taymcmillen commented 9 months ago

I thought I had done something on my end as this and MyQ were having issues at the same time (i just started noticing at the same time anyway). I was reading up on the MyQ issues and the pretty active discussion over there and didn't know if the useragent stuff could help us. I could be way off base but thought I'd bring it up here. https://github.com/home-assistant/core/issues/99947

bodyscape commented 9 months ago

I thought I had done something on my end as this and MyQ were having issues at the same time (i just started noticing at the same time anyway). I was reading up on the MyQ issues and the pretty active discussion over there and didn't know if the useragent stuff could help us. I could be way off base but thought I'd bring it up here. https://github.com/home-assistant/core/issues/99947

I try to change the useragent but without success, because i was thinking it's was the same auth page without the recaptcha on the mobile app.

superdong69 commented 9 months ago

Perhaps creating a canned response and posting it here and whom to send it to would help expediate the fix on their part. As you said, the more of us complain, the more weight it carries to the company. Unfortunately, I have no idea what to say, or whom to say it to.

Kuechenfenster commented 9 months ago

Screenshot_20230909_204256_WhatsApp

+1 (425) 429 8909

superdong69 commented 9 months ago

You're doing the Lord's work here, @Kuechenfenster. Keep up the excellent work.

bodyscape commented 9 months ago

in the meantime i continue to investigate to find a alternative guys!

superdong69 commented 9 months ago

I suspect they won't actually fix it, so a workaround will definitely be in order.

JimmyMPage commented 9 months ago

It's too bad they don't support Homekit. I've found that to be a good work around for devices that don't support Home Assistant...though it comes with it's own difficulty.

miles267 commented 9 months ago

Thanks for everything you are doing to restore this integration @bodyscape.

bodyscape commented 9 months ago

Hey guys i found something, it will work. I will post a new version tomorrow!

superdong69 commented 9 months ago

King.

miles267 commented 9 months ago

Hey guys i found something, it will work. I will post a new version tomorrow!

@bodyscape you are THE MAN! Legend.

r14n commented 9 months ago

Hey guys i found something, it will work. I will post a new version tomorrow!

Glad to have found your integration, I use it for my MrCool ACs and rely on it. You're the man, great job with the quick fixes!

JimmyMPage commented 9 months ago

Thanks @bodyscape!

bodyscape commented 9 months ago

Hi again, they also change some data in other call. So it will take me more time! But good news, the trick for the authentication work. I keep you updated when i'm done!

SaltyITSailor commented 9 months ago

Thanks for the hard work @bodyscape.

bsell93 commented 9 months ago

If anyone here feels lead to, consider buying @bodyscape a coffee (https://www.buymeacoffee.com/bodyscape) - link is also on main page of this repo. If not I'm sure that's cool too. I know I personally felt lead to and I'm sure it would be appreciated. Thanks again for the effort on this.

bodyscape commented 9 months ago

If anyone here feels lead to, consider buying @bodyscape a coffee (https://www.buymeacoffee.com/bodyscape) - link is also on main page of this repo. If not I'm sure that's cool too. I know I personally felt lead to and I'm sure it would be appreciated. Thanks again for the effort on this.

thank you i really appreciate that and big thank you again to JimmyMPage who bought me a lots of coffee since the beginning of this integration. :)

bodyscape commented 9 months ago

Hi guys, you must install the version 1.6.0 but before you must uninstall your current version. Really important You have here https://github.com/bodyscape/cielo_home how to fill the fields in the new configuration setup.

Let me know if you have any problem.

realsimon commented 9 months ago

Reinstalled and reconfigured as you described. It works! Thank you!

ahuffman commented 9 months ago

@bodyscape what goes into the 4 inputs, there's no labels? I've got the auth response saved, but not sure what data goes into what field. Thanks again for working on a work around!

image

Z0y6h0kS9X commented 9 months ago

@ahuffman

Mine did the same until I restarted home assistant completely, but here are the values you need to supply from the response.

image

realsimon commented 9 months ago

Yes, you need to reinstall Integration, restart HA and then search within text file to find and copy/paste the values in configuration dialog (without quotes).

halteach commented 9 months ago

@ahuffman

Mine did the same until I restarted home assistant completely, but here are the values you need to supply from the response.

  • Access Token
  • Refresh Token
  • Session Id
  • User Id

image

Where do you get these values?

Z0y6h0kS9X commented 9 months ago

@halteach

You get them from the response returned in Step 9 of the main pages' Configuration section.

halteach commented 9 months ago

okay got it. It worked!

you definitely have to be motivated to make this work. ;-)

Hal