[RELEASE] Lennox iComfort Thermostat

Chris,
Personally, I own a single zone system. I can look into that issue in details if I can get my hands on a multi zone. Perhaps changing the polling to 1 minute will help with updating the set points to reflect the temps correctly in those other zones.

Hi Jason,

Ill try that. If you need me to try different things, let me know and I can help you enhance this app.

Thaks again

After the recent update for android app, it causes the app to crash, when I select the Things it shows a red ribbon and returning error instead of the devices.

I’ve just added Away Mode button in the new version. If you intend to install this new version, please uninstall the previous version first, remove it from SmartApp section and SmartDevice section. I think I may have a solution for Android errors. Just a fair warning to all, I didn’t have time to fully test this version and also, I don’t own any Android devices at all.

for iPhone and Windows Phone version:

  1. iComfort Service Manager
  2. iComfort Thermostat

for Android version:

  1. iComfort Service Manager
  2. iComfort Thermostat

Looks like it is working on Android now. Although I did have to roll back my app to 1.6.9 as the 1.7.2 update flat lines on my phone. Thanks for the work on this!

Unfortunately still does not work on my device, which is a Nexus 5 with lollipop 5.1, Jason I may have change to find an android unit for you, but first I wanted to see if you have used the Android simulators on PC? Which is much easier to deal with other than a real device which there are hundreds of varieties out there.

I used blue stacks to simulate android. It was painfully slow. Seems like it worked for @leonard_v_fisher. Did you install the right one? I had to maintain a different code for android. Check my previous post

I used the updated code and it worked just fine. Now I just need to go through and trigger the “Away” and “Present” settings based on arriving and departing.

HINT: I’ve coded it with the same command as Nest Thermostat created by the community. SO, they are compatible with the smartapps created for Nest shared by developers.

How to leverage those smartapps :

  1. Create new SmartApp in IDE. You can put in any description in the form. Save.
  2. Browse SmartApps Template on the top right. Browse Shared SmartApps
  3. Look for anything related to thermostats SmartApps e.g “Thermostat Auto Away”, “Nest Thermostat”, “Thermostat Timed Mode Change”. Mostly are in the “Green Living” Category
  4. Overwrite. Save. Publish and install it in your mobile phone
  5. Enjoy

Thanks @copyninja. I will see if there is anything for my specific need or if I need to figure out how to write a smart app with them as an example.

Hey copyninja,

Trying to get this to work. Created the Service Manager fine but when I go to create the thermostat code on smartthings this error appears:

No signature of method: script14291845435841256604285.metadata() is applicable for argument types: (script14291845435841256604285$_run_closure1) values: [script14291845435841256604285$_run_closure1@33d13a72] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Any suggestions?

Thank you

thermostat codes in “My Devices Types”, not “My Smart Apps”

Updated, thanks.

Scott Tauriello’s Device Types
Namespace/Name Status Capabilities OAuth Sessions
copy-ninja : iComfort Thermostat Published Polling, Refresh, Relative Humidity Measurement, Thermostat

Next step is to try later today. Will reply back, phone is HTC so not sure this will work.

Got everything installed, but now getting an error:

" Error-Bad State. Unable to complete page configuration. "

Do I need to update the code? I redid my password at icomfort to make sure everything was syncing that way.

Thoughts?

Starting to test as well. Thanks for authoring this Jason.

One initial note: incorrect user credentials causes the app to crash.

Most probably bad user credentials. make sure there’s no space after your username or password

Used to work fine. I’ll look into it when i write the next device type.

Made sure it wasn’t user or password. The icomfort app logins fine. I reset password just to be 100%.

Still says after enterin Id and password error page configuration.

Yeah, I tried giving it a go as well with my icomfort thermostat and I also got a page configuration error – my “things” won’t come up until I uninstall the smartapp. I’m hoping we can get this working again!

I’m using the latest version of android (5.0) with the latest smartthings app (1.7.2 ) on my Samsung Galaxy S5 .

Thanks for all your guy’s hard work! I wish I knew more about this to help debug. - Derek

Any idea why I would get the error “You are not authorized to perform the requested operation” after entering my credentials?

I am using the Windows Phone version of the app, and followed you instructions in the first post. When I tap on the “iComfort” app, it prompts for credentials, but whether I enter the correct credentials or not, I get the above error. I got the same error when I added the Logitech harmony app too, so it may not be related to the app per se.

Thanks for the help. New here, but looking forward to becoming a smartthings junkie.

It looks like the SmartThings endpoint server has been blacklisted by icomfort. The logs for the app show the following error:

“error java.lang.SecurityException: Endpoint https://:@services.myicomfort.com is blacklisted. @ line 294”

Any hope of resolving this, or are we going to have to petition the owners of the iComfort service? (yeah, that’ll work).