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
Tuya ZTH05 sensor Humidity & temperature #19137
Comments
tuya.js : fingerprint: tuya.fingerprint('TS0601', ['_TZE200_yjjdcqsq', '_TZE200_9yapgbuv', '_TZE204_upagmta9', '_TZE200_cirvgep4']), but doesn't work . :s |
please help me :) |
You can ignore the |
I run into the same problem with the same sensor.
I am pretty new to zigbee, so please let me know what kind of information you need to help. |
MR Koenkk say , _TZE204_upagmta9 is supported out-of-the-box in z2m 1.33.1 but after a couple of days on the configutation it's doesn work , so i stay online for the update and another guy who have the same problem . |
@aerandir08 have u a probleme with batterry ? my battery is empty on 24h |
I just got the sensors. The battery is not full. It says about 50%. |
it is the same sensor ? 3:03:08Received Zigbee message from '0xa4c1385bbb64a21f', type 'attributeReport', cluster 'genBasic', data '{"65503":"�\u0007�,\u0019�\u0007�,\u0007\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0 |
Values are reported as such:
|
I’m going crazy, I have 5 sensors, none of them work, I have to make a mistake somewhere, but or? I don’t know! it's my log at this time : 2023-10-10 13:59:38Received Zigbee message from '0xa4c1385bbb64a21f', type 'attributeReport', cluster 'genBasic', data '{"65503":"�\u0014�,\u0019�\u0014�,\u0007\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0 |
@rdneer u have a external decoder ? cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,73],"type":"Buffer"},"datatype":2,"dp":2}],"seq":11008}, and this mine cluster 'manuSpecificTuya', données '{"seq":768,"version":64}' |
I've re-paired the device to see what's happening when the device joins:
Is this what you see when you pair the device to the coordinator? |
info 2023-10-08 11:08:34: Successfully interviewed '0xa4c1385bbb64a21f', device has successfully been paired |
You think this is coming do coordinator? Zigbee2MQTT:info 2023-10-10 14:36:07: Starting Zigbee2MQTT version 1.33.1-dev (commit #2aae1bd) |
@jafreenas I'm facing the same issue with the same coordinator :
Be aware that it is in experimental mode, so the issue may be fixed later ? |
Yes, i have the same problem. I soldered some wires on to measure the current consumption. It takes about 9.7 mA in paring mode and about 4.8 mA if it´s paired. So a 220 mAh CR2032 takes about 2 days to be empty. |
I received three ZTH05. |
I'm surprised Francis, I also have the ZTH05, and they don't report any information, could see your logs ? |
I am facing same problem as @jafreenas, only lqi value is present, i tried changing battery, pushing button after reconnect. @jafreenas it seems like values on screen only updates after reconnecting battery. What about your device? |
Thank you for your feedback @kamilkrz |
This is on forced comunication (short button press) I was able to confirm that i have same board as @rdeneer As per my setup docker build from latest tag so this may vary:
This is by far first Zigbee device that I have difficulties with connection Hope that helps. :edit |
I have the same problem with my newly arrived device, no data is shown apart from lqi. |
we all have the same problem, stay tuned for good news ;) |
I'll follow this issue, having the same issue. Correct values on the screen, but no data send over zigbee. Thats my dongle: After pairing i find these ufo lines in the log:
|
So I've made the below tests, hoping it will help to get to those tuya sensors working with ZHA/Zigbee2MQTT: Initially I received the device, paired it through zha/Home assistant, then as I realized it was not supported added the latest quirks from https://github.com/zigpy/zha-device-handlers patching the "_TZE204_upagmta9" signature but none worked. Then let the device paired and overnight they were out of battery .... Then decided to wire one of them to a 3.3V power source and look at power consumption, noticing that once paired the device continue to consume over 5mA which I think was already mentioned by @aerandir08 Then I popped a separate zigbee dongle (ConBEE II) and launch a 1.33.1 Zigbee2MQTT on a separated network only pairing the "_TZE204_upagmta9". The device get paired and recognized but:
At last I found a tuya zigbe gateway, installed the smart Life app, paired the same device to it. Once paired the power consumption drop to 0.017mA ... In the pp, The "update screen" of the device indicate ZigBee Module v1.0.9 and MCU Module v1.0.0. The values are updated. Also confirm the app reports usage of the battery by state and not % on this device (Low, Mid, High). Changing from °F to °C on the smart life app warn it will only be changed on next device wake-up cycle... Which I was not patient enough after 20 minutes of test to witness ... So it seems the device wait for a "protocol answer"? from the gateway before going to sleep ... otherwise the device stay in a "lock" mode consuming 5.73mA and not updating the internal screen... draining the battery... The "draining state" can also happen while connecting on the smart life app, if short press on the button, or unplug/plug the power source. In term of update, the device seems to updates the internal screen every 10 seconds (we can see power consumption move from 0.017mA to around 0.03/0.04mA). By the way measures seems unstable (0.3 *C variation between measure), the app seems to store only 1 measure at the hour but may display in between values from the iot server. I don't know about the zigbee getaway itself. Next step will be to receive a zigbee sniffing stick and see if I can get zigbee messages and fine tune the message cadence. ... |
Good Job . thanks you for your feedback |
Copy & paste your configuration.yaml |
Sorry, I was standing next to myself. I'm a newbie. I add it before to --> /homeassistant/configuration.yaml After add it to --> /homeassistant/zigbee2mqtt/configuration.yaml the reboot was without a failure possible. ` external_converters:
|
the external converter works perfectly. I just think there is a mistake. |
I will wait further 2 weeks, thank you |
Good afternoon. I have two such devices, bought from different sellers on AliExpress. Wired using a converter by @Koenkk |
with the external converter ? |
My experience is with stock zigbee2mqtt. I haven't used an external converter. |
the following ext converter might fix the issue: https://gist.github.com/Koenkk/43579e5e8d06e84f2af77dfa3b2196a7 save this as file next to configuration.yaml as ext_converter.js
|
Great, but I understand that This device will start working normally without ext_converter in the next release of Zigbee2MQTT? |
yes 2023/12/01 |
I want to add just my experience because I didnt see anyone else in this post to experience the same thing.
So If someone arrives here becaue it's sensor is unresponsive and has the led solid red for long time, just wait 5 minutes to see if this changes. Anyway it still puzzle me: why this happens? I see no other users experienced this.... Final note: I didnt suggest to buy this sensor: it has no "openings" for the air to enter and picked by the sensor, so it's temperature updates are really really slow: moved from a 28 °C to the fidge at 4°C, after 15 minutes it still read 14°C, deacreasoing very slowly.... It's ok for an application where temp doesnt change too much or too fast. |
There is a problem with this sensor when a connection is lost. he is endlessly looking for a pairing with Z2M, when he does not find it, he consumes the battery in a few hours, this is really the big problem with this cheap sensor.. |
It sure is a piece of crap. The Xiaomi one is the same price and so far much better, and can be flashed between ZigBee and Bluetooth. My tip for anyone buying these: At least get a 10 pack of CR2032 batteries! A mod with a AAAs would be nice. |
I have had a different problem with my sensor, a cheap ZTH05. |
could you give me the link to the xiaomi sensors? |
Here's the similar Xiaomi models that support BT to Zigbee conversion among other things. https://github.com/pvvx/ATC_MiThermometer I have the LYWSD03MMC, which is similar in form factor and function. It was $7 CAD from AliExpress 'choice' vs $7 for the Tuya ZTH05. |
@jafreenas |
Updating to the latest Z2M, we have to remove the external converter line in configuration.yaml? |
I have updated and the configuration.yaml seems to have been regenerated (I did not find the external converter reference anymore in the file) |
Salut Benoit et merci de ton aide. Malheureusement quand j'ajoute ton code j’obtiens: |
the external converter works perfectly. |
Ok, thanks for the clarification.
I will wait next update in january :-D
|
How do I pair my ZTH05 with Z2M? Thank you! |
The ZTH05 temperature and humidity sensor pairs fine with Z2M and provides the relevant data points, but it's still draining the battery completely in the space of about 24 hours. Is there any fix for this? |
It only works if you don't push the button after pairing otherwise the
device wait for another magic spell paket after you push the button and
consume all the batterie.
…On Fri, Apr 19, 2024 at 5:40 PM JeffTheMagnificent ***@***.***> wrote:
The ZTH05 temperature and humidity sensor pairs fine with Z2M and provides
the relevant data points, but it's still draining the battery completely in
the space of about 24 hours. Is there any fix for this?
—
Reply to this email directly, view it on GitHub
<#19137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIWETKJQAHGWPWGTIFRZJ3Y6E3GNAVCNFSM6AAAAAA5PK4GGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWHAZTANRQGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello, @benoitm974 @Koenkk did an excellent job, unfortunately when the sensor loses the signal, it only consumes the battery, there is no solution to date. Personally I abandoned this type of sensor for Sonoff. more expensive but it works! |
Link
https://fr.aliexpress.com/item/1005004666251263.html
Database entry
{"id":2,"type":"EndDevice","ieeeAddr":"0xa4c138c4abef3737","nwkAddr":13159,"manufId":4417,"manufName":"_TZE204_upagmta9","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"灭,\u0019灭,\u0007\u0000\u0000\u0000\u0000\u0011","65506":56,"65508":1,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZE204_upagmta9","zclVersion":3,"appVersion":73,"modelId":"TS0601","powerSource":3}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":73,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-1440156621},"lastSeen":1696246219222,"defaultSendRequestWhen":"immediate"}
Comments
I have a problem with this sensor . i have full update a this day.
Zigbee2mqtt Edge , Home Assistant , lastet versions .
debug 2023-10-02 13:56:06: Saving state to file /config/zigbee2mqtt/state.json
debug 2023-10-02 13:56:55: Received Zigbee message from '0xa4c138c4abef3737', type 'attributeReport', cluster 'genBasic', data '{"65503":";��,\u0019;��,\u0007\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0
debug 2023-10-02 13:57:15: Received Zigbee message from '0xa4c138c4abef3737', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
debug 2023-10-02 13:57:17: Received Zigbee message from '0xa4c138c4abef3737', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":73}' from endpoint 1 with groupID 0
debug 2023-10-02 13:57:18: Received Zigbee message from '0xa4c138c4abef3737', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":768,"version":64}' from endpoint 1 with groupID 0
debug 2023-10-02 13:57:18: No converter available for 'ZTH05' with cluster 'manuSpecificTuya' and type 'commandMcuVersionResponse' and data '{"seq":768,"version":64}'
debug 2023-10-02 13:58:42: Received Zigbee message from '0xa4c138c4abef3737', type 'attributeReport', cluster 'genBasic', data '{"65503":"���,\u0019���,\u0007\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0
debug 2023-10-02 13:59:20: Received Zigbee message from '0xa4c138c4abef3737', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
debug 2023-10-02 13:59:21: Received Zigbee message from '0xa4c138c4abef3737', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":73}' from endpoint 1 with groupID 0
debug 2023-10-02 13:59:22: Received Zigbee message from '0xa4c138c4abef3737', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":768,"version":64}' from endpoint 1 with groupID 0
debug 2023-10-02 13:59:22: No converter available for 'ZTH05' with cluster 'manuSpecificTuya' and type 'commandMcuVersionResponse' and data '{"seq":768,"version":64
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: