Honeywell Lyric Thermostat

That. I’ll give that a shot.

Here is my home_controller-entity-map for my T5. I’m still on version 112, haven’t tried the fix yet.

{
    "data": {
        "pairings": {
            "02:2C:4E:0B:D1:2C": {
                "accessories": [
                    {
                        "aid": 1,
                        "services": [
                            {
                                "characteristics": [
                                    {
                                        "format": "bool",
                                        "iid": 2,
                                        "perms": [
                                            "pw"
                                        ],
                                        "type": "00000014-0000-1000-8000-0026BB765291"
                                    },
                                    {
                                        "format": "string",
                                        "iid": 3,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000020-0000-1000-8000-0026BB765291",
                                        "value": "Honeywell"
                                    },
                                    {
                                        "format": "string",
                                        "iid": 4,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000021-0000-1000-8000-0026BB765291",
                                        "value": "RCHT8610WF2006"
                                    },
                                    {
                                        "format": "string",
                                        "iid": 5,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000023-0000-1000-8000-0026BB765291",
                                        "value": "Lyric-E65030"
                                    },
                                    {
                                        "format": "string",
                                        "iid": 6,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000030-0000-1000-8000-0026BB765291",
                                        "value": "C01746D0010052"
                                    },
                                    {
                                        "format": "string",
                                        "iid": 7,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000052-0000-1000-8000-0026BB765291",
                                        "value": "2.6.7"
                                    },
                                    {
                                        "format": "uint32",
                                        "iid": 8,
                                        "perms": [
                                            "pr",
                                            "ev"
                                        ],
                                        "type": "000000A6-0000-1000-8000-0026BB765291",
                                        "value": 0
                                    }
                                ],
                                "iid": 1,
                                "stype": "accessory-information",
                                "type": "0000003E-0000-1000-8000-0026BB765291"
                            },
                            {
                                "characteristics": [
                                    {
                                        "format": "uint8",
                                        "iid": 10,
                                        "maxValue": 2,
                                        "minStep": 1,
                                        "minValue": 0,
                                        "perms": [
                                            "pr",
                                            "ev"
                                        ],
                                        "type": "0000000F-0000-1000-8000-0026BB765291",
                                        "value": 0
                                    },
                                    {
                                        "format": "uint8",
                                        "iid": 11,
                                        "maxValue": 3,
                                        "minStep": 1,
                                        "minValue": 0,
                                        "perms": [
                                            "pr",
                                            "pw",
                                            "ev"
                                        ],
                                        "type": "00000033-0000-1000-8000-0026BB765291",
                                        "value": 1
                                    },
                                    {
                                        "format": "float",
                                        "iid": 12,
                                        "maxValue": 100,
                                        "minStep": 0.5,
                                        "minValue": 0,
                                        "perms": [
                                            "pr",
                                            "ev"
                                        ],
                                        "type": "00000011-0000-1000-8000-0026BB765291",
                                        "unit": "celsius",
                                        "value": 19
                                    },
                                    {
                                        "format": "float",
                                        "iid": 13,
                                        "maxValue": 32,
                                        "minStep": 0.5,
                                        "minValue": 10,
                                        "perms": [
                                            "pr",
                                            "pw",
                                            "ev"
                                        ],
                                        "type": "00000035-0000-1000-8000-0026BB765291",
                                        "unit": "celsius",
                                        "value": 15.5
                                    },
                                    {
                                        "format": "uint8",
                                        "iid": 14,
                                        "maxValue": 1,
                                        "minStep": 1,
                                        "minValue": 0,
                                        "perms": [
                                            "pr",
                                            "pw",
                                            "ev"
                                        ],
                                        "type": "00000036-0000-1000-8000-0026BB765291",
                                        "value": 1
                                    },
                                    {
                                        "format": "string",
                                        "iid": 15,
                                        "perms": [
                                            "pr"
                                        ],
                                        "type": "00000023-0000-1000-8000-0026BB765291",
                                        "value": "Lyric T5 Thermostat"
                                    },
                                    {
                                        "format": "float",
                                        "iid": 20,
                                        "maxValue": 2.5,
                                        "minStep": 0.5,
                                        "minValue": 0,
                                        "perms": [
                                            "pr",
                                            "pw",
                                            "ev"
                                        ],
                                        "type": "DA2B20B8-6055-4742-B086-2C753CC9F215",
                                        "unit": "celsius",
                                        "value": 0
                                    }
                                ],
                                "iid": 9,
                                "stype": "thermostat",
                                "type": "0000004A-0000-1000-8000-0026BB765291"
                            }
                        ]
                    }
                ],
                "config_num": 0
            }
        }
    },
    "key": "homekit_controller-entity-map",
    "version": 1
}

Hello
I’am new and i just started with HA this week (I’m a newbie too in programmation). I try to put my D6 pro thermostat. So I followed the instructions but I have some issues:

Error # 1
Logger: homeassistant.setup
Source: setup.py:127
First occurred: 10:15:42 (3 occurrences)
Last logged: 10:15:42

  • Setup failed for client_secret: Integration not found.
  • Setup failed for client_id: Integration not found.
  • Setup failed for locations: Integration not found.

Error # 2
Logger: homeassistant.setup
Source: setup.py:158
First occurred: 10:15:42 (1 occurrences)
Last logged: 10:15:42

  • Setup failed for lyric: Invalid config.

Error # 3
Logger: homeassistant.config
Source: config.py:737
First occurred: 10:15:42 (1 occurrences)
Last logged: 10:15:42

  • Invalid config for [lyric]: required key not provided @ data[‘lyric’][‘client_id’]. Got None required key not provided @ data[‘lyric’][‘client_secret’]. Got None. (See ?, line ?). Please check the docs at Honeywell Lyric - Home Assistant

When I try to add the integration i have this popup.
image

Thank you in advance

@x-orCanada did you follow my instructions exactly? based on the error log here:

Invalid config for [lyric]: required key not provided @ data[‘lyric’][‘client_id’]. Got None required key not provided @ data[‘lyric’][‘client_secret’]. Got None. (See ?, line ?). Please check the docs at https://www.home-assistant.io/components/lyric

I would guess that there is something incorrect or incomplete in the secrets.yaml. Did you register an account and API key with honeywell’s site? Did you add the consumer key to lyric_username: and Consumer Secret to lyric_password: ?

Can you paste the lyric section for your configuration.yaml? Do not post your secrets.yaml.

Thanks alot for your help

Did you register an account and API key with honeywell’s site? yes
Did you add the consumer key to lyric_username: and Consumer Secret to lyric_password: ? yes

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

lyric:
client_id: !secret lyric_username
client_secret: !secret lyric_password

Try 2 spaces indenting the username and password lines

It’s working now thank you. :smiley:

WOO!!!

this is why i never got into programming. it should work without 2 spaces …

so it looks like the issue was fixed with homekit for the T6 https://github.com/home-assistant/core/issues/37083

Can anyone confirm its working with the t5 as well?

Asking for a friend. LOL

knocks on the wall to be sure my T5 still works with the cobbed together setup…

Barring that fix is in the 0.113.0 branch, the answer is no for the T5 with Homekit. While everything else works, changing the temp still doesn’t work on the T5.

EDIT: I stand corrected, I just upgraded to the 0.113.2 branch and I am able to change temps on my Lyric T5 now.

3 Likes

does it change states as well? what does it say in developer options when cooling and idle?

1 Like

Yes I can change between states, and temp change works in all states.

2 Likes

Congratulations and sincere thanks to everyone who worked on getting the Lyric line of Honeywell Thermostats working. Well done.

Edit for Clarity: HomeKit integration now works perfectly. This is different from the API approach.

1 Like

Okay folks, I spent the last couple of weeks reviewing some python to get this integration going again.

The API changed, so the URL will need to be changed in Home Assistant. That is in the readme file. You can add as custom repository to HACS, and it should run smoothly.

I am not responsible if this causes your whatever (furnace, AC) to explode, but I am running it at home with no ill effects. You know, just covering myself legally.

2 Likes

@jasondefuria I just got your code installed and working!

I’m able to see the temperature and change it in the UI but I’m unable to change temperature in a automation, Does that work for you before I start hunting for help?

Not using his componant, but I just looked through the coding and its just slightly differernt and appears to have addressed the issues from the version im running.

post your automation maybe the problem lies in it?

using:

climate.set_temperature

with:

entity_id: climate.thermostat
temperature: 80
target_temp_high: 90
target_temp_low: 50
hvac_mode: cool

works for me in developer tools.

Thanks for working on this. My lyric t5 stopped working in home assistant 2 days ago So I am hoping your component will get it back up and running!

I have deleted the old lyric component and lyric.conf file . Then I added your custom component via HACS . I also have my URL in Honeywell developer set to https://[my duckdns address]/auth/lyric/callback. I also still have all the old lyric API key and secret in the configuration.yaml file

My duckdns address does not use: 8123 so I have omitted that from the callback URL.

After HA restart I get a notification from Configurator to configure the lyric. Requesting authorization yields the following error
{“code”:400, “message”:“The redirect URL provided does not match the redirect URL registered for the app.”}

Any ideas of something I am doing wrong?

I really suggest people just use the Integration Homekit, (you don’t need a Apple Homekit product to use it, which I thought initially), HA acts as the Homekit controller…just install the Ingration HomeKit plug in.

Also a huge benefit to the Homekit integration is that it’s not cloudbase! HA communicates directly to the Lyric…personally the less reliance on the could the better if you ask me.

Screenshot_20200808_114831

A huge thanks to those who worked on the plug-in as I used for years, but it was problematic over the years. And for the average user it can be a PITA to get going…Homekit was easy, install integration, add ID number of Lyric and off you go.

2 Likes

@mazcoder My guess is somewhere there’s something off. That 400 message is when its not generating the correct URL to match what is expected.

When it opens that page, copy the URL that it makes for you (that gives you the 400 error). Then put it in https://www.urldecoder.org/ and see- does it match what you have in Honeywell Developer? Are you missing a character somewhere in copying/pasting?

@ski522 Hmm so this HomeKit controller does sound nice but when I install it does not find the Lyric T5. It found my Vizio Smartcast however.