Honeywell Lyric Thermostat

BlockquoteError during setup of component lyric
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/lyric/init.py”, line 124, in setup
import lyric
ModuleNotFoundError: No module named ‘lyric’

This is what I see at the moment

So it looks like it’s not even finding the component. Would you like to try my repo? I can PM you the url to use in HACS.

Yes please :slight_smile:

Added your repo to HACS @elikorh as an integration. I now see:

Error while setting up lyric platform for climate
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 159, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/lyric/climate.py”, line 71, in setup_platform
LyricThermostat(device) for _, device in hass.data[DATA_LYRIC].thermostats()
File “/config/custom_components/lyric/climate.py”, line 71, in
LyricThermostat(device) for _, device in hass.data[DATA_LYRIC].thermostats()
File “/config/custom_components/lyric/climate.py”, line 145, in init
self.update()
File “/config/custom_components/lyric/climate.py”, line 194, in update
for key in self.device.settings[“fan”][“allowedModes”]:
KeyError: ‘fan’

Hey guys,

I haven’t been able to figure out what the problem is between the previous version and this version. I diffed the changes and I can’t see anything that is substantial other than the fan fix that should address @HScholing’s issue. In my testing, I do experience the same issues you guys are reporting, but I don’t know why, and I don’t have time to look into it right now. The same code, with one line change, works if you pull my version that is currently sitting in a PR for an official plugin. I’m baffled. Anyhow, my recommendation for the time being is to grab the component from here: https://github.com/shellster/home-assistant/tree/Honeywell_Lyric/homeassistant/components/lyric

…and install it in your codebase like it is an official plugin. You probably will need to install the requirement library versions manually (see manifest.json). In particular, you need the latest version of python-lyric.

If some of you can test this above suggestion and report back if it also works for you, that would be very helpful. I really appreciate all your help and feedback.

I’m running Hassio, so not sure if I can update the library versions manually? I just did replace my code per file with the data in the link. I now have the possibility to authorize the plugin again, but in the end same error “Failed to configure, please try again”

I am running Hassbian on a PI. Everything was OK until I notice I was unable to change the temp setting. I reinstalled Lyric using the above information. I am now able to get connected to Honeywell and request authorization for my thermostat next I receive the error “500 Internal Server Error Server got itself in trouble”. Am I doing something wrong or is this on the Honeywell end?

You won’t be able to replace the custom_component code with the code from the other repo because one of the import paths will be different. I clearly need to work on this some more.

A bit off topic but maybe one off you have an idea; I’m on holiday and put my Lyric T6 in holiday mode. Just as normal after a few days the temp was at the programmed 15 degree C. Strangely the temperatuur has been rising to 21C while Lyric app and HASS still show the 15C setpoint. Switched holiday mode off and went manual to 15C but still temp keeps climbing. Nothing in HASS logbook.

Could it be that I’m hacked via the API?

I believe in you guys! Thank you for all your efforts to get these Honeywell T6 Thermostats running properly with Hassio (or whatever we’re now calling it).

I am not sure if this is the right place for this, I have the Honeywell T9’s which have external sensors that transmit temperature and supposedly sense motion. Does anyone know if the remote sensor data is exposed in the API? If needed I can donate a Honeywell T9 to the effort if it would help.

Hi guys, I’ve had the Lyric T6 installed yesterday and I’m trying to get it integrated with my home assistant instance. With the component setup and home assistant rebooted I try to get the authentication going, but when I enter my credentials at the Honeywell site where I’m redirected to. The only response I get is “Sorry, we cannot find a user with these credentials.”. although I can still login with the same credentials using the Honeywell app. Anybody got some pointers as what I might be doing wrong?

EDIT: Resetting my password now (couple of hours later) seems to work. At first it didn’t work and reset password e-mails weren’t received. Now I get a 400 when trying to set up the thermostat.

Hi, I am about to replace my nest, I am looking at the Honeywell Lyric T6R-HW but from the looks of things, it does not look like there is an official component nor the unofficial ones being stable… can anyone comment?

I dont want to jump out the frying pan into the fire :slight_smile:

I’m hoping this is the place.

Using HomeKit Accessory integration, my wifi HA thermostat cards for my T6 and T5 are up and accurate (i.e. they accurately present the current state of these devices) but no adjustments can be made from the UI. Same problem trying to run any climate automations calling a service (no errors but no changes are made after the automation triggers).

Anyone here had this problem? I see it has been mentioned here for the zwave version but the fix is inapplicable to the wifi versions I have. Unable to set target temperature of Honeywell Lyric T6 Pro Thermostat

Also here by another Lyric user but he hasn’t been able to figure it out. Thermostat card displays properly but sometimes will not update target

Adjustments to these thermostats work just fine from the iOS Honeywell App and from the thermostat display.

Additional information:

Honeywell Lyric Wifi Thermostats (T5 & T6)
HomeKit Accessory Integration

Setup: HA 0.107.7 running on HassOS 3.12 in Docker on VM (Ubuntu Linux)

If you’re using the Homekit plug in, I’ve had the same problem, reads fine, but won’t make adjustments. I use the plugin which works find in making adjustments…now it would be nice if this would become official plugin with HA.

@ski522, Actually, I’m running this with the recently updated HomeKit integration, which now (allegedly) works with Honeywell Lyric Thermostats. Sounds like it has the same problems the unofficial plugin previously had. Oh well.

Will you do me a favor and check which plugin you are now using? I see there are couple of authors out with plugins that attempt to work with the Honeywell API. Thanks!

Edit: Well, gang, after few more hours of reading and messing around and I’m about to toss these brand new thermostats.

  1. Official HK Accessory Plugin = Good display but no ability to adjust temp from HA.
  2. Honeywell Lyric Integration from HACS = Dead-end at “Error 500 - Server in trouble.”

Seems while some are having success with one of these approaches, many are not so lucky. :frowning:

ok so the state of this component from a Home Assistant point of view is in a bit of a mess… too many developers doing the same thing as “official” where another custom component does work… I have raised this with @ludeeus before regarding the traccar component… we need to develop some clear guidelines so that all the power that we have as a community is harnessed together and not everyone doing their own thing and then claiming their as the official when it is actually inferrior to other component already in existance…

For Lyric --> to get it working, grab the files from here: https://github.com/home-assistant/core/tree/92082b687a46c17a9a94a598b245728a8832b179/homeassistant/components/lyric

Create a folder in your custom_components folder called lyric, the copy the files from the repo above one by one in raw format (pasting into notepad++ and saving in the newly created lyric directory NOTE there is a folder in there called .translation which you will also need to replicate…

Once you are done, restart and then the Honeywell Lyric integration should appear in the list of available integrations…

1 Like

Aborts install about 5 seconds after it starts to install

Screenshot_20200410_004758

@tarheelz , As @uiguy states, this is the one I’m using as well and it’s working fine with my T5.

I get the same Aborted error. Fully updated Home Assistant. I tried setting logs to debug and retry the integration but nothing is logged.

logger:
 default: error
 logs:
   homeassistant.components.lyric: debug
   custom_components: debug