-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New device support]: Zigbee Chlorine Meter PH ORP EC TDS Salinity Temp CL- _TZE200_v1jqz5cy #18704
Comments
im giving it a crack
Gor my first error
|
@Koenkk where is a list of the supported datapoints? |
Here is a list of all standard exposes, but you can easily create new ones: example |
Is the device already available in z2m or hast anybody a solution? |
no its not, i dont know what im doing lol |
thanks but I don't really know what im looking for |
I just got the very same device here, connected to my Home Assistant server, through ZHA. @cloudbr34k84 Brad, how did you get the Data Points? |
i follow the the instructions on Z2M
https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html
…On Thu, 7 Sept 2023 at 05:44, Thomas Schiex ***@***.***> wrote:
I just got the very same device here, connected to my Home Assistant
server, through ZHA.
I would be happy to help here. I can write code, but am a
ZigBee/Z2MQTT/ZHA newbie...
@cloudbr34k84 <https://github.com/cloudbr34k84> Brad, how did you get the
Data Points?
—
Reply to this email directly, view it on GitHub
<#18704 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOB2WBER4VB3X5EG7OOUEOLXZDHDLANCNFSM6AAAAAA33LB5ZE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Koenkk any chance you can help create the converter pls? |
Yes, that would bei great! |
That would be great for me too!!! |
With the following ext converter, what shows up in the z2m frontend -> device -> state page? https://gist.github.com/Koenkk/7262a8a36bb84327ff563e0b8256024b |
Sorry Koenkk, I don't have Z2M installed on HA, but ZHA. Is it easy to switch back and forth? BTW, I bought a Tuya Gateway and followed the instructions on Z2M and found more DP Ids: 1: TDS (Translation of Chinese by Google Translate camera from Tuya IoT platform website). There are apparently 2 pH calibration DP Ids (and there are 2 pH calibration standards: Asia uses 6.86/4.00/9.18, EU uses 7/4/10). The two pH calibration DPs could be these 2 maybe? I was told the device apparently works on deconz: https://forum.phoscon.de/t/tuya-tze200-v1jqz5cy-zigbee-chlorine-meter/3930 (see zigpy/zha-device-handlers#2565). |
|
Brad, I'm not a Z2M specialist, but the fact that Z2M says:
may be a hint that Koenkk's handler above is not accessible to Zigbee2MQTT in your setup. |
Or may be the handler is wrong.... Looking into it, I see:
I assume the modelId is important for recognizing the device? Because it reports 'TS0601' not 'BLE-YL01'. Brad, I suppose you should edit Koenkk's script and replace the
by
|
It's a wok in progress ... ;-) |
Made a mistake, updated https://gist.github.com/Koenkk/7262a8a36bb84327ff563e0b8256024b |
Hey @Koenkk Thanks, its now added correctly, but it has not exposed any entities
|
I'm not an expert but if you look at the other tuya converters that are using datapoints in zigbee-herdsman-convert/src/devices/tuya.ts, you also need to add the corresponding entries in the expose section, i.e.: exposes: [e.tds, e.temperature, etc... So maybe try this? :
|
Please make a screenshot of the z2m frontend -> device page -> state page? |
|
With the following converter: https://gist.github.com/Koenkk/7262a8a36bb84327ff563e0b8256024b , can you provide the debug log when pairing the device + 5 minutes after this? See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging. |
Hey @Koenkk thanks for helping on this
|
I forgot to mention that this converter only works with the latest-dev branch. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
|
tried this, same issue as when I attempted. i don't understand how to create a new function
|
@Koenkk
|
It does work perfectly for me now, being updated correctly. |
Update on my side:
... and now I got values!! |
Looks like it's updating approximately every 10 minutes for me now. I guess the only thing left to crack is the calibration |
@Koenkk Could you please tell me how you achieved this? I have the device almost working on ZHA but the only way I have found to get an update is to send again a tuya data query (command 0x03) to the Tuya manufacturer cluster.
Is there another way?
For the calibration, remember my ZigBee trace above :-)
4 janv. 2024 00:19:39 ve1koz111 ***@***.***>:
…
Looks like it's updating approximately every 10 minutes for me now.
I guess the only thing left to crack is the calibration
—
Reply to this email directly, view it on GitHub[#18704 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADRL5FBJSOQVCXVVRVUVAELYMXRNBAVCNFSM6AAAAAA33LB5ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGA4TQOBXHA].
You are receiving this because you were mentioned.
[Image de pistage][https://github.com/notifications/beacon/ADRL5FCHQ35NWRU7ARV3ODTYMXRNBA5CNFSM6AAAAAA33LB5ZGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTP2L7T4.gif]
|
@tschiex I've just added polling, dataQuery is sent every 10 minutes automatically. |
Ok. Thanks! Just a note: the current adapter for this device uses µS/m for Salinity units. But this unit is for electrical conductivity, not Salt concentration. It should be either ppm or mg/L (equivalent for diluted water solutions). The TuYa app uses ppm. |
@tschiex fixed! |
This device is polling and collecting data every 10 minutes pretty reliably now. However, the sensor readings seem to be widely variable and much of the time completely wrong. I don't believe this is anything to do with the z2M / Integration in HA, because I see similar behaviour with the zigbee gateway and Smartlife application. See my post on https://community.home-assistant.io/t/pool-monitoring-device-yieryi-ble-yl01-zigbee-ph-orp-free-chlorine-salinity-etc/659545/9 on 16/1/2024 for further datails. Just wondering if people with the same sensor are having the same issue, or is my device faulty? |
This is why I gave up on this device |
Where have you added this automated polling? |
Edit: With the Z2M Logs I found the suitable command and it is working for me now. |
Hi, Received Zigbee message from 'Testeur eau de piscine', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":8153,"version":79}' from endpoint 1 with groupID 0 Could you tell me if I can solve this problem? |
Any idea how to make a calibration of this device just with z2m? Android App for Tuya gateway can't help me in any way, right? z2m supports temperature setting calibration only and this is really something else that pH, ORP etc. calibration. The reported measurements don't look non-sense completely as some others reported here for my device however based on comparison with more reliable devices, my device needs a bit of tuning... |
Hi, |
Don't spend time with this. I already recorded (with Wireshark) 2 complete ZigBee sessions of the device with a Tuya gateway (one for binding to the gateway, which is how Koenkk identified the need for a "data query" packet , the other for calibration). They are available, with the corresponding network keys for deciphering, above, in some of my comments. What lacks now is brain.time to analyze the second one (calibration). See #18704 (comment) |
Thanks for your reply which gives me the status of this device connection. |
Hi, I received a Tuya gateway and Ble-yl01 is working well. Calibration procedure has been used. Could you please, let me know what are the modifications to do in order to get the DEV status which allows to receive values? I am also prepared to provide debug information (Logs, traces, ...) to help on getting this BLE-YL01 device integrated. |
Hello all I received one of this device. Everything IS fine except i have strange orp values. The values are négative. I bought a tuya gateway to perform calibration. I received it today and i noticed that on the gateway orp values are fine Si i think there is a wrong conversion for orp values (maybe depending on firmware) I Can provide any information needed to fix this issue Regards |
Same for me, plus Free chlorine is always zero, as orp is always negative (right now, -174). |
Yes i confirm. as orp values are negative free chlorine IS 0 Happy not to be the only one with negative values. But i Can confirm that on tuya gateway values seems correct |
Anyone else can help with this? as now it's not dependant of an external converter, I don't know how should I try to find the bad taken value |
Can you explain how to send this command? Thank you |
I have not been able to use this device with Z2M. |
@Mushupm |
No one have a solution for negative orp ? |
Link
https://www.aliexpress.com/item/1005005575336871.html?spm=a2g0o.order_list.order_list_main.11.28e31802Wxn6Wl
Database entry
{"id":115,"type":"EndDevice","ieeeAddr":"0xe0798dfffeb87446","nwkAddr":42479,"manufId":4098,"manufName":"_TZE200_v1jqz5cy","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u00195y,f\u00195y,\u0012\u001a5y,\u0012\u001e5y,\u0011"5y,\u0011","65506":31,"65508":0,"appVersion":65,"modelId":"TS0601","manufacturerName":"_TZE200_v1jqz5cy","stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1692789799130,"defaultSendRequestWhen":"immediate"}
Comments
Would someone be willing to make a converter> here are the Data Points
1: TDS
2: temperature
101: ORP
102: CL
7: Battery Percentage
105: backlight Value
10: ph Value
11: EC Value
108: EC Max Value
109: EC Min Value
110: ORP max
111: ORP min
112: CL Max Value
113: CL Min Value
114: PH??
115: EC??
116: ORP??
117: Salt
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: