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
744 stars 123 forks source link

Heating mode means 100% forced open #1155

Open tpospichal opened 9 months ago

tpospichal commented 9 months ago

[TS0601] Model name of your Devices

{
  {
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.11.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "armv7l",
    "timezone": "Europe/Prague",
    "os_name": "Linux",
    "os_version": "6.1.21-v7l",
    "supervisor": "2023.11.3",
    "host_os": "Home Assistant OS 11.1",
    "docker_version": "24.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "presence_simulation": {
      "version": "2.2",
      "requirements": []
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "reolink_dev": {
      "version": "0.60",
      "requirements": [
        "reolink==0.0.62",
        "aiosmtpd>=1.4.2"
      ]
    },
    "smart_thermostat": {
      "version": "2021.11.1",
      "requirements": []
    },
    "xiaomi_miot": {
      "version": "0.7.13",
      "requirements": [
        "construct>=2.10.56",
        "python-miio>=0.5.6",
        "micloud>=0.3"
      ]
    },
    "miele": {
      "version": "v2021.10.12",
      "requirements": [
        "requests_oauthlib>=1.3.0"
      ]
    },
    "versatile_thermostat": {
      "version": "4.0.0",
      "requirements": []
    },
    "nuki_ng": {
      "version": "0.2.1",
      "requirements": []
    },
    "better_thermostat": {
      "version": "1.4.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "better_thermostat",
    "name": "Better Thermostat",
    "after_dependencies": [
      "climate"
    ],
    "codeowners": [
      "@kartoffeltoby"
    ],
    "config_flow": true,
    "dependencies": [
      "climate",
      "recorder"
    ],
    "documentation": "https://github.com/KartoffelToby/better_thermostat",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues",
    "requirements": [],
    "version": "1.4.0",
    "is_built_in": false
  },
  "data": {
    "info": {
      "name": "Chodba ",
      "temperature_sensor": "sensor.teplota_chodba",
      "off_temperature": 20,
      "tolerance": 0.0,
      "window_sensors": null,
      "humidity_sensor": null,
      "outdoor_sensor": null,
      "weather": null,
      "cooler": null,
      "window_off_delay": 0,
      "window_off_delay_after": 0,
      "model": "TS0601_thermostat"
    },
    "thermostat": {
      "climate.0x2c1165fffe530151": {
        "name": "Hlavice chodba",
        "state": "heat",
        "attributes": {
          "hvac_modes": [
            "heat",
            "auto",
            "off"
          ],
          "min_temp": 5.0,
          "max_temp": 35.0,
          "target_temp_step": 0.5,
          "preset_modes": [
            "none",
            "schedule",
            "manual",
            "boost",
            "complex",
            "comfort",
            "eco",
            "away"
          ],
          "current_temperature": 21.5,
          "temperature": 20.0,
          "hvac_action": "heating",
          "preset_mode": "comfort",
          "friendly_name": "Hlavice chodba",
          "supported_features": 17
        },
        "bt_config": {
          "calibration": "local_calibration_based",
          "calibration_mode": "heating_power_calibration",
          "protect_overheating": false,
          "no_off_system_mode": false,
          "heat_auto_swapped": false,
          "valve_maintenance": false,
          "child_lock": false,
          "homaticip": false
        },
        "bt_adapter": "mqtt",
        "bt_integration": "mqtt",
        "model": "TS0601_thermostat"
      }
    },
    "external_temperature_sensor": {
      "entity_id": "sensor.teplota_chodba",
      "state": "21.02",
      "attributes": {
        "state_class": "measurement",
        "source": "1.2.3",
        "unit_of_measurement": "\u00b0C",
        "device_class": "temperature",
        "friendly_name": "Teplota chodba"
      },
      "last_changed": "2023-11-25T19:49:13.245032+00:00",
      "last_updated": "2023-11-25T19:49:13.245032+00:00",
      "context": {
        "id": "01HG40ETWXT3B5JWP8RGTY2B7B",
        "parent_id": null,
        "user_id": null
      }
    },
    "window_sensor": "-"
  }
}
}

Description

When BT is set to heating modeTRV is set to heating mode also but with this TRV it means 100% open. Right mode should be "Auto" than thermostat is regulating by the desired temperature.

Expected behavior:

Set TRV to auto mode instead of the heating mode.

Versions

HA 2023.11.3 BT 1.4.0

deveth0 commented 9 months ago

Read the docs ;-) there is a setting to swap heat /auto exactly for this case.

marcinkozlow commented 9 months ago

Enable this option. IMG_20231127_183324

tpospichal commented 9 months ago

I try this option, but nothing helps. I have to delete BT and the TRV from the system and setup it again now It look like that's work. By the way description of this setup is as unclear as possible.