nebulous / infinitude

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

Websocket opened, but no streaming source found #116

Closed cfilkins closed 2 years ago

cfilkins commented 3 years ago

I just had a Heil Ion system installed, which is the same platform as the Carrier Infinity. I have HomeAssistant, and am running Infinitude in a docker container. In developer mode, I can see that data is being sent to Infinitude (although I can't use the UI, as developer mode breaks other things). In production mode, it appears that data is being picked up by infinitude, but nothing shows up in the UI. The UI also throws some errors in the dev console, and trying to query data through the API simply returns a "success" response, with no data. Am I missing something?

cfilkins commented 3 years ago

I found that Infinitude is ignoring all of the requests coming from the thermostat, because the URL it's calling out to is just www.ioncomfort.com, so I was able to tweak the code to accept the requests. I'm still having some issues getting any config data from the API, though...it just returns blank. Looking through the code, there's something missing with systems.xml not getting saved (or read) properly.

blinkwise commented 3 years ago

Were you able to get this working? I am running into the same issue and have an ion system as well.

scyto commented 3 years ago

just fyi 'Websocket opened, but no streaming source found' i think this is normal when you don't have serial configured (aka shouldn't affect normal usage)

audreez commented 2 years ago

did you ever figure it out? i have the ion system as well and i see data coming in but nothing is displayed, see pic

image

kdjordjev commented 2 years ago

I am also having issues getting from Bryant system [https://github.com/nebulous/infinitude/issues/129]

Any help appreciated

nebulous commented 2 years ago

I'll add ioncomfort.com to the list of whitelisted domains if it's compatible.

audreez commented 2 years ago

u da man, now its getting some/most of the data (see pic) problem is i cannot control it from the app anymore and im getting these in logs, assuming this disabled passthrough is the problem, how to enable it?

thanks! how do i buy u a beeR?

image image

nebulous commented 2 years ago

Check your pass_reqs setting in infinitude.json(or PASS_REQS env var if you're using docker). Infinitude talks to the thermostat much more aggressively than the manufacturer's API. To be a good citizen, we only forward requests to the OEM webservice at a maximum rate of every pass_reqs seconds which by default is 1020, or 17 minutes. You may set that value lower to see more traffic going out to Carrier (or in your case Ioncomfort I guess), but I wouldn't go lower than maybe 300.