tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
857 stars 206 forks source link

Tuya IOT heater detected as ON/OFF switch #747

Open jandy123 opened 2 years ago

jandy123 commented 2 years ago

I have a problem with a tuya "qn" heater (model Eurom e-convect wifi 400W). Tuya (v2) integration is useless in this case, since although the device is detected, and added to Tuya IOT cloud, it has no entities. The culprit is the Tuya cloud binding/detection. What happens is that the device is seen as a simple switch with json (standard) instruction set

[
  {
    "code": "switch",
    "value": false
  }
]

Another "identical" device but with a newer firmware is seen correctly by the IOT cloud and works fine with Tuya (v2) api. The instruction set is as it should:

 [
  {
    "code": "c_f",
    "value": "C"
  },
  {
    "code": "temp_set_f",
    "value": 32
  },
  {
    "code": "temp_set",
    "value": 22
  },
  {
    "code": "switch",
    "value": false
  }
]

The wired and ugly part is that I cannot perform a firmware update in the official tuya smart app, of which I have no clue why...

==== For now I use the old Tuya integration, but when HA won't be compatible anymore, I'll have a problem.

Any ideas what I can try? Somebody else with the same problem?

Is really the only option wiping out the tuya stuff and go Tasmota with custom plugin? It's a shame, really...

Thanks in advance!

frenck commented 2 years ago

Yesterday, Home Assistant 2022.2 was released. Could you try upgrading to that version and see if the issue has been resolved?

If not, Home Assistant 2022.2 contains a new diagnostic tool. There is now a "Download Diagnostics" button on each Tuya device on the device page. Clicking that button will download diagnostics information for that specific device. Drag the downloaded file into this issue. It will help with finding out what the problem is.