-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Honeywell Lyric becomes unavailable #61140
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
Comments
lyric documentation |
Hey there @timmo001, mind taking a look at this issue as it has been labeled with an integration ( |
Still occuring for me. I have a temporary workaround with a script that calls The previous fix didnt help, the frequency seems to be after an hour or so (so probably when Honeywell provided token expires). My theory is the token might be expiring quicker than honeywell state. |
Authentication failed while fetching lyric_coordinator data: {'request': {'method': 'GET', 'url': 'https://api.honeywell.com/v2/locations?apikey=*', 'headers': {'Authorization': 'Bearer *', 'Content-Type': 'application/json'}}, 'response': {'code': 'Unauthorized', 'message': 'Authorization has been denied for this request '}, 'status': 401} same problem |
@sven41 I am getting that error too, it is referencing api endpoint |
It seems that Honeywell's API is just misbehaving 😄 I switched to the HomeKit integration for now, which is all local, so no third party APIs to deal with! And it was surprisingly fast & easy to do. I couldn't do this before, because I'm running HASS in Docker without the
And the thermostat should pop up in Home Assistant within a few seconds, ready to add via HomeKit! 😄 |
Hi Louis, |
Still happening for me. `Logger: homeassistant.components.lyric Authentication failed while fetching lyric_coordinator data: {'request': {'method': 'GET', 'url': 'https://api.honeywell.com/v2/locations?apikey=Xxxxxxxxxxxxxxx', 'headers': {'Authorization': 'Bearer xxxxxxxxxxxxxxxx', 'Content-Type': 'application/json'}}, 'response': {'code': 'Unauthorized', 'message': 'Authorization has been denied for this request '}, 'status': 401} ` After a full restart it seems to work for some time, but then this error occurs. 2021.12.2 / HA OS installation / Honeywell Integration |
Been doing some debugging and it seems Honeywell are expiring tokens before the time they state:
The above case was far earlier than expected. Calling the update service (or restarting) to force an update fixes this until the next time honeywell returns a 401. (but only if token's expires_at time has passed) |
The problem
The Honeywell Lyric integration becomes unavailable after a some time.
A fix for this issue is included in the current beta, but it does not work unfortunately. The integration became unavailble within 2 hours after upgrading, on 2 completely separate Home Assistant instances.
What version of Home Assistant Core has the issue?
core-2021.12.0b1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
lyric
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lyric/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
See:
The text was updated successfully, but these errors were encountered: