[ST Edge] Personal Tuya Devices - Generic EF00 Device

Hi, I have successfully configured this smart valve model: PF-PM02D-TYZ, discovered as TS0601 - TZE200_d0ypnbvn as a garage door opener.

@w35l3y Could you create a new device type “Smart Valve” and insert the appropriate icon? I haven’t the skills to do that.
It works perfectly. Obviously the sensor contact is not present in the device and is not used in the driver

Have you tried it in the settings?

I just tried, now I have a child device with the appropriate icon, but the status is not recognized.
Also I can only open the valve, if the valve is closed when I tap the button in the app, nothing happens.

the garage door setting works better.

thx

Some data values are not being reported.

datapoint 2 is huminity

why no reporting Datapoints 2 :sob:

it is aproblem between ST Hub and product ??

@Trakker2 , what did you do to read humidity ?
_TZE200_whkgqxse

Did you read it from somewhere else other than datapoints ?

I saw some saying in your thread it is a defective product.

1 Like

Hi @w35l3y I bought a Moes BRT-100 Smart Thermostat from Aliexpress.

https://nl.aliexpress.com/item/1005002433465221.html?srcSns=sns_Copy&spreadType=socialShare&bizType=ProductDetail&social_params=60303580732&aff_fcid=01a48c89895b40aabfffc47d414b295b-1681644936727-01001-_EHFlbGR&tt=MG&aff_fsk=_EHFlbGR&aff_platform=default&sk=_EHFlbGR&aff_trace_key=01a48c89895b40aabfffc47d414b295b-1681644936727-01001-_EHFlbGR&shareId=60303580732&businessType=ProductDetail&platform=AE&terminal_id=18374d61f4924b5a92c74cd9b38a29ae&afSmartRedirect=y

I think i got it figured out, do you think you can make a driver for this?


I had some of the datapoint figured out already when i found this link. It pretty much matches what i found out myself. The blank i filled in with ‘??’

https://github.com/Koenkk/zigbee2mqtt/issues/7674#issuecomment-854484428

Datapoints

  • Enum 1 = mode set (auto mode=0, manual mode=1, temporary manual mode=2, Holiday mode=3)
  • Value 2 = 200 set Temperature
  • Value 3 = 170 (Room temperature (needs to be divided by 10)
  • Boolean 4 = BoostHeatin on/off??
  • Value 5 = Boost Heating Countdown (Changes to 5 when Boost heating on)
  • Enum 7 = reset??
  • Boolean 8 = Window Detection Funktion_A2??
  • Enum 9 = Window Detection??
  • Boolean 13 = child lock
  • Value 14 = Battery level
  • RAW 101 = schedule??
  • Value 103 = 3boost Heating Countdown Time Set??
  • Value 104 = valve position 0-100%
  • Value 105 = compensation Temp Set??
  • Boolean 106 = Energy saving mode
  • ?? 107 = Eco Mode Temp Set??
  • Value 108 Upper set temo limit??
  • Value 109 lower set temo limit??

Olá @w35l3y, tudo bom? (back to English for the community)

I have bought this zigbee tuya switch for high current/energy from EARU ELECTRIC (https://es.aliexpress.com/item/1005004891519043.html) as I need to control some devices that consume high power.
image

I powered it on and was detected by the gateway and it is an EF00 cluster device. As this is the first device from Tuya EF00, I am a bit lost knowing how to configure it. It is like a regular switch but for currents up to 40A.

This is the information that I see:
image

Could you help me trying to set up this device?

Muito obrigado,

 Fernando

This device sends several datapoints at once, in a single message. in HE it looks like this:

Tuya combined DP

catchall: 0104 EF00 01 01 0040 00 4053 01 00 0000 02 01 0215010200040000011A020200040000006004020004000000500A020004000001860B02000400000000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:4053, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[02, 15, 01, 02, 00, 04, 00, 00, 01, 1A, 02, 02, 00, 04, 00, 00, 00, 60, 04, 02, 00, 04, 00, 00, 00, 50, 0A, 02, 00, 04, 00, 00, 01, 86, 0B, 02, 00, 04, 00, 00, 00, 00]]

The splitting of the payload into separate DP chunks is done in lines 532 … 546
The offset to the next DP chunk in the long payload is calculated depending on the previous data type ( bool/enum 1 byte or data 4 bytes, etc…) .
Then, each chunk is processed using the known data points decoding and meanings.

This was a wrong conclusion, the sensor is working fine, just several data points are sent in a single message.

2 Likes

Hi @Trakker2 @w35l3y

There are Tuya devices that also send information of several attributes of a cluster in a single message and currently the edge libraries cannot handle them.

I don’t know if this can also affect messages from the EF00 cluster and several DPs in the same message.

The temporary solution seems to be to use zigbee_handlers of each attribute (DP) of the message in a different subdriver, but I have not been able to verify it

1 Like

Thanks! For future reference…

I had read somewhere in tuya docs that it is possible, but I didn’t expect that.

1 Like

So the problem is because one attribute is standard and the other isn’t. Both are sent at once for the same cluster.
I think I know how to handle it nativelly, but it would require to override the attributes list to include 0xF000 attribute as if it were standard.
I will make some tests and let you know.

Receiving several DPs shouldn’t be a problem, as it is received completely as Generic Body.
I just will need to do some tweaks in the driver.

2 Likes

Main version should update anytime in the next 12 hours.
Let me know if these devices are working for you.

2 Likes

8 posts were split to a new topic: TS0601 / _TZE200_b6wax7g0 - Moes BRT-100 Thermostat

hello. Can you add tuya gas detector driver?

USB type c power without battery

Tuya zigbee Methane detector CH4 Natural Gas sensor Combustible Gas Leak Sensor with light sound Alarm APP push reminder
https://a.aliexpress.com/_mqm7EW8

1 Like

What do each datapoint mean ?
You will need to figure it out.

True when data point 16 gas detected. False when gas detection is off.

hello. Can you add tuya gas detector driver?

USB type c power without battery

Tuya zigbee Methane detector CH4 Natural Gas sensor Combustible Gas Leak Sensor with light sound Alarm APP push reminder
https://a.aliexpress.com/_mqm7EW8

Please download the video from Google Drive.

Can someone please help me to get my tuya TS0202 manufacturerTZ3040 motion sensor working.
I have installed the drivers but it gets detected as a generic thing when I try and pair it to the Aotec.
I have tried uninstalling these drivers and have tried using the edge driver-Mc ZigBee drivers from Mariano_Colmenarejo for ZigBee motion sensor.
I tried enabling al of them at once through the invite links but nothing is working to get this device recognized as a motion sensor ,it says generic but the only settings I see are for temp offsets and shows a temp sensor icon.
With these drivers I can see settings and get info but with the other drivers I got nothing and couldn’t click on the device in the the app, I could only long press add get edit but there were no options to do anything.
I have tried install just these drivers and then just the MC ZigBee driver and then both at once,
Nothing works, and when I had both installed I went to change driver but it only gives the option for this driver and there was no option to switch it to the MC ZigBee driver either.






Hi @anthony_rossetti

I have to add the fingerprints to the driver Zigbee Motion Sensor Mc

As soon as I can, I’ll do it and let you know

2 Likes

None driver I developed will work for this device.

1 Like