I was getting a conversion problem with the temperature units. I had to set the temperature units to TEMP_FAHRENHEIT for it to work correctly. Setting TempUnits=1 in the request URL may also work.
Since there is a bit of interest in this, here is a work-in-progress update.
Firstly the things that do not work yet or have not been tested.
I only have 1 house, 1 thermostat and 1 zone, so anything outside of that is untested.
Setting away mode is not yet implemented
Reading and setting programs is not yet implemented.
The F or C is hard coded for now (sorry!)
I finally got a chance to play with the climate platform.
Here are the files if you want to test/play.
Here is the api,
which you need to stick manually for now in:
.homeassistant\deps\lib\python3.4 or .homeassistant\deps\ depending on you hass version.
and some example template sensors from this are here:
Will update as soon as I get more time to finish this, aim is to expose more functionality and user configurable settings
Hopefully I will find the time to also create a PyPi package to make this easier to be officially supported.
Happy to see some hacking with iComfort and HASS. I’m really interested in getting home/away triggers setup also. When you are ready for more to install/test or scratch let me know. I’ve got a single dwelling setup also.
Hi,
I’m using hassio on Raspberry Pi3 but am not able to locate the folder you mentioned to copy lennox_api.py to it.
Any hint how I can copy this file so that it gets properly imported through Lennox.py component?
Is there any other way to load the api within configuration.yml file?
Thanks a million
Cheers
I’ve not maintained this any further unfortunately, no idea if it even still works.
But a solution I use, which works well, although will not be for everybody as it uses SmartThings.
I installed this in my SmartThings.
And then I use the SmartThings2MQTT to get my thermostat into HASS.
This means even Alexa sees the thermostat etc.
But of course it relies on SmartThings and mqtt…