jmcollin78 / versatile_thermostat

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

Preset / target temp not being set by vtherm with own presets #624

Open williamka opened 3 weeks ago

williamka commented 3 weeks ago

Please read carefuly this instructions and fill this form before writing an issue. It helps me to help you.

6.6

Configuration


hvac_modes:
  - heat
  - "off"
min_temp: 7
max_temp: 35
target_temp_step: 0.5
preset_modes:
  - none
  - frost
  - eco
  - comfort
  - boost
  - activity
current_temperature: 19
temperature: 17
hvac_action: idle
preset_mode: eco
is_on: true
hvac_mode: heat
type: null
is_controlled_by_central_mode: true
last_central_mode: null
frost_temp: 7
eco_temp: 17
boost_temp: 21
comfort_temp: 20
frost_away_temp: 0
eco_away_temp: 0
boost_away_temp: 0
comfort_away_temp: 0
power_temp: null
target_temperature_step: 0.5
ext_current_temperature: 11
ac_mode: false
current_power: null
current_power_max: null
saved_preset_mode: eco
saved_target_temp: 33.5
saved_hvac_mode: null
motion_sensor_entity_id: binary_sensor.eve_motion_20eby9901_occupancy
motion_state: "on"
power_sensor_entity_id: null
max_power_sensor_entity_id: null
overpowering_state: null
presence_sensor_entity_id: null
presence_state: null
window_state: "off"
window_auto_state: "off"
window_bypass_state: false
window_sensor_entity_id: null
window_delay_sec: null
window_auto_enabled: false
window_auto_open_threshold: null
window_auto_close_threshold: null
window_auto_max_duration: null
window_action: window_turn_off
security_delay_min: 60
security_min_on_percent: 0.5
security_default_on_percent: 0.1
last_temperature_datetime: "2024-11-10T20:58:21.409061+00:00"
last_ext_temperature_datetime: "2024-11-10T20:40:09.646887+00:00"
security_state: false
minimal_activation_delay_sec: 10
device_power: 1
mean_cycle_power: 0
total_energy: 0.76
last_update_datetime: "2024-11-10T21:07:52.014038+00:00"
timezone: Europe/London
temperature_unit: °C
is_device_active: false
ema_temp: 18.88
is_used_by_central_boiler: false
temperature_slope: 0.11
hvac_off_reason: null
valve_open_percent: 0
is_over_valve: true
underlying_entities:
  - number.0x28dba7fffe044d36_valve_opening_degree
on_percent: 0
on_time_sec: 0
off_time_sec: 300
cycle_min: 5
function: tpi
tpi_coef_int: 0.6
tpi_coef_ext: 0.01
auto_regulation_dpercent: 10
auto_regulation_period_min: 5
last_calculation_timestamp: "2024-11-10T20:58:21.410252+00:00"
friendly_name: VT Den
supported_features: 401
'''

<!-- Please do not send an image but a copy / paste of the attributes in yaml format. -->

I'm trying to:
Turn the heating preset to comfort when motion. Detected in the room

And I expect:
I expect when motion detected for the preset to change to comfort and the target temperature to be set to the comfort temperature 20

But I observe this ....
Motion is detected but the preset and target temperature do not update

I read the documentation on the README.md file and I don't find any relevant information about this issue.

## Debug log

No related warming or error indicated in log
jmcollin78 commented 3 weeks ago

Hello @williamka,

Thank you for your report. The motion detection and switch preset is working on my env because I use it every day. So we will have to find what is wrong in your case.

If I understand well, you have a VTherm over_valve, the Vtherm is heating hvac_mode: heat, the motion is on motion_sensor_entity_id: binary_sensor.eve_motion_20eby9901_occupancy, motion_state: "on" but the preset 'Comfort' should be selected and is not. I see you have a central configuration.

First, we will check the configuration: Can you please, post me the motion configuration of the central config and the motion configuration of the VTherm ? Screen copy should be fine. You should have:

  1. the Vtherm motion configuration with a motion sensor and check the "use central configuration" and in the central configuration, you should have selected the preset with and without motion,
  2. or all in the VTherm configuration itself without "use central configuration".