nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
225 stars 50 forks source link

PASS_REQS configured but not able to connect to thermostat via Carrier app #119

Closed olsocialsignin closed 3 years ago

olsocialsignin commented 3 years ago

I have Infinitude set up and am able to make changes via the Infinitude service, however I am not able to connect via the Carrier app, either via the web or via the iOS application. I have PASS_REQS configured, is there anything else that needs to be set up to allow the Carrier app to see the thermostat?

My docker command is docker run --rm -v $PWD/state:/infinitude/state \ -e PASS_REQS='1020' \ -e MODE='Production' \ -p 3000:3000 \ nebulous/infinitude

scyto commented 3 years ago

no, i am able to connect with old and new app

did you have the app working before you put infinitude in the path?

also it can take some hours for the thermostat to talk to the carrier back end in normal operation or when proxied - give it sometime; they have no clue how to write a web service....

olsocialsignin commented 3 years ago

the app was working before I configured the Infinitude proxy server. Once I put the proxy server in then it stopped connecting

@scyto what steps did you take to set up Infinitude? Did you only enable the "PASS_REQS" parameter?

scyto commented 3 years ago

these my settings (you don't need the serial one as you don't have a serial to tcp/ip convertor). Note the first few env vars don't need to be specified manually. Before you focus on the app make sure that the thermostat reports it is connected.

image

olsocialsignin commented 3 years ago

where are you seeing these settings? when I go to my local infinitude page, it doesn't appear on there

nebulous commented 3 years ago

As usual @scyto nailed it, but Carrier does have a new Carrier Home app that I haven't tested, so that could be a factor if you're using it. With a reasonable PASS_REQS value (a few minutes) it has always worked for me (though I very rarely use the Carrier apps - preferring instead to control everything via Home Assistant without dealing with Carrier's shenanigans). First be sure that the control loop is working between your stat and infinitude, then work on infinitude to Carrier. If you set mode to development you'll see debugging information about the request cycles and dumps of each request and response are also available in the state folder which might help to narrow things down as well.

scyto commented 3 years ago

@nebulous kind words, lol, as usual me poking and hoping (TM) :-)

As an FYI I have the new app loaded on my phone and ipad since the day it came out (its not really better, just different). Haven't seen any issues yet. If i see anything i will dig in.

Only other thing i can think of is my container is quite old, i will try and get it uptodate to see if that causes any issues.

nebulous commented 3 years ago

Closing for inactivity, but feel free to re-open if you have additional details, @olsocialsignin