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
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.
client_id
and client_secret
below.###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:
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
Ok…that worked
Couple of things:
The temperature 16-28 F is probably in celcius. The Target temperature slider also seems to be in celcius.
Mmm yeah, that’s the away setting, haven’t completely thought out how to deal with that and the lyric. It’s hard coded for now… Will change that.
Are you away right now? Or is your geofence off?
No geofence. It is on scheduled away (the thermostat is in the bedroom, so I put it to Away mode during the day; may be should change that).
Couple of comments on the code:
Are you sure T5 provides the humidity information? I guess, it may still be fine to keep it just in case future models provide humidity information.
Why do you specify self._eco_temperature = [16, 28]
?
The T5 does not, the Round does. Should make it conditional.
The eco_temperature should be changed, haven’t found a way to activate the away mode without turning geofence off. So will have to set it to a temperature or something, but the API does not return the temperature setting for away mode unfortunately.
Haven’t looked at all at scheduling and what the API does then, since I do use geofence, will look in to that tomorrow.
The fan has to be implemented as well still (again not supported here) but again no clear signal from the API I don’t have a fan.
Dual setpoints is another one I have to look in to…
This is a great start and look forward to further improvements
Great work!
Thank you! I got everything running last night. I didn’t have much time to play around with it, but the component was reporting all the proper temperatures and status. Ill tinker with it some more tonight to try to get you some better feedback.
Yeah…the temperature issue is gone
I tried to set away mode true using developer tool using {"away_mode": "true","entity_id": "climate.lyric"}
and using the switch on the card, but none of them worked. Also, wondering which services are working?