Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temperature randomly changed to 17 degree #1222

Open
3 tasks
0verEngineer opened this issue Dec 31, 2023 · 9 comments
Open
3 tasks

Temperature randomly changed to 17 degree #1222

0verEngineer opened this issue Dec 31, 2023 · 9 comments
Assignees
Labels
new bug incoming bug issue

Comments

@0verEngineer
Copy link

Prerequisites

  • Model name of your Devices
  • Output from Home Assistant Developer Tools state e.g.
  • Output from Home Assistant Device Diagnostic from BT
{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2023.12.3",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.4.14-200.fc38.x86_64",
    "run_as_root": true
  },
  "custom_components": {
    "better_thermostat": {
      "version": "1.4.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "simpleicons": {
      "version": "v2.2.0",
      "requirements": [
        "simpleicons==7.14.0"
      ]
    },
    "dual_smart_thermostat": {
      "version": "0.5.5",
      "requirements": []
    },
    "truenas": {
      "version": "0.0.0",
      "requirements": []
    },
    "momentary": {
      "version": "0.6.3",
      "requirements": []
    },
    "xiaomi_cloud_map_extractor": {
      "version": "v2.2.0",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    },
    "eventsensor": {
      "version": "3.3.1",
      "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": "Thermostat B\u00fcro",
      "temperature_sensor": "sensor.temp_office_temperature",
      "off_temperature": 20,
      "tolerance": 1.0,
      "humidity_sensor": "sensor.temp_office_humidity",
      "outdoor_sensor": null,
      "weather": null,
      "window_off_delay": 60,
      "window_sensors": "binary_sensor.window_sensor_03_office_contact",
      "cooler": null,
      "window_off_delay_after": 60,
      "model": "ME168"
    },
    "thermostat": {
      "climate.thermostat_01_office": {
        "name": "Thermostat_01_Office",
        "state": "heat",
        "attributes": {
          "hvac_modes": [
            "auto",
            "heat",
            "off"
          ],
          "min_temp": 5.0,
          "max_temp": 35.0,
          "target_temp_step": 1.0,
          "current_temperature": 16.0,
          "temperature": 35.0,
          "hvac_action": "heating",
          "friendly_name": "Thermostat_01_Office",
          "supported_features": 1
        },
        "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": "mqtt",
        "bt_integration": "mqtt",
        "model": "ME168"
      }
    },
    "external_temperature_sensor": {
      "entity_id": "sensor.temp_office_temperature",
      "state": "20.48",
      "attributes": {
        "state_class": "measurement",
        "unit_of_measurement": "\u00b0C",
        "device_class": "temperature",
        "friendly_name": "Temp_Office Temperature"
      },
      "last_changed": "2023-12-31T09:23:00.013255+00:00",
      "last_updated": "2023-12-31T09:23:00.013255+00:00",
      "context": {
        "id": "01HJZJY29DSS41726H6YE2RAC9",
        "parent_id": null,
        "user_id": null
      }
    },
    "window_sensor": {
      "entity_id": "binary_sensor.window_sensor_03_office_contact",
      "state": "off",
      "attributes": {
        "device_class": "door",
        "friendly_name": "Window_Sensor_03_Office Door"
      },
      "last_changed": "2023-12-30T23:37:31.327280+00:00",
      "last_updated": "2023-12-30T23:37:31.327280+00:00",
      "context": {
        "id": "01HJYHE0XZQRQWZ9W85CENBSQE",
        "parent_id": null,
        "user_id": null
      }
    }
  }
}

Description

I woke up today and the Living room and Office are not heated because the better thermostat somehow changed to 17 degree celsius.

Steps to Reproduce

Expected behavior:

Do not change the heating temp i set.

Actual behavior:

It changed the temp randomly without any reason.

Versions

Additional Information

@0verEngineer 0verEngineer added the new bug incoming bug issue label Dec 31, 2023
@mi-ty
Copy link

mi-ty commented Jan 1, 2024

Same issue but changes to random values between 28°C and 35°C

@0verEngineer
Copy link
Author

@KartoffelToby How can this happen? Why is the code even able to change the temperature? Only the user should be able to do this.

@matschbirne
Copy link

May a duplicate of #1097 ?

@Avinunca
Copy link

Avinunca commented Jan 5, 2024

I too observe random temperature setting changes.

@raoulbhatia
Copy link

FWIW, I also had issues with "malfunctions" of outdoor sensors until I decided to completely disable them.

No real issue since then.
Perhaps this is worth to check?

@bensuffolk
Copy link

Same issue but changes to random values between 28°C and 35°C

Same for me, it’s been randomly picking very high temps, leaving the heating on all night and waking up to a very warm room.

@Ciaccona
Copy link

Ciaccona commented Jan 20, 2024

I appear to have fixed the issue by not adding anything to do with outdoor temperature on all of the TRVs.

image

Not sure if this will work for others.

@bensuffolk
Copy link

I think from reading other similar issues the problem I had was that my tmp sensor died and I swapped it out for another one. Any changes to config seem to cause multiple instances to run and when the temp gets updated on the TRV its being read in the other instance as the user changing it, which then updates the value.

This seems to be a good thing to do :

#1097 (comment)

  • Remove all better thermostats and integrations

  • Install better thermostaat 1.2.1

  • Configure the thermostats

  • Never change any better thermostat setting after the initial configuration!!! That causes the same problem, even in 1.2.1.

  • update tot 1.4.0, now no problems at all for about 5 days.

  • I have not installed and used BT UI in this setup

But I have actually just gone straight for the 1.5 beta after deleting the old version.

@schummar
Copy link
Contributor

The issue you are describing should be fixed - or at least better - with 1.5 Beta 4. See #1231

I'm still observing my setup and there might still have been some unexpected temperature changes, but it's a lot better already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bug incoming bug issue
Projects
None yet
Development

No branches or pull requests

9 participants