Honeywell Lyric Thermostat

I’m having issue to intergrate it with Hass.
Installation is done, setup developer account is done.
Adding intergration is going well until where i have to select which thermostates i wan’t to use.
if hitting connect i get an error.

what i’m i doing wrong


image

Well I did it.

I changed over to the now fixed homekit integration.

Works great and also shows the state, which none of the others did for me. Now I can trigger ceiling fan speeds based on the thermostat heating/cooling/off state instead of only the temperature.

At this point, I wouldn’t waste anymore time with the custom components until an actual working one is out.

Hi, I have T9 with sensors and on latest version of HA. Would you mind sharing on how you got it working?

Raj,

Use jasondefuria’s repo in HACS (install and learn about HACS if you have never used it). You have to choose to add a custom repo and then add:

Follow his instructions in the github page. Use your internal URL for HA in the dev settings. Make sure your thermostat is not set for Auto.

That helped me get my T9 running. Looking forward to Honeywell supporting Homekit though to make this integration less messy.

1 Like

I followed the instructions, created developer account and copied all the files and structure into custom_components/lyric and not lyric-new. It does not bring up the configurator automatically when I restart the HA or reboot the host. Any thoughts how I can get configurator to show up in notifications?

As I mentioned above, did you use HACS for the install? This is how I started with it. HACS makes your Home Assistant life easier. Install that first, then use the custom repo option to add the URL for jasondefuria’s GitHub (above).

Yes, I used HACS to install as a custom repository. I get this error:
{“code”:400, “message”:“The redirect URL provided does not match the redirect URL registered for the app.”}

When I look at the developer.honeywell.com, it has http://hassio:8123/api/lyric/calback and I tried with external dns address as well. it throws the above error. When I look at the URL, there is a redirect uri that is showing old config url with port number that I no longer use. Not sure where it is pulling that old info.

Try setting your internal and external URLs in HA GUI if you have not yet.

Got it working if I had the external and internal URL same, it connected fine and was able to add successfully. Thank you for your help.

Hey all! Great news- @timmo001 has a PR for a native integration. He rewrote the underlying python dependency to make it asyncio. His original code is what my code (and many others linked above) were based upon.

For all of those focusing on using Homekit- this will have more features and be more stable, as you aren’t relying upon Homekit to poll status, you will be accessing directly from API.

Link to PR- https://github.com/home-assistant/core/pull/39695

Very exciting!

5 Likes

Thanks for sharing the PR from @timmo001. I built & briefly tested this build of home-assistant (https://hub.docker.com/r/bshibley/home-assistant-lyric). Works for my T10. Would be nice to collect sensor data from connected redlink room sensors. As of today, it doesn’t appear to be possible to get room sensor data via the Honeywell Home API. I sent a message to Resideo to see if they plan to add this support to the API.

1 Like

Hey I’m getting the same error - did you change it to your domain, or local IP to get it to work?

1 Like

Hi Chris,
In order to get it working, try this by adding internal and external url under homeassistant section.
homeassistant:
internal_url: “http://hassio_ip:8123”
external_url: “http://hassio_ip:8123”

Thanks @timmo001 and @jasondefuria for this PR. Integration seems to be very stable so far, stopped seeing those errors and warning in log and lost connection to thermostate. I have one issue though when I am trying to turn on/off thermostat through HA I am getting following error

2020-09-29 15:44:27 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140174543893888] 'thermostatSetpointStatus'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 137, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1315, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1350, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 459, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 655, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 490, in _handle_entity_call
    await result
  File "/config/custom_components/lyric/climate.py", line 251, in async_set_hvac_mode
    await self.coordinator.data.update_thermostat(
  File "/usr/local/lib/python3.8/site-packages/aiolyric/__init__.py", line 103, in update_thermostat
KeyError: 'thermostatSetpointStatus'

any idea what is causing this?

Do you mind helping me deploy the new, working code? I am rather new to pull requests and such.

I am tracking that the “lyric” in HACS is outdated by six months.

How can I install the new code from timmo001 or your docker version? Do I utilize portainer? Also, when will the PR be a part of the official code, it appears that it’s part of the “core” code.

If you’d like to use the docker image, I suggest using docker-compose - you may use/adapt this compose file:
docker-compose.yml:

version: '3'
services:
  homeassistant:
    image: bshibley/home-assistant-lyric:latest
    volumes:
      - /${HOME}/home-assistant:/config
    environment:
      - TZ=America/Los_Angeles
    restart: always
    network_mode: host

Hi Dennis, any luck on solving this issue? I’ve got the same error configurating.

Configurator > request authorisation > log in > HA finds my T6 thermostat > Connect > 500 Internal Server Error, Server got itself in trouble

No I am still using Homekit from the original install of my T5 that is still working good so my view is if it’s not broke don’t fix it.

2nd that, plus Homekit is not cloud base…something I now try to adamantly avoid when it comes to home automation after dealing with Wink’s downfall.

Is there a way to get the AUTO mode working with a Lyric thermostat?
I have mine setup through homekit, but am unable to figure out how to get a card setup like the following:

dual-thermostat

https://community.home-assistant.io/t/dual-thermostat-card/85798