jmcollin78 / versatile_thermostat

A full featured Thermostat for Home Assistant: presets, window, motion, presence and overpowering management
MIT License
329 stars 34 forks source link

[Enhancement]: specify hvac_mode to use when window open is detected. #255

Closed jmcollin78 closed 10 months ago

jmcollin78 commented 11 months ago

Discussed in https://github.com/jmcollin78/versatile_thermostat/discussions/254

Originally posted by **Abyssmal** December 8, 2023 Firstly - thank you for your great work! It's amazing how much thought went into this project. I will be making a donation in a bit. I've been using VTherm for 2 months now (start of heating season here). I've incorporated door/window sensors, motion/presence, power meters on the hvacs. Everything! Also using it over two convector heaters. And it's working flawlessly. Energy bill went 15% down, maybe more. In cold season as can be expected windows and doors are being opened just a few times a day to freshen up the air. I've made some node red automations to switch mode to fan_only when window is open and VTherm turns off, so it ventilates the room faster. And after closing - switching to heat mode. **Problem** is - the integration turns completely off the hvacs on window open, which can significantly impact the life of the hvacs - closing and opening the covers. **Proposal**: add option to _**change hvac mode**_ on window open, instead of turning off. Again keep up the great work, my friend. You, sir, are a time saver! PS: Sorry for incomplete topic title.
raphpa commented 10 months ago

I would like to set the thermostat to a (low) target temperature on window open.

The Aqara TRV E1 does a full valve cycle (moving to full open, then to full close) when you set it to Off. This obviously drains a lot of battery. Setting it to a low target temperature would just make it close the valve directly.

Setting it to a preset like Frost would also be okay. Or have a global option that switches to Frost whenever Off is demanded of the climate entity.

For TRVs like this with internal temperature control I do not even see a reason to ever turn it off completely without having at least frost protection.

jmcollin78 commented 10 months ago

Développement in on the way. I have added 4 options :

  1. hvac_mode OFF (the default as today),
  2. hvac_mode FAN_ONLY (if compatible and only for over_climate),
  3. set temp to Frost protection temperature if configured (*),
    1. set temp to Eco temp if configured (*)

This doesn't not change the preset but only the target temperature. Exactly the same way as it does for overpowering.

This should be available at the end of week maybe in preview.

jmcollin78 commented 10 months ago

https://github.com/jmcollin78/versatile_thermostat/releases/tag/5.3.3