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
834 stars 126 forks source link

BT loses contact #802

Closed 5664f closed 1 year ago

5664f commented 1 year ago

Prerequisites

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.12.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.15.76-v8",
    "supervisor": "2022.11.2",
    "host_os": "Home Assistant OS 9.4",
    "docker_version": "20.10.19",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "better_thermostat": {
      "version": "1.0.0-beta54",
      "requirements": []
    },
    "nodered": {
      "version": "1.1.2",
      "requirements": []
    },
    "adaptive_lighting": {
      "version": "1.4.1",
      "requirements": []
    },
    "hacs": {
      "version": "1.29.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "scheduler": {
      "version": "v0.0.0",
      "requirements": []
    },
    "shelly": {
      "version": "1.0.2",
      "requirements": [
        "pyShelly==1.0.2",
        "paho-mqtt==1.6.1",
        "websocket-client"
      ]
    }
  },
  "integration_manifest": {
    "domain": "better_thermostat",
    "name": "Better Thermostat",
    "documentation": "https://github.com/KartoffelToby/better_thermostat",
    "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues",
    "iot_class": "local_push",
    "version": "1.0.0-beta54",
    "config_flow": true,
    "dependencies": [
      "climate",
      "recorder"
    ],
    "after_dependencies": [
      "climate"
    ],
    "codeowners": [
      "@kartoffeltoby",
      "@RubenKelevra"
    ],
    "requirements": [],
    "is_built_in": false
  },
  "data": {
    "info": {
      "name": "HT_OG_BZ_B",
      "temperature_sensor": "sensor.ts_og_bz_03_temperatur",
      "off_temperature": 19,
      "humidity_sensor": "sensor.ts_og_bz_03_luftfeuchtigkeit",
      "weather": "weather.forecast_zu_hause",
      "window_off_delay": 0,
      "window_sensors": null,
      "outdoor_sensor": null,
      "model": "Spirit"
    },
    "thermostat": {
      "climate.ht_og_bz_heizung": {
        "name": "HT_OG_BZ Heizung",
        "state": "heat",
        "attributes": {
          "hvac_modes": [
            "off",
            "heat"
          ],
          "min_temp": 8,
          "max_temp": 28,
          "preset_modes": [
            "none",
            "Energy heat",
            "Full power"
          ],
          "current_temperature": 15.9,
          "temperature": 13.3,
          "preset_mode": "none",
          "friendly_name": "HT_OG_BZ Heizung",
          "supported_features": 17
        },
        "bt_config": {
          "calibration": "target_temp_based",
          "calibration_mode": "heating_power_calibration",
          "protect_overheating": false,
          "no_off_system_mode": false,
          "heat_auto_swapped": false,
          "child_lock": false,
          "homaticip": false
        },
        "bt_adapter": "zwave_js",
        "bt_integration": "zwave_js",
        "model": "Spirit"
      }
    },
    "external_temperature_sensor": {
      "entity_id": "sensor.ts_og_bz_03_temperatur",
      "state": "18.6",
      "attributes": {
        "state_class": "measurement",
        "unit_of_measurement": "\u00b0C",
        "device_class": "temperature",
        "friendly_name": "TS_OG_BZ_03 Temperatur"
      },
      "last_changed": "2022-12-21T14:49:13.906673+00:00",
      "last_updated": "2022-12-21T14:49:13.906673+00:00",
      "context": {
        "id": "01GMTJHWDJG5X6NQPJSG71JYHB",
        "parent_id": null,
        "user_id": null
      }
    },
    "window_sensor": "-"
  }
}

Description

No control of the original TVR

Expected behavior:

Better thermostat is to change the temperature of the original TVR.

Actual behavior:

Every now and then, one of the 15 or so TVRs stops responding. The original TVR does not change its temperature, although BT has changed its temperature. Only when I "reload" the corresponding BT it take control of the original TVR again and the temp changes, and it starts to heat. -->

Additional Information (LOG Home Assistant)

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht Logger: custom_components.better_thermostat.utils.bridge Source: custom_components/better_thermostat/utils/bridge.py:31 Integration: Better Thermostat (documentation, issues) First occurred: 20. Dezember 2022 um 12:38:40 (19 occurrences) Last logged: 16:22:06

better_thermostat HT_OG_BR_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_OG_BZ_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat -: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_EG_SZ_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_OG_SZ_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic -->

Extreme thanks for your work.

wtom commented 1 year ago

Is this still happening?

5664f commented 1 year ago

Hello and good evening. I have installed the new version today. Therefore, I would have to watch everything a little from today if it occurs again. I would like to do and then report. This happened today:


Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.better_thermostat.utils.bridge Source: custom_components/better_thermostat/utils/bridge.py:31 Integration: Better Thermostat (documentation, issues) First occurred: 14:31:14 (12 occurrences) Last logged: 14:31:14

better_thermostat HT_EG_GT_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_EG_FL_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_EG_EZ_Seite_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_OG_AZ_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic better_thermostat HT_OG_BR_B: intigration: zwave_js isn't native supported, feel free to open an issue, fallback adapter generic

5664f commented 1 year ago

Is this still happening?

Hallo Tom, the error continues to occur regularly. If I then "reload" the corresponding integration, then the integration controls again.


Logger: custom_components.better_thermostat.utils.bridge Source: custom_components/better_thermostat/utils/bridge.py:31 Integration: Better Thermostat (documentation, issues) First occurred: 10:54:24 (5 occurrences)

5664f commented 1 year ago

Thanks for the feedback and great job.