nebulous / infinitude

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

Changes to thermostat cause Infinitude to go into some sort of publish change loop #83

Closed swerb73 closed 11 months ago

swerb73 commented 4 years ago

I've been running Infinitude now for a little over a week and am overall very happy with it. I've begun to write some automation through Webcore for Smartthings and everything is coming together nicely. I've noticed something odd I can't seem to track down. When my wife makes a change on the thermostat or through the thermostat app (We have the Bryan Evolution Touch Stat) the change is published and picked up by Infintude but it always goes into some sort of loop and keeps re-publishing that change back to the Carrier/Bryant cloud... I can see this when I view the events in the cloud and since I have email notifications turned on. It's almost like Infinitude grabs the update, pulls it down, applies it, caches it somewhere, then on every update interval (I'm set for 60 seconds) it sends it again. Thoughts on how to fix this or where to look further?

kskenyon commented 4 years ago

I am seeing the same thing.

bdf0506 commented 4 years ago

I've had this behavior ever since I started using infinitude. I think this is a result of Carrier's ultra crappy architecture. I wound up disabling any settings to the cloud and that seemed to fix the issue (set PASS_REQS to 0) . Not ideal, but I'd rather control it reliably from my smart home app (home assistant in my case), than deal with the race condition.

nebulous commented 4 years ago

Are you all still experiencing this issue? @swerb73 said his instance was set to a 60 second refresh (that's quite fast for Carrier's fragile systems btw). I don't use the passthru functionality much, preferring control via the physical device and Home Assistant for the most part, but haven't noticed this behavior in my limited testing. If I can reproduce the issue then I'll see if I can put together a workaround.

swerb73 commented 4 years ago

Turns out I don't think this was coming from the thermostat rather it was coming from using the app on our iPhone's. My working theory was that these updates get published to the Carrier cloud instance which Infinitude tries to pick up on scheduled interval but that's what sends it into a loop. I ended up removing these from our iPhone's and wrote an integration to SmartThings which is what we now use to adjust the thermostats from our phones.

I think the problem still exists but I just reported it wrong to start.

scyto commented 4 years ago

I have been having same issue with lots of email notifications recently, not figured out why as all i chaned was version of infinitude. let me try reducung the time interval / remove app from my phone

to be clear i dont have a loop - i have burst of email notifications some days, sometimes not other days - like 10 may come in all after one another.

i haven;t taken ifinitude out of the loop to positively ensure it isn't just carrier being more shit than normal

github-actions[bot] commented 11 months ago

Stale issue message