nebulous / infinitude

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

Multiple Carrier Touch Thermostats #94

Closed xeroiv closed 4 years ago

xeroiv commented 4 years ago

Multiple carrier touch thermostats pointing at the same Infinitude instance do not seem to produce desirable results. Is there a setup step that I am missing by following the raspberry pi setup on the wiki?

nebulous commented 4 years ago

Infinitude mimics the Carrier API which only supports single-thermostat calls. You can run multiple instances of Infinitude on different ports, however. Kludgey, but the whole mess is kludgey. 😐

xeroiv commented 4 years ago

I setup two services Infinitude and Inifitude2. The only thing that differed between the two was the port number. However the data on the dashboard is only for the first thermostat. There something else in the config that I am missing or should I just run it as a separate container from the first?

7ooL commented 4 years ago

I run two instance in a single slim vm. I simply copied the cloned git repository and have it configured for different ports. I think I made two services. There are two web instances running. I have written a python api that I use to change the configurations if both web services.

7ooL commented 4 years ago

Oh on the two thermostats I configured each to point to one of my running instances. Everything is working as one would.

nebulous commented 4 years ago

You'll have to also ensure that they have different storage folders. Either via brute force, having two separate copies of Infinitude each with its own state folder, or by specifying a different root_dirin the config

xeroiv commented 4 years ago

Ahh... that was the key. I just copied the infinitude folder and pointed the new service at the second folder. Works like a charm.