Tuya 20A Zigbee Relay Integration?

I would have to create a new specific profile and code for these devices.

What I would like to convey to the users of these devices, that they are defective devices or that do not meet the standards and it would be better not to use them, but they insist that they want to use them and make them work, but this may affect the operation of the your zigbee network

I am also realizing that this device was added for another user in October 2022 and was working correctly and therefore your device may be bad and I am bothering other users

Hi @stingrayson @extrawombat

Pease, Was your plug working correctly for power and energy since I added it in October 2022? thanks

1 Like

Hi MC,

Yup, power meter works, but energy consumption doesnt. The update rate is a couple of minutes, but Good enough for my use, thank you so much for your continued work on this!

Stingrayson

1 Like

@Mariano_Colmenarejo, Thanks once again and truly appreciate all your efforts on setting the driver up for the user community.

All what I was asking for is an option in the settings menu (let’s call it it ‘Refresh Interval’ for now) so the users can set the refresh interval themselves, in seconds. Since you have rolled this out to the user community, you can add this option in the setting as 90 seconds by default so it will not affect the other users who are already your driver for their devices. Would this be possible please?

The reason why I am asking is because I use this to trigger routines for my fan; speed 1 is 35 mW, speed 2 is 39 mW and speed 3 will be 44 mW and waiting for 90 sec will not be appropriate for this hence the request to create a field to enter the value of a refresh interval.

Thanks, I would like to know if it has worked like this since I added it in October 2022 or if it started working now

I need to know if this behavior is only on your device or on all these model and manufacturer.

I meant that if this device works well for other users because it autonomously sends power and energy reports, then this modification of the driver would cause their devices to work poorly and they would have messages from reading the driver and also those sent by the device autonomously.

For you it would work fine then, but for others it would stop working correctly.

On the other hand, I don’t know if the increments of 4 or 5 mw that you want to detect are reported on your device, let me explain:

Your device uses a 1 divisor for power.

The minimum changes that the device would report are changes of 1w (1000 mw).

The default configuration of the lua libraries is 5:

  • If the divisor is 1 = 5 w changes
  • If the divisor is 1000 = 5 mW changes

Noted @Mariano_Colmenarejo and based on what you said, would it be possible to just create a field in the settings and use that as a ‘overriding value’ if the user wants to choose a refresh interval? This way, the existing users will not be impacted and I can also get what I want if you understand what I mean.

Sorry I meant Watts and not mW. For me, it showed 35w @Speed 1 and when I refreshed, it showed 38w @speed 2 etc. so it detects within a range of 3 as far as I can see.

You can do a refresh of this relay on what ever schedule you want by creating a Rule in the free tier of SharpTools.

That’s interesting @Paul_Oliver , I have not come across this before so can you guide on how to set this up? Is it just creating a user account and going from there?

Go to SharpTools.io create and account and link to ST.

Done @Paul_Oliver but it does not refresh the power and energy consumption?

Maybe it won’t work with your relays.

I have my refresh rules set to trigger ever 1 to 5 min. depending on what they are.

One use is to keep my Honeywell thermostat updated in SmartThings. Otherwise it only updates a few times a day

@Paul_Oliver Can you post your trigger condition please as I am able to refresh it if I specify a particular time? Also, I am not sure if I can use a variable in free version.

I start by creating a vEdge Motion sensor in SmartThings which has an automatic reset option.

With these settings:

Then I create a SharpTools rule.

So this rule fires every 90 seconds. There is a 60 sec. reset delay in SmartThings and a 30 sec. Delay in SharpTools.

FYI: When you add new devices to SmartThings you need to re-authorize your connection in SharpTools so the new devices to show up in SharpTools.

2 Likes

Perfect and works like a charm. Many thanks @Paul_Oliver

3 Likes

Hi Mariano!

At some point i believe the plug stopped responding to my controls. I switched over to the “Smartthings Driver for Zigbee switch devices for Smartthings” and have been using that driver since. This was about a month or two ago.
Best regards,
Yeow Rong

Hi @Mariano_Colmenarejo, @Paul_Oliver, @JDRoberts,

I live in the UK and have been using the KP115 for power monitoring for the past 2 years but it suddenly stopped working since yesterday. I can see Amber light flashing, tried resetting several times but no luck so can you suggest some Wi-Fi and Zigbee plugs that instantly provides power like KP115 so I can buy it and set it up to work for my TV routines?

I have had good luck with both the Kasa KP115 and KP125 power monitoring plugs. Mine are still working.

EDIT: I forgot that I have 3 SmartThings branded WiFi plugs with power reporting. They work ok, but are a pain to re-pair when the drop offline. I don’t think they are currently being sold.

I don’t know of any other choices that report power monitoring in ST.

I would stay away from Zigbee and Z-wave power monitoring plugs. They can flood you mesh with data and cause problems.

2 Likes

Tagging @fido

1 Like

I don’t have my own experience with plugs with energy monitoring, I only have some meross wifi, but they don’t send that information to smartthings.

If what you want is to detect when the TV is on or off and it connects to the network, you can use the LAN device monitor driver from @TAustin. I use it on two TVs and it works well

I only have Greenwave single power nodes which are Zwave and report power, been using for years with no issues but sadly they stopped making them

I do have a single ST power reporting plug but they are pricey

1 Like