home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.97k stars 29.05k forks source link

Problem adjusting Honeywell Lyric Temperature #114237

Open raschinkel opened 3 months ago

raschinkel commented 3 months ago

The problem

I've noticed in the last week or 2 that I am unable to adjust the Honeywell Lyric thermostat for heating. When I check the logs, there seems to be an error that is received at that time.

What version of Home Assistant Core has the issue?

2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Honeywell Lyric

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.lyric.climate
Source: components/lyric/climate.py:380
integration: Honeywell Lyric (documentation, issues)
First occurred: March 25, 2024 at 3:46:08 PM (12 occurrences)
Last logged: 7:41:10 AM

{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DDFBF87?apikey=58ibaD3p3ImDKTGo0AdCHiUQsmaDLIZl&locationId=532440', 'headers': {'Authorization': 'Bearer OaelVddG4eT4VrQghBQ2Y5whXFwA', 'Content-Type': 'application/json'}, 'json': {'mode': 'Cool', 'heatSetpoint': 19.5, 'coolSetpoint': 19.5, 'autoChangeoverActive': False, 'thermostatSetpointStatus': 'HoldUntil', 'nextPeriodTime': '18:00:00'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DDFBF87?apikey=58ibaD3p3ImDKTGo0AdCHiUQsmaDLIZl&locationId=532440', 'headers': {'Authorization': 'Bearer OaelVddG4eT4VrQghBQ2Y5whXFwA', 'Content-Type': 'application/json'}, 'json': {'mode': 'Cool', 'heatSetpoint': 19.5, 'coolSetpoint': 24.0, 'autoChangeoverActive': False, 'thermostatSetpointStatus': 'HoldUntil', 'nextPeriodTime': '18:00:00'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DDFBF87?apikey=58ibaD3p3ImDKTGo0AdCHiUQsmaDLIZl&locationId=532440', 'headers': {'Authorization': 'Bearer 2NVaYml01Go0EldeYgcjPE4ork3v', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 19.5, 'coolSetpoint': 23, 'autoChangeoverActive': False, 'thermostatSetpointStatus': 'TemporaryHold'}}, 'response': {'code': 'Unauthorized', 'message': 'Authorization has been denied for this request '}, 'status': 401}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DDFBF87?apikey=58ibaD3p3ImDKTGo0AdCHiUQsmaDLIZl&locationId=532440', 'headers': {'Authorization': 'Bearer NxwcAhkNF0WSBo10kYy1BLU7Tuzh', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 20.0, 'coolSetpoint': 23, 'autoChangeoverActive': False, 'thermostatSetpointStatus': 'HoldUntil', 'nextPeriodTime': '09:00:00'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DDFBF87?apikey=58ibaD3p3ImDKTGo0AdCHiUQsmaDLIZl&locationId=532440', 'headers': {'Authorization': 'Bearer NxwcAhkNF0WSBo10kYy1BLU7Tuzh', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 20.5, 'coolSetpoint': 23, 'autoChangeoverActive': False, 'thermostatSetpointStatus': 'HoldUntil', 'nextPeriodTime': '09:00:00'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}

Additional information

No response

home-assistant[bot] commented 3 months ago

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

Code owner commands Code owners of `lyric` 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 lyric` 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)


lyric documentation lyric source (message by IssueLinks)

justinmyersm commented 3 months ago

Also having this problem as of this morning.

Logger: homeassistant.components.lyric.climate
Source: components/lyric/climate.py:380
integration: Honeywell Lyric (documentation, issues)
First occurred: March 25, 2024 at 8:55:29 PM (47 occurrences)
Last logged: 9:42:47 AM

{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DF077CE?apikey=REDACTED&locationId=1180368', 'headers': {'Authorization': 'Bearer WppIwe06PAEJ8IBxvTwlNSgcBzWZ', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 76.0, 'coolSetpoint': 50, 'thermostatSetpointStatus': 'PermanentHold'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DF077CE?apikey=REDACTED&locationId=1180368', 'headers': {'Authorization': 'Bearer WppIwe06PAEJ8IBxvTwlNSgcBzWZ', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 72.0, 'coolSetpoint': 50, 'thermostatSetpointStatus': 'PermanentHold'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DF077CE?apikey=REDACTED&locationId=1180368', 'headers': {'Authorization': 'Bearer WppIwe06PAEJ8IBxvTwlNSgcBzWZ', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 70.0, 'coolSetpoint': 50, 'thermostatSetpointStatus': 'PermanentHold'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DF077CE?apikey=REDACTED&locationId=1180368', 'headers': {'Authorization': 'Bearer WppIwe06PAEJ8IBxvTwlNSgcBzWZ', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 75.0, 'coolSetpoint': 50, 'thermostatSetpointStatus': 'PermanentHold'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}
{'request': {'method': 'POST', 'url': 'https://api.honeywell.com/v2/devices/thermostats/LCC-00D02DF077CE?apikey=REDACTED&locationId=1180368', 'headers': {'Authorization': 'Bearer WppIwe06PAEJ8IBxvTwlNSgcBzWZ', 'Content-Type': 'application/json'}, 'json': {'mode': 'Heat', 'heatSetpoint': 71.0, 'coolSetpoint': 50, 'thermostatSetpointStatus': 'PermanentHold'}}, 'response': {'code': 400, 'message': 'Device Not Found'}, 'status': 400}

Edit: I would like to note that I am able to change the temperature in the Resideo app itself.

grahamakennedy commented 3 months ago

I have just had this as well, tried a reinstall of the integration and at the point after configuration where it takes you to the residio website (https://api.honeywell.com/oauth2/app/login?apikey=) there is a login prompt (not sure if that was the case previously). Attempting to login using your honeywell developer account fails (unknown user), forgot password fails (unknown user!). Overall, I am thinking that this is honeywell's API that is borked rather than the integration.

Panplumousse commented 3 months ago

Hello, ha version 2024.3.3 exactly the same here

kllerbees commented 3 months ago

I am having the same problem started yesterday (3/25) around 11am. Everything on the intergradation temp card works but changing the temp. Automations don't work either. Resideo app works and the Honeywell TH6320WF2003 works at the device.

kllerbees commented 3 months ago

27 hours latter HA is in control again.

plum59 commented 3 months ago

For me too

raschinkel commented 3 months ago

Yes, it seems like it is back again. Let's see for how long :)

justinmyersm commented 3 months ago

I also wanted to report that it is working again.

pvdhoek commented 1 month ago

It stopped working again for me. It does show current temperature and State. I can toggle between on/off and heat and these changes will show in the Lyric thermostat.

But any temperature change made in the Home Assistant environment will not have any effect.

kllerbees commented 1 month ago

I switch to HomeKit to control my T6 Honeywell got ride of the Honeywell servers that never work. HomeKit directly accesses them directly.

----- Original Message ----- From: "pvdhoek" @.> To: "home-assistant/core" @.> Cc: "kllerbees" @.>, "Comment" @.> Sent: Monday, May 27, 2024 11:35:52 AM Subject: Re: [home-assistant/core] Problem adjusting Honeywell Lyric Temperature (Issue #114237)

It stopped working again for me. It does show current temperature and State. I can toggle between on/off and heat and these changes will show in the Lyric thermostat.

But any temperature change made in the Home Assistant environment will not have any effect.

-- Reply to this email directly or view it on GitHub: https://github.com/home-assistant/core/issues/114237#issuecomment-2133922314 You are receiving this because you commented.

Message ID: @.***>

pvdhoek commented 1 month ago

Thanks @kllerbees, great tip! Had it working in 5 minutes!

justinmyersm commented 1 month ago

It stopped working again for me. It does show current temperature and State. I can toggle between on/off and heat and these changes will show in the Lyric thermostat.

But any temperature change made in the Home Assistant environment will not have any effect.

Same here. Noticed this last night. I do not use HomeKit, any other suggestions?

grahamakennedy commented 1 month ago

Same with me, looks like this is an issue with Honeywell themselves rather than the integration. In terms of Homekit, I've also now managed to get it working that way (for setting and displaying temperature). @justinmyersm I also do not use homekit (or have apple devices), but managed to add the thermostat using the "homekit device" integration. You just need to get the link code from your lyric thermostat, but other than that you don't need any other 'homekit' hubs or apple devices.

justinmyersm commented 1 month ago

You just need to get the link code from your lyric thermostat

Where would I get the link? When setting up the 'HomeKit Device' integration, I just get a list of my WeMo and Kasa plugs. There is no option to add a link and the thermostat does not show up in the list.

kllerbees commented 1 month ago

If you have T6 you go to Thermostat and go to settings go to reset go to homekit reset go to HA it will appear start the configuration go back to Thermostat will display the code petit in HA DONESent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Justin @.> Date: 5/28/24 7:52 AM (GMT-07:00) To: home-assistant/core @.> Cc: kllerbees @.>, Mention @.> Subject: Re: [home-assistant/core] Problem adjusting Honeywell Lyric Temperature (Issue #114237)

You just need to get the link code from your lyric thermostat

Where would I get the link? When setting up the 'HomeKit Device' integration, I just get a list of my WeMo and Kasa plugs. There is no option to add a link and the thermostat does not show up in the list.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

grahamakennedy commented 1 month ago

You may need to reset the homekit code on the thermostat. I have a T6, and it is pretty much menu->settings->reset homekit once this is done it should be available. Once you can select it in HA, a pairing code appears on the thermostat.

justinmyersm commented 1 month ago

@kllerbees & @grahamakennedy thank you! I was able to figure it out. However, there is no option in the app to reset HomeKit, but there is within the settings of the thermostat itself. So, for those with a T5, you'll want to go to: menu -> reset -> homekit -> yes -> a new code will appear

Are you missing settings though within Home Assistant? I only have "Mode" now and no option to change the "Fan mode" or "Preset." lyric01 lyric02

grahamakennedy commented 1 month ago

Yes, I did mention it was the thermostat for resetting the homekit access. I have the same, the integration via homekit does seem to be more limited. Fan isn't that useful, but lack of preset is a bit of a problem for me (as I used it to reset back to schedule), but tbh actually setting the temperature is probably the key reason to use it.

justinmyersm commented 1 month ago

Yes, I did mention it was the thermostat for resetting the homekit access.

Yes, you did... I totally interpreted that as through the app for some reason. Following those steps in the app takes you to a place where you can reset WiFi though, just not HomeKit.

The fan is only important for circulating the air throughout the house, which we typically do at night. I guess I could just use both integrations. HomeKit for the temperature and Honeywell for fan.

Thank you again!

zonyl commented 1 month ago

Have the same exact issue. Anyone have an idea on a local API approach?

kllerbees commented 1 month ago

HomeKit Device

----- Original Message ----- From: "zonyl" @.> To: "home-assistant/core" @.> Cc: "kllerbees" @.>, "Mention" @.> Sent: Tuesday, May 28, 2024 5:57:49 PM Subject: Re: [home-assistant/core] Problem adjusting Honeywell Lyric Temperature (Issue #114237)

Have the same exact issue. Anyone have an idea on a local API approach?

-- Reply to this email directly or view it on GitHub: https://github.com/home-assistant/core/issues/114237#issuecomment-2136331350 You are receiving this because you were mentioned.

Message ID: @.***>