Tuya 20A Zigbee Relay Integration?

@Mariano_Colmenarejo Done, screenshot attached

@Mariano_Colmenarejo, just so I am clear, are you going to update this in your fingerprint?

Added to this driver version

───────────────────────────────────────────────────
 Name         Zigbee Switch Mc
 Version      2023-09-07T12:39:24.570250416        
───────────────────────────────────────────────────
- id: "TS0001/_TZ3000_mantufyr"
    deviceLabel: TS0001 Switch
    manufacturer: _TZ3000_mantufyr
    model: TS0001
    deviceProfileName: single-switch
1 Like

All good, thanks. It also works with the generic Zigbee Switch driver

@Mariano_Colmenarejo, Please can you add this fingerprint in your driver as per the screenshot below? At present, it is showing up as a generic switch but this one also supports power / energy monitor?

Hi @Subramanian_Swaminat

I make a note to add it on Thursday or Friday, I can’t before

Many thanks @Mariano_Colmenarejo, so I am assuming the power monitor will be active after you do this because I can see the power monitor and energy consumption but both are showing 0 values now?

What driver are you using?

@Mariano_Colmenarejo, zigbee switch power mc

Yes, it was added a long time ago.

Did you pair it from scratch with the driver or did you change the driver?

@Mariano_Colmenarejo, I had to change the driver as it got paired with the driver named β€˜Zigbee Switch’ directly.

Then You need to pair it directly with zigbee switch power Mc driver to configure clusters 0702 and 0B04.

It should be paired with it, so that the fingerprints match completely and in Zigbee switch it is paired by generic clusters

@Mariano_Colmenarejo Just deleted the device and it got paired to Zigbee switch power mc directly but the values of power and energy still show as 0. I can switch on and off though.

It got paired as a TS011F Plug this time.

Try to perform an app refresh to see if show power and enegy

@Mariano_Colmenarejo You are simply outstanding mate, it worked. How do I get this to refresh automatically?

There are some of these TS011F devices, which do not send power, energy reports and need to read the attributes periodically.

This manufacturer was not among those I have identified.

On Thursday or Friday I will add it and let you know.

I can’t do it before

1 Like

Hi @Subramanian_Swaminat

Modified driver.
Pair device with this new version

───────────────────────────────────────────────────
 Name         Zigbee Switch Power Mc
 Version      2023-10-04T20:31:26.274814379        
───────────────────────────────────────────────────
1 Like

I deleted the device, installed the driver and paired the device with the new version however the power monitoring function is still not automatically refreshing.

This device does not send energy reports.
The driver reads power and energy attributes every 90 seconds as long as the device is on.
When is turned Off or On read values after 5 second
If you turn off only the load, the values will be updated every 90 sec maximum. You can’t do anything else with these rare devices.

If it is updated more often and you have several of these devices, it would flood the network with messages

1 Like

Understood thanks Marianno. Is it possible to provide an option to specify the refresh interval so I can choose it to be 30 seconds of I want to?