nebulous / infinitude

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

Novice trying to get off the ground... #169

Closed dookie-x closed 9 months ago

dookie-x commented 1 year ago

Apologies up front for the likely numbskull issue here, I'm a network guy but new to Synology/Docker/HA. Thus far, I have managed to get both HA and Infinitude running in Docker containers on a Synology NAS. Sort of...

Possibly complicating things: my thermostat is on an IoT VLAN, which can respond to but not initiate conversations with the primary VLAN where the NAS resides (both have free access to the internet). Thermostat is communicating w/Carrier properly (their app still works as expected).

My thermostat is configured with a proxy at NAS:3000. Both the HA and the Infinitude containers are using the Docker host network (ie: not a bridge) on their native ports (8123 / 3000). If I point a browser there, I see a blank Infinitude UI...no data, but I do get the UI. HA starts and runs as expected, save Infinitude. I've edited my configuration.yaml (I think) appropriately, and when HA starts it calls out the custom integration, but no further complaints. Relevant section of the config file:

"# Infinitude add-in climate:

Then when HA starts, first it calls out the custom integration as expected, but then it fails as follows:

"Error while setting up infinitude platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/infinitude/climate.py", line 111, in setup_platform zones = status["zones"][0]["zone"] TypeError: 'NoneType' object is not subscriptable"

I guess my question is why isn't Infinitude able to retrieve data from Carrier, thus showing the blank UI? It does show the globe in blue. I'm assuming that once there is data available, HA should be ok...

nebulous commented 1 year ago

Possibly complicating things: my thermostat is on an IoT VLAN, which can respond to but not initiate conversations with the primary VLAN where the NAS resides (both have free access to the internet). Thermostat is communicating w/Carrier properly (their app still works as expected).

I would guess that's at least one problem. A tcp connection will need to be established originating from the stat to Infinitude for the proxy connection.

Elder-HVAC-Man commented 1 year ago

Did you come up with a solution to this? Having the same problem, but on the same network.

github-actions[bot] commented 9 months ago

Stale issue message