Replies: 1 comment
-
Hello, I see your message on hacf.fr. Is it only at startup ? EDIt: I see you have answered in hacf.fr. I suggest to continue there. I will close this one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When my thermostat start I've this message in log :
2025-05-06 21:57:08.051 WARNING (MainThread) [custom_components.versatile_thermostat.feature_power_manager] PowerManager-Thermostat Parents - power not valued. check_power_available not available
Don't understand why. I change the general power sensor and use now a frient sensor with Z2M (esphome before).
Here is my thermostat :
hvac_modes: heat_cool, off, cool, heat, dry, fan_only min_temp: 10 max_temp: 27 target_temp_step: 0.5 fan_modes: auto, low, lowMedium, medium, mediumHigh, high, night preset_modes: none, frost, eco, comfort, boost swing_modes: off, H, V, H+V, C current_temperature: 20 temperature: 17 fan_mode: auto hvac_action: idle preset_mode: eco swing_mode: H+V is_on: true hvac_mode: heat type: null is_controlled_by_central_mode: true last_central_mode: null frost_temp: 13 eco_temp: 18 boost_temp: 20 comfort_temp: 19.5 frost_away_temp: 13 eco_away_temp: 17 boost_away_temp: 18.5 comfort_away_temp: 18 target_temperature_step: 0.5 ext_current_temperature: 10.75 ac_mode: true saved_preset_mode: eco saved_target_temp: 18 saved_hvac_mode: heat last_temperature_datetime: 2025-05-07T08:30:20.322579+02:00 last_ext_temperature_datetime: 2025-05-07T08:27:49.301372+02:00 minimal_activation_delay_sec: 5 minimal_deactivation_delay_sec: 0 total_energy: 0 last_update_datetime: 2025-05-07T08:31:52.572325+02:00 timezone: Europe/Paris temperature_unit: °C is_device_active: false device_actives: nb_device_actives: 0 ema_temp: 19.92 is_used_by_central_boiler: false temperature_slope: 0.08 hvac_off_reason: auto_start_stop max_on_percent: null have_valve_regulation: false last_change_time_from_vtherm: 2025-05-07T08:23:13.138049+02:00 presence_sensor_entity_id: input_boolean.declanchement_present presence_state: off is_presence_configured: true power_sensor_entity_id: sensor.compteur_electricite_power max_power_sensor_entity_id: input_number.seuil_de_delestage overpowering_state: unknown is_power_configured: true device_power: 3500 power_temp: 13 current_power: null current_max_power: null mean_cycle_power: null motion_sensor_entity_id: null motion_state: unavailable is_motion_configured: false motion_delay_sec: 30 motion_off_delay_sec: 300 motion_preset: comfort no_motion_preset: eco window_state: off window_auto_state: unavailable window_action: window_frost_temp is_window_bypass: false window_sensor_entity_id: binary_sensor.fenetre_salon window_delay_sec: 90 window_off_delay_sec: 30 is_window_configured: true is_window_auto_configured: false window_auto_open_threshold: 3 window_auto_close_threshold: 1 window_auto_max_duration: 420 is_safety_configured: true safety_state: off safety_delay_min: 90 safety_min_on_percent: 0.5 safety_default_on_percent: 0.1 is_auto_start_stop_configured: true auto_start_stop_enable: true auto_start_stop_level: auto_start_stop_slow auto_start_stop_dtmin: 30 auto_start_stop_accumulated_error: -10 auto_start_stop_accumulated_error_threshold: 10 auto_start_stop_last_switch_date: 2025-05-07T08:23:13.137719+02:00 is_over_climate: true start_hvac_action_date: null underlying_entities: climate.24587cdc4934_mqtt_hvac auto_fan_mode: auto_fan_none current_auto_fan_mode: auto_fan_none auto_activated_fan_mode: null auto_deactivated_fan_mode: null auto_regulation_use_device_temp: false follow_underlying_temp_change: true friendly_name: Thermostat daikin salon supported_features: 441
Here is my senso :
state_class: measurement unit_of_measurement: W device_class: power friendly_name: Compteur électricité Puissance
see that in log :
2025-05-06 22:01:21.606 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Parents - Calling service_set_preset_temperature, preset: boost, temperature: 21.0, temperature_away: None 2025-05-06 22:01:21.606 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Parents - Set preset_mode: boost force=True 2025-05-06 22:01:21.606 INFO (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Parents - find preset temp: boost 2025-05-06 22:01:21.606 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Parents - recalculate all 2025-05-06 22:01:21.606 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] Security is Off using the calculated_on_percent 0.376000 2025-05-06 22:01:21.606 DEBUG (MainThread) [custom_components.versatile_thermostat.prop_algorithm] Thermostat Parents - heating percent calculated for current_temp 20.7, ext_current_temp 12.7 and target_temp 21.0 is 0.38, on_time is 112 (sec), off_time is 187 (sec) 2025-05-06 22:01:21.607 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Parents - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.IDLE: 'idle'>, 'hvac_mode': 'heat', 'preset_mode': 'boost', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 13.0, 'eco_temp': 18.0, 'boost_temp': 21.0, 'comfort_temp': 19.0, 'frost_away_temp': 13.0, 'eco_away_temp': 17.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 18.0, 'target_temperature_step': 0.5, 'ext_current_temperature': 12.7, 'ac_mode': False, 'saved_preset_mode': 'boost', 'saved_target_temp': 20.5, 'saved_hvac_mode': 'heat', 'last_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'last_ext_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'minimal_activation_delay_sec': 20, 'minimal_deactivation_delay_sec': 0, 'total_energy': 284288.5, 'last_update_datetime': '2025-05-06T22:01:21.606937+02:00', 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 20.7, 'is_used_by_central_boiler': False, 'temperature_slope': 0, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': False, 'last_change_time_from_vtherm': '2025-05-06T22:00:33.361245+02:00', 'presence_sensor_entity_id': 'input_boolean.declanchement_present', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': 'sensor.compteur_electricite_power', 'max_power_sensor_entity_id': 'input_number.seuil_de_delestage', 'overpowering_state': 'unknown', 'is_power_configured': True, 'device_power': 1500.0, 'power_temp': 13.0, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 570.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_frost_temp', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.fenetre_parents_sensor_state_any', 'window_delay_sec': 90, 'window_off_delay_sec': 30, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_auto_open_threshold': 3.0, 'window_auto_close_threshold': 1.0, 'window_auto_max_duration': 420, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_over_switch': True, 'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.switchradparth'], 'on_percent': 0.38, 'power_percent': 38.0, 'on_time_sec': 112, 'off_time_sec': 187, 'cycle_min': 5.0, 'function': 'tpi', 'tpi_coef_int': 0.7, 'tpi_coef_ext': 0.02, 'calculated_on_percent': 0.38, 'vswitch_on_commands': [], 'vswitch_off_commands': []} 2025-05-06 22:01:21.607 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat Parents - Checking new cycle. hvac_mode=heat, safety_state=off, preset_mode=boost 2025-05-06 22:01:21.607 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Parents - Window auto is on, check the alert. last slope is 0.000 2025-05-06 22:01:21.607 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_window_manager] WindowManager-Thermostat Parents - Window auto event is ignored because bypass is ON or window auto detection is disabled 2025-05-06 22:01:21.608 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-Thermostat Parents - checking safety delta_temp=0.0 delta_ext_temp=0.0 mod_cond=True temp_cond=False climate_cond=False switch_cond=False 2025-05-06 22:01:21.608 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - Starting new cycle hvac_mode=heat on_time_sec=112 off_time_sec=187 force=True 2025-05-06 22:01:21.608 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - _async_cancel_cycle=<bound method TimerHandle.cancel of <TimerHandle when=855668.750915502 _run_async_call_action() at /usr/src/homeassistant/homeassistant/helpers/event.py:1561>> 2025-05-06 22:01:21.608 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Parents - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.IDLE: 'idle'>, 'hvac_mode': 'heat', 'preset_mode': 'boost', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 13.0, 'eco_temp': 18.0, 'boost_temp': 21.0, 'comfort_temp': 19.0, 'frost_away_temp': 13.0, 'eco_away_temp': 17.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 18.0, 'target_temperature_step': 0.5, 'ext_current_temperature': 12.7, 'ac_mode': False, 'saved_preset_mode': 'boost', 'saved_target_temp': 20.5, 'saved_hvac_mode': 'heat', 'last_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'last_ext_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'minimal_activation_delay_sec': 20, 'minimal_deactivation_delay_sec': 0, 'total_energy': 284288.5, 'last_update_datetime': '2025-05-06T22:01:21.608601+02:00', 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_device_active': False, 'device_actives': [], 'nb_device_actives': 0, 'ema_temp': 20.7, 'is_used_by_central_boiler': False, 'temperature_slope': 0, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': False, 'last_change_time_from_vtherm': '2025-05-06T22:00:33.361245+02:00', 'presence_sensor_entity_id': 'input_boolean.declanchement_present', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': 'sensor.compteur_electricite_power', 'max_power_sensor_entity_id': 'input_number.seuil_de_delestage', 'overpowering_state': 'unknown', 'is_power_configured': True, 'device_power': 1500.0, 'power_temp': 13.0, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 570.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_frost_temp', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.fenetre_parents_sensor_state_any', 'window_delay_sec': 90, 'window_off_delay_sec': 30, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_auto_open_threshold': 3.0, 'window_auto_close_threshold': 1.0, 'window_auto_max_duration': 420, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_over_switch': True, 'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.switchradparth'], 'on_percent': 0.38, 'power_percent': 38.0, 'on_time_sec': 112, 'off_time_sec': 187, 'cycle_min': 5.0, 'function': 'tpi', 'tpi_coef_int': 0.7, 'tpi_coef_ext': 0.02, 'calculated_on_percent': 0.38, 'vswitch_on_commands': [], 'vswitch_off_commands': []} 2025-05-06 22:01:21.609 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - calling turn_on_later hvac_mode=heat, should_relaunch_later=False off_time_sec=112 2025-05-06 22:01:21.609 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - Stopping cycle during calculation 2025-05-06 22:01:21.609 DEBUG (MainThread) [custom_components.versatile_thermostat.feature_safety_manager] SafetyManager-Thermostat Parents - checking safety delta_temp=0.0 delta_ext_temp=0.0 mod_cond=True temp_cond=False climate_cond=False switch_cond=False 2025-05-06 22:01:21.609 INFO (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - start heating for 1 min 52 sec 2025-05-06 22:01:21.609 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - Starting underlying entity switch.switchradparth 2025-05-06 22:01:21.609 WARNING (MainThread) [custom_components.versatile_thermostat.feature_power_manager] PowerManager-Thermostat Parents - power not valued. check_power_available not available 2025-05-06 22:01:21.609 DEBUG (MainThread) [custom_components.versatile_thermostat.underlyings] VersatileThermostat-Thermostat Parents-switch.switchradparth - Sending command turn_on with data={'entity_id': 'switch.switchradparth'} 2025-05-06 22:01:21.639 DEBUG (MainThread) [custom_components.versatile_thermostat.thermostat_switch] VersatileThermostat-Thermostat Parents - Calling update_custom_attributes: {'is_on': True, 'hvac_action': <HVACAction.HEATING: 'heating'>, 'hvac_mode': 'heat', 'preset_mode': 'boost', 'type': None, 'is_controlled_by_central_mode': True, 'last_central_mode': None, 'frost_temp': 13.0, 'eco_temp': 18.0, 'boost_temp': 21.0, 'comfort_temp': 19.0, 'frost_away_temp': 13.0, 'eco_away_temp': 17.0, 'boost_away_temp': 18.0, 'comfort_away_temp': 18.0, 'target_temperature_step': 0.5, 'ext_current_temperature': 12.7, 'ac_mode': False, 'saved_preset_mode': 'boost', 'saved_target_temp': 20.5, 'saved_hvac_mode': 'heat', 'last_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'last_ext_temperature_datetime': '2025-05-06T22:01:21.606458+02:00', 'minimal_activation_delay_sec': 20, 'minimal_deactivation_delay_sec': 0, 'total_energy': 284288.5, 'last_update_datetime': '2025-05-06T22:01:21.638855+02:00', 'timezone': 'Europe/Paris', 'temperature_unit': <UnitOfTemperature.CELSIUS: '°C'>, 'is_device_active': True, 'device_actives': ['switch.switchradparth'], 'nb_device_actives': 1, 'ema_temp': 20.7, 'is_used_by_central_boiler': False, 'temperature_slope': 0, 'hvac_off_reason': None, 'max_on_percent': None, 'have_valve_regulation': False, 'last_change_time_from_vtherm': '2025-05-06T22:00:33.361245+02:00', 'presence_sensor_entity_id': 'input_boolean.declanchement_present', 'presence_state': 'on', 'is_presence_configured': True, 'power_sensor_entity_id': 'sensor.compteur_electricite_power', 'max_power_sensor_entity_id': 'input_number.seuil_de_delestage', 'overpowering_state': 'unknown', 'is_power_configured': True, 'device_power': 1500.0, 'power_temp': 13.0, 'current_power': None, 'current_max_power': None, 'mean_cycle_power': 570.0, 'motion_sensor_entity_id': None, 'motion_state': 'unavailable', 'is_motion_configured': False, 'motion_delay_sec': 30, 'motion_off_delay_sec': 300, 'motion_preset': 'comfort', 'no_motion_preset': 'eco', 'window_state': 'off', 'window_auto_state': 'unavailable', 'window_action': 'window_frost_temp', 'is_window_bypass': False, 'window_sensor_entity_id': 'binary_sensor.fenetre_parents_sensor_state_any', 'window_delay_sec': 90, 'window_off_delay_sec': 30, 'is_window_configured': True, 'is_window_auto_configured': False, 'window_auto_open_threshold': 3.0, 'window_auto_close_threshold': 1.0, 'window_auto_max_duration': 420, 'is_safety_configured': True, 'safety_state': 'off', 'safety_delay_min': 60, 'safety_min_on_percent': 0.5, 'safety_default_on_percent': 0.1, 'is_over_switch': True, 'is_inversed': False, 'keep_alive_sec': 0, 'underlying_entities': ['switch.switchradparth'], 'on_percent': 0.38, 'power_percent': 38.0, 'on_time_sec': 112, 'off_time_sec': 187, 'cycle_min': 5.0, 'function': 'tpi', 'tpi_coef_int': 0.7, 'tpi_coef_ext': 0.02, 'calculated_on_percent': 0.38, 'vswitch_on_commands': [], 'vswitch_off_commands': []} 2025-05-06 22:01:24.864 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat sdbh - Last seen temperature changed. Event.new_state is <state sensor.0x00124b0023ade6df_last_seen=2025-05-06T20:01:24+00:00; device_class=timestamp, icon=mdi:clock, friendly_name=Température salle deau Last seen @ 2025-05-06T22:01:24.864449+02:00> 2025-05-06 22:01:24.864 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat sdbh - new last_temperature_measure is now: 2025-05-06 22:01:24.864449+02:00 2025-05-06 22:01:24.864 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat sdbh - Temperature changed. Event.new_state is <state sensor.0x00124b0023ade6df_temperature=18.14; state_class=measurement, unit_of_measurement=°C, device_class=temperature, friendly_name=Température salle deau Température @ 2025-05-06T22:01:24.864534+02:00> 2025-05-06 22:01:24.865 DEBUG (MainThread) [custom_components.versatile_thermostat.ema] EMA-Thermostat sdbh - timestamp=2025-05-06 22:01:24.864534+02:00 alpha=0.50 measurement=18.14 current_ema=18.13 new_ema=18.13 2025-05-06 22:01:24.865 DEBUG (MainThread) [custom_components.versatile_thermostat.base_thermostat] VersatileThermostat-Thermostat sdbh - After setting _last_temperature_measure 2025-05-06 22:01:24.864534+02:00, state.last_changed.replace=2025-05-06 22:01:24.864534+02:00 2025-05-06 22:01:24.865 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] We are already initialized slope=None last_temp=18.12 2025-05-06 22:01:24.865 DEBUG (MainThread) [custom_components.versatile_thermostat.open_window_algorithm] delta_t=5.000 delta_temp=0.010 new_slope=0.120 last_slope=None slope=0.120 nb_point=2
If you have an idea.
Beta Was this translation helpful? Give feedback.
All reactions