custom-components / climate.programmable_thermostat

Programmable thermostat that let you have a smart thermostat on budget.
The Unlicense
113 stars 35 forks source link

[Feature Request] Compatibility with Heat and Cool provided by same device #32

Closed koldogut closed 3 years ago

koldogut commented 3 years ago

Aerothermal systems are composed by a heat/cool pump and a water circuit (hose - coils) under the floor. It provides hot water in winter and cool water in summer (big tank in the basement) to heat or chill the floor. Heat or Chill mode is set in a central console and pumps (1 per plant) are activated with wired thermostats that turns on / off plant's circuit. Thermostat and central console must be set manually in every season to "summer / winter"

I've managed to integrate the central console in HA with curl and web-scrapping (tough, but it works). The point now is to by-pass the fisic thermostats using this programmable Thermostat (cool by the way, thank you for your work), but since cooling and heating device is the same (the relay wired to every pump-contactor where the fisic thermostat also is attached) it prompts the error described in post https://github.com/custom-components/climate.programmable_thermostat/issues/31#issue-766563563

I can set a complex script to create independent entities mixing HVAC mode set-point and Turn On and Off in order to make this custom thermostat work, but I think it could be easier to not toogle entities (stop cooling device prior to start heating one, which makes all the sense but not for this use-case) if they are the same.

Thank you in advance

MapoDan commented 3 years ago

Ciao,

Thanks for the clear description and I think that can be done, but I have one question. You will keep changing manually the season, so no necessity to consider that? if not, how do you plan to manage it? Will you have it in HA?

One very easier workaround in the mean time could be:

Let me know for the questions above and let me know if the temporary workaround works. Ciao Daniele

koldogut commented 3 years ago

Hey Mapo, sorry for the delay and happy new year! My idea was to use the thermostat to change manually the season; (ie. when any floor set to cold I can trigger to send a curl command to the central console and update the value to Summer).

Meanwhile, what I've done is to create virtual devices for cooling and heating pointing to the same entity using helpers but is "kinda tricky" and would prefer something simpler, I'll take a look nevertheless to your suggestion but it reduces the choice to use a single thermostat as stated in the example above, I'm afraid.

If you need any testing please let me know.

MapoDan commented 3 years ago

Ciao! Happy new year to you too! I've just published a new release v7.6. What it will do is managing the same list of entities for heaters and coolers and manage it in the right way! This will work only in manual mode, so I suggest to disable heat_cool mode setting hvac_option=3 in the configuration.

I made some test and it seems to work. What I think that can be added or managed differently:

Tell me if this version is working as you expect and tell me what you think of the 2 improvement I explained above. First one should be not too complex, the second one needs some important changes.

Ciao

koldogut commented 3 years ago

Hi Mapo, I've been running new version for a couple of days and it seems to be working fine; no errors in logs and pumps are activated correctly.

Regarding your points my comments below:

MapoDan commented 3 years ago

Closing issue since feature has been added and it is working.