home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.9k stars 30.12k forks source link

Single Digital Meter (unsupported) by Tuya #108527

Closed mmorenocab closed 5 months ago

mmorenocab commented 8 months ago

The problem

Single Digital Meter is shown but says not supported.

2024-01-20 19_20_57-Ajustes – Home Assistant

This is the device: https://es.aliexpress.com/item/1005006211242954.html

Information provided by tuya iot platform API Explorer "Get device details":

  "result": {
    "active_time": 1705672930,
    "bind_space_id": "2423864",
    "category": "cz",
    "create_time": 1705672930,
    "custom_name": "Med. consumo elec. general",
    "icon": "smart/icon/ay1504535816017oOfFp/327a3f86c18e19107e2f57021b0fb12d.png",
    "id": "bf998e2332dfe96acbcdwd",
    "ip": "x.x.x.x",
    "is_online": true,
    "lat": "39.2600",
    "local_key": "xxxxxxxxxxxxxxx",
    "lon": "-2.5900",
    "model": "",
    "name": "Single Digital Meter",
    "product_id": "gk3jvsduy5ixzff3",
    "product_name": "WiFi单路电流互感计量器(经典版)",
    "sub": false,
    "time_zone": "+01:00",
    "update_time": 1705683078,
    "uuid": "d15f8adc1aff510d"
  },
  "success": true,
  "t": 1705775793495,
  "tid": "d5d6de2cb7c211eebcc88e3434e9ec46"
}

Information provided by tuya iot platform API Explorer "Query Properties":

{
  "result": {
    "properties": [
      {
        "code": "sync_request",
        "custom_name": "",
        "dp_id": 101,
        "time": 1705775589884,
        "value": "request"
      },
      {
        "code": "sync_response",
        "custom_name": "",
        "dp_id": 102,
        "time": 1705775521942,
        "value": "idle"
      },
      {
        "code": "device_state1",
        "custom_name": "",
        "dp_id": 103,
        "time": 1705686624562,
        "value": "working"
      },
      {
        "code": "add_ele1",
        "custom_name": "",
        "dp_id": 104,
        "time": 1705775551956,
        "value": 2
      },
      {
        "code": "cur_power1",
        "custom_name": "",
        "dp_id": 105,
        "time": 1705775589884,
        "value": 5206
      },
      {
        "code": "cur_current1",
        "custom_name": "",
        "dp_id": 106,
        "time": 1705775589884,
        "value": 2559
      },
      {
        "code": "cur_voltage1",
        "custom_name": "",
        "dp_id": 107,
        "time": 1705775589884,
        "value": 2285
      },
      {
        "code": "total_energy1",
        "custom_name": "",
        "dp_id": 108,
        "time": 1705775551956,
        "value": 11850
      },
      {
        "code": "today_acc_energy1",
        "custom_name": "",
        "dp_id": 109,
        "time": 1705775551956,
        "value": 8183
      },
      {
        "code": "power_type1",
        "custom_name": "",
        "dp_id": 110,
        "time": 1705686624562,
        "value": "normal"
      },
      {
        "code": "warn_power1",
        "custom_name": "",
        "dp_id": 111,
        "time": 1705688840645,
        "value": 3000
      },
      {
        "code": "today_energy_add1",
        "custom_name": "",
        "dp_id": 112,
        "time": 1705775551956,
        "value": 2
      },
      {
        "code": "net_state",
        "custom_name": "",
        "dp_id": 113,
        "time": 1705681670072,
        "value": "cloud_net"
      }
    ]
  },
  "success": true,
  "t": 1705775604364,
  "tid": "651ac1bcb7c211eeb4711ef527e2ea42"
}

What version of Home Assistant Core has the issue?

core-2023.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

home-assistant[bot] commented 8 months ago

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tuya` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tuya` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)

issue-triage-workflows[bot] commented 5 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.