Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Authenticate Yale Home using August Integration #124460

Closed
cloudbr34k84 opened this issue Aug 23, 2024 · 39 comments
Closed

Unable to Authenticate Yale Home using August Integration #124460

cloudbr34k84 opened this issue Aug 23, 2024 · 39 comments

Comments

@cloudbr34k84
Copy link

cloudbr34k84 commented Aug 23, 2024

The integration is currently blocked, and a new integration is being developed, please see

#124460 (comment)

The problem

As of today, im unable to authentic my using the August integration and choosing Yale Home. I have reset my password on the yale home app to make sure and logged in via the email and mobile phone so i know that works.

I have Yale Unity Entrance Door lock

I have now since deleted the August integration App thinking i do that then restart. That has not worked. I cant see any other issues yet on this
image

What version of Home Assistant Core has the issue?

2024.8.2

What was the last working version of Home Assistant Core?

2024.8.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

August

Link to integration documentation on our website

https://www.home-assistant.io/integrations/august

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (august) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of august can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign august Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


august documentation
august source
(message by IssueLinks)

@cloudbr34k84
Copy link
Author

I just restored a back up to 8 hours agao and the issue is still there.
Config entry '[email protected]' for august integration could not authenticate

@phillclaxton
Copy link

Looks like calls to https://api.aaecosystem.com/session are being blocked for me with the HTML coming back stating

Sorry, you have been blocked

Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page. came up and the Cloudflare Ray ID found at the bottom of this page.

@fishy242
Copy link

same issue here

@Doc-C
Copy link

Doc-C commented Aug 23, 2024

Im also having the same issue. The inegration has been very on and of the last week. Now its straight up not working at all.

@cloudbr34k84
Copy link
Author

Sigh let's hope they are not blocking

@rottweilerken
Copy link

same issue here, after the non-refreshing issue, which is going on for a long time, having to restart the integration a few times per day, now it's completely useless with this issue.
I sincerely hope the Yale Home integration gets reprogrammed or picked up by somebody with some time to make it smooth again.. fingers crossed

@cloudbr34k84
Copy link
Author

same issue here, after the non-refreshing issue, which is going on for a long time, having to restart the integration a few times per day, now it's completely useless with this issue.
I sincerely hope the Yale Home integration gets reprogrammed or picked up by somebody with some time to make it smooth again.. fingers crossed

I haven't noticed issues.. I thought maybe the state of the door lock wasn't updating in HA, but I never paid to much attention as ppl are always coming going

@fakethinkpad85
Copy link

Started having issues today after an update as well, looking at a Automation trace i get this,

image

@rottweilerken
Copy link

I haven't noticed issues.. I thought maybe the state of the door lock wasn't updating in HA, but I never paid to much attention as ppl are always coming going

It's about this one: #118474
Perhaps like you said if there is a lot of activity, that issue is not happening, good thing for you 👍
PS: I'm using the Yale Linus L2 with wifi, aside of the integration, it's working good through the app..

@cloudbr34k84
Copy link
Author

I have Yale unity door lock
Yeah app is fine

@sammyh2506
Copy link

Same issues as everyone else, no longer able to authenticate.

@tumppi-git
Copy link

Having the same issue, running core 2024.8.2.
image

@Opontios
Copy link

Same issue.

@ivrlx
Copy link

ivrlx commented Aug 23, 2024

Same here, it must be a problem with the august API acording with the logs...we'll see...

@OneScuzzie2k
Copy link

Following, Same issue

@PerSterin
Copy link

PerSterin commented Aug 23, 2024

Same issue.
Yale Access Bluetooth: Still working.
August: Needs attention, Reauthenticate an August account

Yale

Full debug log:
2024-08-23 09:23:08.743 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for august integration could not authenticate
2024-08-23 09:33:44.978 DEBUG (MainThread) [yalexs.authenticator_async] Cache file not found: /config/[email protected]
2024-08-23 09:33:44.980 DEBUG (MainThread) [yalexs.api_async] About to call https://api.aaecosystem.com/session with header={'Accept-Version': '0.0.1', 'x-august-api-key': 'd9984f29-07a6-816e-e1c9-44ec9d1be431', 'Content-Type': 'application/json; charset=UTF-8', 'User-Agent': 'August/Luna-22.17.0 (Android; SDK 31; gphone64_arm64)', 'x-august-country': 'US', 'x-august-branding': 'yale'} and payload={'installId': '8e147b2f-1270-4546-a3f4-8f27c47b5288', 'identifier': 'email:[email protected]', 'password': '****'}
2024-08-23 09:33:45.066 DEBUG (MainThread) [yalexs.api_async] Received API response from url: https://api.aaecosystem.com/session, code: 403, headers: <CIMultiDictProxy('Date': 'Fri, 23 Aug 2024 07:33:45 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'max-age=15', 'Expires': 'Fri, 23 Aug 2024 07:34:00 GMT', 'Vary': 'Accept-Encoding', 'Server': 'cloudflare', 'CF-RAY': '8b796a8c9bd70a31-ARN', 'Content-Encoding': 'gzip')>, content: b'\n\n\n\n \n\n<title>Attention Required! | Cloudflare</title>\n\n\n\n\n\n\n\n<style>body{margin:0;padding:0}</style>\n\n\n\n<script>\n if (!navigator.cookieEnabled) {\n window.addEventListener('DOMContentLoaded', function () {\n var cookieEl = document.getElementById('cookie-alert');\n cookieEl.style.display = 'block';\n })\n }\n</script>\n\n\n\n\n\n

\n \n
\n
\n

Sorry, you have been blocked

\n

You are unable to access aaecosystem.com

\n
\n\n
\n
\n
\n \n \n \n
\n
\n
\n\n
\n
\n
\n

Why have I been blocked?

\n\n

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

\n
\n\n
\n

What can I do to resolve this?

\n\n

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

\n
\n
\n
\n\n
\n

\n Cloudflare Ray ID: 8b796a8c9bd70a31\n \n \n Your IP:\n Click to reveal\n xxx.xxx.xxx.xxx\n \n \n Performance & security by Cloudflare\n \n

\n <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>\n
\n\n\n
\n
\n\n <script>\n window._cf_translation = {};\n \n \n</script>\n\n<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8b796a8c9bd70a31',t:'MTcyNDM5ODQyNS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>\n\n'

@cwquek
Copy link

cwquek commented Aug 23, 2024

Happen this morning, same issues as everyone else. Have not done any update.

@DavidRCT
Copy link

Same issue.

I have a HomeKit hub so using the HomeKit integration and input to do the switching. Unfortunately I can't rely on the August integration any more.

@MMouse23
Copy link

MMouse23 commented Aug 23, 2024

Same here.
Looks like a CloudFlare issue if i read the dumps here.
Yale app works fine, HA does not authenticate anymore

@MMouse23
Copy link

d9984f29-07a6-816e-e1c9-44ec9d1be431

You may want to remove your api key, not sure if its working or even a useable key, just saying.

@cloudbr34k84
Copy link
Author

cloudbr34k84 commented Aug 23, 2024 via email

@ericfhuber
Copy link

I sent August an email earlier after seeing this GitHub issue, here’s their response (translated from German):

Hello Eric,

Thank you for contacting Yale Customer Service.

Our server team has temporarily blocked Home Assist integration with Yale Home.

Please note that Home Assistant is not currently an official partner, but we are working with them on an improved integration that is expected to be published in Q4.

We apologize for this and wish you a nice day.

Best regards

Carmen

Yale DACH Team

@cloudbr34k84
Copy link
Author

Well that's good news I wonder if anyone from home assistant can corroborate this?

@mlauhalu
Copy link

Contacted Yale customer service and this was the response (translated from Finnish):

Hello,

officially August is not a Yale integration partner, and there is no information that support is forthcoming. However, we are aware that informal support through Home Assistant is possible.
But unfortunately we are unable to provide any support for this as it is not officially a partner.

Home Assistant's connection to Yale Home is currently down due to a backend server outage. As a result, Home Assistant may not be working properly with Yale Home right now. Home Assistant is aware of the issue, but unfortunately we are unable to provide any estimate of how long the outage will last.

The connection between Home Assistant and Yale Home should then return once the problem with the backend servers has been resolved.

Translated with DeepL.com (free version)

@f13end
Copy link

f13end commented Aug 23, 2024

Yale app works fine, HA does not authenticate anymore

@cloudbr34k84
Copy link
Author

Question, if we are using Yale Home, but its via the August integration are we still screwed?

@moritzmaier84
Copy link

same and following.
frustrating, though. we should all spam
the yale support for unblocking as long as the new version is not finished ;)

@robferre
Copy link

robferre commented Aug 23, 2024

At least it's not a "not supported at all" and never will be. "Working with HA team", "outage", "server back up will work" is good news I guess

@bdraco
Copy link
Member

bdraco commented Aug 23, 2024

Yale had to block the key we are using because the traffic was resulting in a denial of service attack on their servers: #103052 (comment)

You can track the status of the new integration here:
home-assistant/home-assistant.io#33890

@home-assistant

This comment was marked as duplicate.

@home-assistant

This comment was marked as duplicate.

@cloudbr34k84

This comment was marked as resolved.

@vvode

This comment was marked as off-topic.

@moritzmaier84

This comment was marked as off-topic.

@bdraco
Copy link
Member

bdraco commented Aug 23, 2024

Yale works with SmartThings so I switched to use that integration until new yale integration is completed.

Can you give us a quick step-by-step what ecactly you did to switch on that?
Yale had to block the key we are using because the traffic was resulting in a denial of service attack on their servers: #103052 (comment)

Would you please take this discussion to a forum thread so we can keep this issue clean and anyone looking for why it's not working won't have to scroll through pages of workarounds/alternate solutions?

https://community.home-assistant.io/t/psa-yale-home-integration-blocked-new-integration-coming/762999

You can track the status of the new integration here:
home-assistant/home-assistant.io#33890

I'll provide updates in this issue as new integration progresses.

@maniolox

This comment was marked as off-topic.

@home-assistant home-assistant locked and limited conversation to collaborators Aug 23, 2024
@bdraco
Copy link
Member

bdraco commented Aug 25, 2024

We worked very hard this weekend to get a temporary solution in 2024.8.3 that will allow the old integration to keep working for a limited time while we work on the new one.

If you have an automation to frequently reload or wake up the locks, please remove them, as the limited time will quickly become very short if Home Assistant users continue to overload the API.

If your account is blocked explicitly because of abusing the API, 2024.8.3 will not restore access.

Everyone using the Yale Home brand will need to switch to the new yale integration as soon as it is available.

Please continue discussion at https://community.home-assistant.io/t/psa-yale-home-integration-blocked-new-integration-coming/762999

@bdraco
Copy link
Member

bdraco commented Aug 29, 2024

The new integration is available in beta: 2024.9.0b0. The new integration uses the new WebSocket APIs which provide updates continuously so there is no need to reload or wake the locks anymore.

For Yale Home users, to migrate, add the new yale integration, and remove the old august integration.

For August/Yale Access users, continue to use the august integration.

Please report any issues with the new integration using the normal beta channels for the next week. https://www.home-assistant.io/faq/release/. After it makes it to release, please report any issues to GitHub issues.

@bdraco bdraco closed this as completed Aug 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests