-
Notifications
You must be signed in to change notification settings - Fork 720
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
TS0041 TS0044 TS0042 - missing presses and LED flashing #1746
Comments
The TS004F is having problem with default response that must being sent in the wrong direction for EP 2-4 for getting the communication working 100% and its not fixed in ZHA and i think the other TS004X can having the same problem if not getting the DR not OK. I dont have and TS004X devices only TS 004F that is working little different. If you having the hardware for sniffing it shall being great if getting it sniffed so can see how it working with tuya ZBGW !! |
I Havel no idea how to sniff ZigBee communication. Maybe sdr? Is there some guide somewhere? Maybe fixing this And the TS0222 _TYZB01_kvwjujy9 devices would be less pain then spelling And replacing with others that might or might not work :) I liked tuya before, but since they started replacing esp chips with their own and do weird zigbee hacks and also since now we have inexpensive alternatives; tuya stuff does not make much sense, there are some exceptions, like the zigbee plugs or the T+RH sensors that take 2 aaa batteries, but that is pretty much it from the devices that do have alternatives, i guess they still have some unique devices. |
Some info: https://github.com/zigpy/zigpy/wiki/Sniffing-Zigbee-traffic |
Koenkk/zigbee2mqtt#8072 < linking this here as there are some wireshark caps. already |
I think that the quirk is need being updated to sending tuya magic for the device working OK wot we have seen in the linked Z2M issue and sniff from the tuya ZBGW. |
I'm having the same issue with those switches (I have two TS0044). After inactivity for several hours, the first button pressed is ignored. It is as if the device goes into a sleep mode and you have to press a button to wake it up. |
@javicalle Is it working putting
or must is being added in all device classes ? And how to do it right ?
|
I bet that can be done adding in the parent class: class Tuya4ButtonTriggers(EnchantedDevice):
"""Tuya 4-button remote device triggers.""" Maybe even we can define the class Tuya4ButtonTriggers(EnchantedDevice, CustomDevice):
"""Tuya 4-button remote device triggers.""" class TuyaSmartRemote0044TI(Tuya4ButtonTriggers):
"""Tuya 4-button remote device with time on in cluster.""" class TuyaSmartRemote0044TO(Tuya4ButtonTriggers):
"""Tuya 4-button remote device with time on out cluster."""
|
@cordvision can you testing this quirk for TS0044 ? Then ZHA is started and stable deleting one of your remotes from the device card and waiting one minute and adding it new (resetting the remote). The trick is the system is sending tuya magic only then the device is not known for the system so its must neing one new paring not updating one in the system known device. Pleas testing and reporting back !! @javicalle i finding the same but its needs very mush testing and we dont have enough device for doing it safely and it can be that we is needing it for some devices that is not liking getting the magic. |
@MattWestb |
@MattWestb Logger: homeassistant.config_entries Error setting up entry ConBee II - /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2492391-if00, s/n: DE2492391 - dresden elektronik ingenieurtechnik GmbH - 1CF1:0030 for zha After deleting the quirk and re-starting again... everything is back to normal with no errors. |
Either |
@TheJulianJES |
It was more directed towards MattWestb/javicalle, but here's a modified version that might work. You still need to remove + re-pair the Tuya devices. Let me know if this works or crashes again. Try this: ts0044_custom.py.txt |
@TheJulianJES |
Thanks Julian. |
No worries, happy to help where I can |
@TheJulianJES On a side-note: I also noticed that the "battery level" reporting (on both of my switches) started jumping from 100% to 70% and back (see here: https://prnt.sc/E-u-KtouHNRQ). This coincided on both switches with the time I loaded the "custom quirk". The switches are both less than 3 weeks old and I did put new batteries in when I got them. Any idea what the problem might be? Also, can somebody confirm that the switch indeed works properly with Zigbee2MQTT? |
Just wanted to report back as promised: So far my battery values have not updated. They remain the same.... not sure if this reflects the actual amount of battery I have left. |
@Rojoss Pleas enabling debug loging for ZHA and zigpy and posting the log then its happening so the devs can looking if somthing going wrong. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions. |
Is this going te be resolved? I have the axact same issues after update of Z2m with 4 of these ts0044 devices... |
I noticed this start happening in the past couple months. Fresh batteries did not help. A single button press will sometimes work correctly, or it'll cause the entire panel to blink multiple times , and not perform the automation assigned to it (toggle lights). It'll often fail twice, and then work the 3rd time, in a single 15s window . The only difference between now, and when it used to work flawlessly for over a year, is that I've got more devices on the network (~80 vs probably 65), and z2m has probably undergone some updates. |
Indeed, I have 4(!) of these and they always worked fine. Now all 4 have this exact same issue... |
Describe the bug
TS0041 TS0044 TS0042
TS004F does not have that issue
To Reproduce
have TS0041 TS0044 TS0042
Expected behavior
react on press all the time and do not flash leds Lrandomly"
Screenshots
If applicable, add screenshots to help explain your problem.
Device signature
Diagnostic information
Additional logs
Seems to be announce issue? Same behaviour with zigbee2mqtt. With tuya gateway it sometimes do not react on press, or rather reacts with huge delay, but never fleshes leds.
The text was updated successfully, but these errors were encountered: