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 TS0001 relay

See original GitHub issue

Is your feature request related to a problem? Please describe. Just received Tuya TS0001 relay, image image https://www.aliexpress.com/item/1005002482791975.html

It hasn’t quirk, so works just basically.

In Tuya Smart application, it has power outage behavior and external switch type settings. The first setting is already implemented for plugs TS011F and TS0121, so it could implemented without problems. Switch type setting haven’t been implemented yet.

Here is a screenshot from Tuya Smart application: image

Describe the solution you’d like The external switch type attribute could be added.

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",
        "0xe000",
        "0xe001"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZ3000_ark8nv4y",
  "model": "TS0001",
  "class": "ts011f_plug.Plug_0001"
}

Additional context @MattWestb may be you know attribute id for external switch type?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:33 (31 by maintainers)

github_iconTop GitHub Comments

1reaction
PlusPlus-uacommented, Nov 11, 2021

I think, anyway, it should be TYPE not MODE

1reaction
PlusPlus-uacommented, Nov 11, 2021

And maybe it’s better to move constant 0xE001 to constants section, right before TUYA_CLUSTER_ID = 0xEF00

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
[ST Edge] Zigbee Driver for MOES 4-Button Scene Switch ...
[Device Support Request] Tuya TS0001 relay · Set device in pairing/discovery mode. · From the SmartThings App, run the scan feature ( “+”...
Read more >
Differernt Zigbee Tuya based touch light switches - Hardware
User experience request: Differernt Zigbee Tuya based touch light switches ... I understand from their support it's also just an end device.
Read more >
[APP][Pro] Tuya Zigbee App - Apps - Homey Community Forum
This app makes Homey support Tuya Zigbee devices! ... not supported by the app please leave a comment with the information requested below....
Read more >
[RELEASE] Samotech Drivers with Device Presence
The SM308-2CH requires neutral again, but contains two individually controlled relays and can support a physical switch for each. I'm providing ...
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