Would love to see Honeywell Lyric thermostats integrated with HA. Honeywell has a well documented API to access the thermostat. I will be happy to work with you on this. I have the thermostat and can also test it out for you.
Does this not work?
No…that is only for the Honeywell Connected thermostats
Lyric is a different line of thermostats that Honeywell introduced to compete with Ecobee and Nest.
I would very much like this as well
I would love this
The honeywell lyric doesn’t have any kind of access as far as i know.
That’s why I decided to bring it back to the store and buy something else.
It does, it has an API. I’m looking into making a component for it.
Thanks, things are going ok, you can help testing once I’m done (almost)
What type of thermostat do you have and can it cool and heat?
I own a T5R that can only heat, so would be nice to have a Round that can cool as well
I have the T5 that can both heat and cool. Are you sure yours cannot cool? I am guessing once you get the basics ready (auth, device details), it should be easy to add the other features. Let me know when it is ready to test.
Yeah, if have the europe version… We are limited
I think I’ll have something you can test tomorrow… If I can find the time.
Teaser:
That is super cool. Look forward to trying it.
I have a honeywell t5 if you need another tester. Thank you for working on this.
The more the merrier!
It seems like there are a lot of variables in the output depending on device and region, so most of it works for me now, but with your setup that might be different! Let’s see what happens!
Download the 2 lyric.py files from my fork: components/lyric.py and climate/lyric.py (sensors and binary_sensors will follow) and place them in your Home Assistant components folder.
- Visit Honeywell Developers, and sign in. Create an account if you don’t have one already.
- Fill in account details.
- Submit changes
- Click “My Apps” at top of page, under your account.
- Click “Create New App”
- Fill in details:
- App name. Can be anything, I use Home Assistant.
- In the “Callback URL” enter the adress to your Home Assistant instance: “https://yourhomeassistant:8123/api/lyric/authenticate”. If you have base_url in your http config, use this url. Otherwise use your local ip.
- Click “Save Changes”
- On the apps page, click on the just created app.
- The “Consumer Key” and “Consumer Secret” are shown now. These will be used as
client_id
andclient_secret
below. - Once Home Assistant is started, a configurator will pop up asking you to log into your Lyric account.
###Configuration
# Example configuration.yaml entry
lyric:
client_id: CLIENT_ID
client_secret: CLIENT_SECRET
# Example configuration.yaml entry to show only devices at your vacation and primary homes
lyric:
client_id: CLIENT_ID
client_secret: CLIENT_SECRET
locations:
- Vacation
- Primary
Configuration variables:
- client_id (Required): Your Lyric developer client id.
- client_secret (Required): Your Lyric developer client secret.
- locations (Optional): The location or locations you would like to include devices from. If not specified, this will include all locations in your Lyric account.
Reboot Home assistant and you should see a Lyric configuration box!
Isn’t it better to put them in the custom_components folder for now?
That should work too, I’m quite new to Home Assistant. This is the first project i’ve did in Home Assistant and python, so got a few things to learn still
Just tried it…I got the configurator. But when I click continue, I see the error Failed to configure, please try again.
. I am using my test setup for this one that uses the local ip (192.168.2.149) address.
On clicking “Request authorization”, I see {"fault":{"faultstring":"Execution of BuildLoginPageUrl failed with error: Exception thrown from JavaScript : Invalid Request: Invalid Redirect URI. (build_login_url_js#34)","detail":{"errorcode":"steps.javascript.ScriptExecutionFailed"}}}
In the Lyric developer app, have you entered your 192.168.2.149 address as return uri?
And how does the link from “Request authorization” look?
Yes, here is the URL in the Developer App
https://192.168.2.149:8123/api/lyric/authenticate
Here’s the Request Authorization link:
You have https in you developer app, but you hass is running on http, could you change the return url to http