tuya-home-assistant icon indicating copy to clipboard operation
tuya-home-assistant copied to clipboard

Wront temperature

Open pawel-domanski opened this issue 2 years ago • 6 comments

Describe the bug

Wront temerature on termostat.

Expected behavior

the temperature shown is 5 times higher than it actually is.

Screenshots

image

Home Assistant Version 2022.4.2

Diagnostics for integrations and devices { "home_assistant": { "installation_type": "Home Assistant Core", "version": "2022.4.2", "dev": false, "hassio": false, "virtualenv": true, "python_version": "3.9.2", "docker": false, "arch": "armv7l", "timezone": "Europe/Warsaw", "os_name": "Linux", "os_version": "5.15.32-v7+", "run_as_root": false }, "custom_components": { "google_home": { "version": "1.9.10", "requirements": [ "glocaltokens==0.6.3", "google-api-python-client==2.38.0" ] }, "webrtc": { "version": "v2.3.0", "requirements": [] }, "sonoff": { "version": "v2.4.7", "requirements": [ "pycryptodome>=3.6.6" ] }, "localtuya": { "version": "3.2.1", "requirements": [] }, "diskspace": { "version": "0.8", "requirements": [] }, "securityspy": { "version": "1.1.3", "requirements": [ "pysecspy==1.2.1" ] }, "tuya_v2": { "version": "1.5.0", "requirements": [ "tuya-iot-py-sdk==0.4.1" ] }, "taipower_bimonthly_cost": { "version": "0.51.5", "requirements": [] }, "xiaomi_gateway3": { "version": "2.0.9", "requirements": [ "zigpy>=0.33.0" ] }, "miwifi": { "version": "2.3.0", "requirements": [] }, "config_editor": { "version": "4.1", "requirements": [] }, "hacs": { "version": "1.24.4", "requirements": [ "aiogithubapi>=21.11.0" ] } }, "integration_manifest": { "domain": "tuya", "name": "Tuya", "documentation": "https://www.home-assistant.io/integrations/tuya", "requirements": [ "tuya-iot-py-sdk==0.6.6" ], "dependencies": [ "ffmpeg" ], "codeowners": [ "@Tuya", "@zlinoliver", "@METISU", "@frenck" ], "config_flow": true, "iot_class": "cloud_push", "dhcp": [ { "macaddress": "105A17*" }, { "macaddress": "10D561*" }, { "macaddress": "1869D8*" }, { "macaddress": "381F8D*" }, { "macaddress": "508A06*" }, { "macaddress": "68572D*" }, { "macaddress": "708976*" }, { "macaddress": "7CF666*" }, { "macaddress": "84E342*" }, { "macaddress": "D4A651*" }, { "macaddress": "D81F12*" } ], "loggers": [ "tuya_iot" ], "is_built_in": true }, "data": { "endpoint": "https://openapi.tuyaeu.com", "auth_type": 0, "country_code": "48", "app_type": "tuyaSmart", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Termostat w Jadalni", "model": "HY369RT ZIGBEE", "category": "wk", "product_id": "ckud7u2l", "product_name": "Zigbee Smart", "online": true, "sub": true, "time_zone": "+02:00", "active_time": "2022-04-11T17:34:53+00:00", "create_time": "2022-04-11T05:32:00+00:00", "update_time": "2022-04-11T17:35:19+00:00", "function": { "temp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": 10, "max": 700, "scale": 1, "step": 5 } }, "mode": { "type": "Enum", "value": { "range": [ "comfortable", "auto", "holiday", "eco" ] } }, "child_lock": { "type": "Boolean", "value": {} } }, "status_range": { "temp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": 10, "max": 700, "scale": 1, "step": 5 } }, "temp_current": { "type": "Integer", "value": { "unit": "\u2103", "min": 0, "max": 700, "scale": 1, "step": 5 } }, "mode": { "type": "Enum", "value": { "range": [ "comfortable", "auto", "holiday", "eco" ] } }, "child_lock": { "type": "Boolean", "value": {} } }, "status": { "temp_set": 160, "temp_current": 205, "mode": "manual", "child_lock": false }, "home_assistant": { "name": "Termostat w Jadalni", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": null, "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "climate.jadalnia", "state": "heat_cool", "attributes": { "hvac_modes": [ "off", "heat_cool" ], "min_temp": 5.0, "max_temp": 350.0, "target_temp_step": 0.5, "current_temperature": 102.5, "temperature": 80.0, "friendly_name": "Termostat w Jadalni", "supported_features": 1 }, "last_changed": "2022-04-12T06:52:16.488177+00:00", "last_updated": "2022-04-12T06:52:16.488177+00:00" } } ] } } }

pawel-domanski avatar Apr 12 '22 07:04 pawel-domanski

I have exactly the same problem, 100 in HA equals 20 in smart life. In addition, the error with the change of the state of the sockets still occurs

pawelZminkowski avatar Apr 13 '22 08:04 pawelZminkowski

I have the same. Current temp is correct, but set temp is 5 times higher.

kevintedder avatar Apr 15 '22 22:04 kevintedder

Same here x5

adio93 avatar Apr 16 '22 12:04 adio93

Same here. Temperature is 5x in home assistant. It shows it correctly in smartlife app and google home app.

celiasmarthome avatar Apr 19 '22 23:04 celiasmarthome

My temporary solution (which I will probably leave by now) is as follows:

  1. create input_number
input_number:
  trv1:
    name: Niebieski
    initial: 20
    min: 15
    max: 25
    step: 1
  1. use input to set trv value IN AUTOMATIONS.YAML
- id: '1649847003643'
  alias: TRV niebieski
  trigger:
  - platform: state
    entity_id: input_number.trv1
  condition: []
  action:
  - service: climate.set_temperature
    data:
      temperature: '{{ states(''input_number.trv1'') | int * 5 }}'
    target:
      entity_id: climate.niebieski
  mode: single

pawelZminkowski avatar Apr 20 '22 09:04 pawelZminkowski

@pawelZminkowski can you tell where to place second part?

adrian-urbaniak-fluke avatar Apr 20 '22 09:04 adrian-urbaniak-fluke

Hi Gent,

Could me support how to fix issue with x5 temp? I just want to integrate 12 wall thermostats to the HA and some supla curtains (that is working). HA is on my local Asustor drive and integration of the Tuya is done by Tuya IoT. We could switch to polish:P Mo mail allegro0@ (onet)op.pl

lizi1983 avatar Nov 18 '22 11:11 lizi1983

HA is total shit now is you use it with Tuya devices (with some other producers too). Not worth my time. Wanna support? Ok, 5000€ 😂

pawelZminkowski avatar Nov 22 '22 18:11 pawelZminkowski