question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Device Support Request] Tuya Zigbee smart energy meter DDS238-2 Zigbee with a new manufacturer variant (_TZE200_bkkmqmyo)

See original GitHub issue

Hi, I purchased this device which was markes as working with zha, unfortunatrly I got one with a new manufacturer, and, upon pairing, no entities appear. This is the signature

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_bkkmqmyo",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Tried to adapt other quirks that were shared in the past with no success

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:41 (16 by maintainers)

github_iconTop GitHub Comments

4reactions
javicallecommented, Nov 2, 2022
# Reactive power units
...
POWER_KILO_VOLT_AMPERE_REACTIVE_HOUR: Final = "kvarh"

According to the specification the units would be kVAr:

image

image

Reference:

2reactions
javicallecommented, Nov 1, 2022

I believe that the total_reactive_power attribute is a integer:

So, the 23/100=0,23 --> 0

The problem is that total_reactive_power don’t configure any multiplier or divisor that can allow the decimal values.

Maybe you can keep the value as is in the _update_attribute and overwritte the formatter in the ElectricalMeasurementTotalReactivePower:

    def formatter(self, value: int) -> int | float:
        """Return 'normalized' value."""
        value = float(value) / 100
        if value < 100:  # only round tinny values
            return round(value, self._decimals)
        return round(value)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Support new TuYa devices - Zigbee2MQTT
When contacting a manufacturer of TuYa compatible device DO NOT ask for Zigbee protocol of the device, they usually have no idea how...
Read more >
Tuya ZigBee Smart Plug with Energy monitoring
Hi guys, I bought a few 20A Tuya ZigBee plugs that apparently ... edit: the device can be supported, maybe power metering or...
Read more >
How to reset the Zigbee device to the state to be configured?
Devices with a reset button: Firstly, make sure the device is powered off for more than 10 seconds before powering on the device....
Read more >
MoesGo Tuya ZigBee Hub, Only Support Tuya Device, Work ...
MoesGo Tuya ZigBee Hub, Only Support Tuya Device, Work with Smart Life App, Intelligent Bridge Wireless Smart Home Gateway Voice Control via Alexa, ......
Read more >
Tuya Smart Zigbee Socket Switch Module Kwh Meter Energy ...
Energy Monitor Power Consumption for Your Household Device. Timer Schedule. Wiring Diagram. You can define if it turns on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found