KartoffelToby / better_thermostat

This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.
https://better-thermostat.org
GNU Affero General Public License v3.0
838 stars 127 forks source link

Tuya/Moes TV02 always switches to system_mode "auto" #614

Closed Daniel-WW closed 1 year ago

Daniel-WW commented 2 years ago

Prerequisites

Description

The TRV always switches back to system_mode "auto", which means that schedules of the TVR will be used and not BT. This "fall-back" happens with certainty when a window is opened and closed again, and the window contact switches the system_mode to "off" and then back to "heat". But the fault not even happens by manual triggering (window), but also automatically at irregular intervals. It seems like the default logic of the TRV checks the current_heating_setpoint in certain intervals, and sets it back to its own schedule temperature.

In this z2m-issue (#4750) the problem is described, with the advance to correct the problem in the automation of the respective task. I guess this need to be done in the BT-automation?

Steps to Reproduce

  1. Set desired temperature in BT
  2. Wait some time - or open and close a Window (manual trigger)
  3. TRV switches to system_mode "auto"
  4. The temperature and the settings of BT are no longer taken into account from the TRV: system_mode "auto"
KartoffelToby commented 2 years ago

Did you check the config: "If the auto means heat for your TRV and you want to swap it" if its checked, uncheck it

Daniel-WW commented 2 years ago

Hi, yes, this is unchecked.

esackbauer commented 1 year ago

Same for me, same TRV, same behaviour. Havent looked into it, but I guess BT is using Manual mode. You probably can set manual mode again after the TRV was set back to system_mode "heat" via attribute "preset". When I fiddled arount with it, it seems there needs to be a delay between setting "system_mode" and then "preset".

{
    "battery_low": false,
    "boost_timeset_countdown": 0,
    "child_lock": "UNLOCK",
    "comfort_temperature": 22.5,
    "current_heating_setpoint": 22,
    "eco_temperature": 21,
    "error_status": 0,
    "frost_protection": "OFF",
    "heating_stop": "OFF",
    "holiday_start_stop": "2021/01/01 01:01 | 2021/01/01 01:01",
    "holiday_temperature": 17,
    "linkquality": 61,
    "local_temperature": 21.9,
    "local_temperature_calibration": 0,
    "online": "ON",
    "open_window": "OFF",
    "open_window_temperature": 21,
 ** "preset": "auto", **
    "schedule": {
        "schedule": "09:00/20 20:30/22 24:00/20",
        "week_day": "sunday"
    },
    "schedule_friday": "07:00/20 20:30/22 24:00/20",
    "schedule_monday": "07:00/20 20:30/22 24:00/20",
    "schedule_saturday": "09:00/20 20:30/22 24:00/20",
    "schedule_sunday": "09:00/20 20:30/22 24:00/20",
    "schedule_thursday": "07:00/20 20:30/22 24:00/20",
    "schedule_tuesday": "07:00/20 20:30/22 24:00/20",
    "schedule_wednesday": "07:00/20 20:30/22 24:00/20",
    "system_mode": "heat",
    "update": {
        "state": "idle"
    },
    "working_day": "mon_fri+sat+sun"
}
OrbitingOcelot commented 1 year ago

I have the same issue, BT is unusable for me. Would be nice to actually have a mode where BT just changes temperaturs, and leaves the modes alone. Off = set temp to 6° for example.

KartoffelToby commented 1 year ago

There is an option for use min temp in beta 51 now