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

Request support for PZIOT_E01 power meter #2311

Open
lgooris opened this issue Sep 17, 2024 · 0 comments
Open

Request support for PZIOT_E01 power meter #2311

lgooris opened this issue Sep 17, 2024 · 0 comments
Labels
config provided Config included by reporter new device Unsupported device

Comments

@lgooris
Copy link

lgooris commented Sep 17, 2024

Log message

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.9.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Pacific/Honolulu",
    "os_name": "Linux",
    "os_version": "6.6.46-haos",
    "supervisor": "2024.09.1",
    "host_os": "Home Assistant OS 13.1",
    "docker_version": "26.1.4",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "2.0.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "bhyve": {
      "documentation": "https:/sebr/bhyve-home-assistant/blob/main/README.md",
      "version": "3.2.4",
      "requirements": []
    },
    "hubitat": {
      "documentation": "https:/jason0x43/hacs-hubitat",
      "version": "0.9.36",
      "requirements": []
    },
    "tuya_local": {
      "documentation": "https:/make-all/tuya-local",
      "version": "2024.9.0",
      "requirements": [
        "tinytuya==1.15.1",
        "tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
      ]
    }
  },
  "integration_manifest": {
    "domain": "tuya_local",
    "name": "Tuya Local",
    "codeowners": [
      "make-all"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https:/make-all/tuya-local",
    "integration_type": "device",
    "iot_class": "local_push",
    "issue_tracker": "https:/make-all/tuya-local/issues",
    "requirements": [
      "tinytuya==1.15.1",
      "tuya-device-sharing-sdk>=0.1.9,<=0.2.99"
    ],
    "version": "2024.9.0",
    "is_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 1.9517989130690694e-05
    },
    "01J77KEH5QV7EYG14P2E77KW3W": {
      "wait_import_platforms": -0.78657741000643,
      "wait_base_component": -0.0009364970028400421,
      "config_entry_setup": 0.816829028975917
    },
    "01J77Z68TF0PW5C5J5T4D7M1Y3": {
      "wait_import_platforms": -0.8020806560234632,
      "config_entry_setup": 0.8470484220015351
    },
    "01J77ZF2CMZ7FRZE938JKZVF0B": {
      "wait_import_platforms": -0.8022585549915675,
      "config_entry_setup": 0.8483212820137851
    },
    "01J77ZMV63KP83R0VX5BFEVJJV": {
      "wait_import_platforms": -0.8082488910004031,
      "config_entry_setup": 0.8474441819998901
    },
    "01J77ZJT68V6WSQXDH0PXC0ABE": {
      "wait_import_platforms": -0.8084349849959835,
      "config_entry_setup": 0.8476213329995517
    }
  },
  "data": {
    "name": "Energy Meter AC Unit",
    "type": "PZIOT_E01_3_3",
    "device_id": "**REDACTED**",
    "device_cid": "",
    "local_key": "**REDACTED**",
    "host": "**REDACTED**",
    "protocol_version": 3.3,
    "tinytuya_version": "1.15.1",
    "api_version_set": 3.3,
    "api_version_used": 3.3,
    "api_working": true,
    "status": {},
    "cached_state": {
      "updated_at": 1726581161.6533902,
      "101": 2518,
      "102": 71,
      "103": 611,
      "104": 587103,
      "105": 3,
      "106": 600,
      "109": 15580
    },
    "pending_state": {},
    "connected": true,
    "force_dps": [],
    "home_assistant": {
      "name": "Energy Meter AC Unit",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "energy",
          "icon": null,
          "unit_of_measurement": "kWh",
          "state": {
            "entity_id": "sensor.energy_meter_ac_unit_total_energy",
            "state": "155.8",
            "attributes": {
              "state_class": "total_increasing",
              "unit_of_measurement": "kWh",
              "device_class": "energy",
              "friendly_name": "Energy Meter AC Unit Total energy"
            },
            "last_changed": "2024-09-17T13:19:29.988123+00:00",
            "last_reported": "2024-09-17T13:19:30.015080+00:00",
            "last_updated": "2024-09-17T13:19:29.988123+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "voltage",
          "icon": null,
          "unit_of_measurement": "V",
          "state": {
            "entity_id": "sensor.energy_meter_ac_unit_voltage",
            "state": "251.8",
            "attributes": {
              "state_class": "measurement",
              "unit_of_measurement": "V",
              "device_class": "voltage",
              "friendly_name": "Energy Meter AC Unit Voltage"
            },
            "last_changed": "2024-09-17T13:49:02.103215+00:00",
            "last_reported": "2024-09-17T13:49:02.218804+00:00",
            "last_updated": "2024-09-17T13:49:02.103215+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "current",
          "icon": null,
          "unit_of_measurement": "A",
          "state": {
            "entity_id": "sensor.energy_meter_ac_unit_current",
            "state": "0.71",
            "attributes": {
              "state_class": "measurement",
              "unit_of_measurement": "A",
              "device_class": "current",
              "friendly_name": "Energy Meter AC Unit Current"
            },
            "last_changed": "2024-09-17T13:19:30.012027+00:00",
            "last_reported": "2024-09-17T13:19:30.012027+00:00",
            "last_updated": "2024-09-17T13:19:30.012027+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": "power",
          "icon": null,
          "unit_of_measurement": "W",
          "state": {
            "entity_id": "sensor.energy_meter_ac_unit_power",
            "state": "6.11",
            "attributes": {
              "state_class": "measurement",
              "unit_of_measurement": "W",
              "device_class": "power",
              "friendly_name": "Energy Meter AC Unit Power"
            },
            "last_changed": "2024-09-17T13:49:02.103926+00:00",
            "last_reported": "2024-09-17T13:49:02.219330+00:00",
            "last_updated": "2024-09-17T13:49:02.103926+00:00"
          }
        }
      ]
    }
  }
}

DPS information

name: Energy meter
products:
  - id: 
  - name: PZIOT-E01
primary_entity:
  entity: sensor
  name: Total energy
  class: energy
  dps:
    - id: 109
      type: integer
      name: sensor
      unit: kWh
      class: total_increasing
      mapping:
        - scale: 100
secondary_entities:
  - entity: sensor
    class: voltage
    dps:
      - id: 101
        name: sensor
        type: integer
        unit: V
        class: measurement
        mapping:
         - scale: 10
  - entity: sensor
    class: current
    dps:
      - id: 102
        name: sensor
        type: integer
        unit: A
        class: measurement
        mapping:
         - scale: 100
  - entity: sensor
    class: power
    dps:
      - id: 103
        name: sensor
        type: integer
        unit: W
        class: measurement
        mapping:
         - scale: 100

Product ID

unknown

Product Name

PZIOT-E01

Information about how the device functions

Tuya Power Meter PZIOT-E01. I created this configuration for the device, but it got overwritten during upgrade.

Alliexpress link: https://www.aliexpress.us/item/3256804543083861.html?spm=a2g0o.productlist.main.1.377112e3RL9zvp&algo_pvid=b0a48033-285c-49a0-b4dc-4f8cc51d25c7&algo_exp_id=b0a48033-285c-49a0-b4dc-4f8cc51d25c7-0&pdp_npi=4%40dis%21USD%2111.05%219.06%21%21%2111.05%219.06%21%402101e56617265833998902600ec309%2112000030256943842%21sea%21US%214566713582%21X&curPageLogUid=EEykT9eBG8PM&utparam-url=scene%3Asearch%7Cquery_from%3A

@lgooris lgooris added the new device Unsupported device label Sep 17, 2024
@make-all make-all added the config provided Config included by reporter label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config provided Config included by reporter new device Unsupported device
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants