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] [Enhancement request] Swapped V and A dividers for TS011F smart plug from _TZ3000_w0qqde0g

See original GitHub issue

Is your feature request related to a problem? Please describe. Amperage and voltage dividers seem to be switched around on the plugs I just bought. Here is a screenshot of the device in homeassistant (dev docker image ba3d1d8a811c4a9aac6c2c1d340912fb775a947752933a4276e0291c8c43f9b1) with a relatively powerful LED light bulb connected. Wattage seems correct:

image

Device is a TS011F by _TZ3000_w0qqde0g

Describe the solution you’d like Quirks file: https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts011f_plug.py

  • Make the voltage divider 1000 lower (new divider=1000*old)
  • Make current divider 1000 times higher

Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.

{
  "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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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": "0x010a",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0702",
        "0x0b04",
        "0xe000",
        "0xe001"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZ3000_w0qqde0g",
  "model": "TS011F",
  "class": "zhaquirks.tuya.ts011f_plug.Plug"
}

Additional context Item on aliexpress.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Aug 20, 2022

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 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.

0reactions
MayeulCcommented, Aug 28, 2022

This is still an issue:

image

Dear bot, I hate you. Sincerely,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Powerplug TS011F meter functionality missing - Zigbee
I bought a zigbee powerplug TS011F manufacturer TZ3000_ew3ldmgx on AliExpres. Power on/off works. But i get no power readings form the device.
Read more >
New Tuya Smart Plug: NAS-WR01B or _TZ3000_w0qqde0g
They do look more compact than the previous Tuya zigbee plugs, and hopefully they ... Device Product name: Tuya smart plug 16a Manufacturer: ......
Read more >
Best smart plugs 2022: Reviews and buying advice | TechHive
Best smart plugs: These gadgets will turn any electrical outlet into a smart socket ; HomeKit, Alexa, and Google Assistant support · Some...
Read more >
The 6 Best Smart Plugs For Samsung SmartThings
Samsung SmartThings is a fabulous product that works with many smart devices, including smart plugs. This article will cover six highly rated and...
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