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
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.
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 ‘??’
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.
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.
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
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.
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.