Skip to content
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 RB-SRAIN01 no longer updates in 2.1.0 #26124

Closed
JSVHolmes opened this issue Feb 2, 2025 · 26 comments
Closed

Tuya RB-SRAIN01 no longer updates in 2.1.0 #26124

JSVHolmes opened this issue Feb 2, 2025 · 26 comments
Labels
problem Something isn't working

Comments

@JSVHolmes
Copy link

What happened?

Tuya RB-SRAIN01 was previously updating values as normal up to v2.0.0, however after updating to v2.1.0 the device still updates last seen every minute, but none of the other values update anymore. Reverting back to v2.0.0 restores all values back to updating as normal.

I am using Zigbee2MQTT via a Contianer and using Home Assistant 2025.1.4 (also in Docker) to record the values.

It is possible that the "Reportings" have been wiped, although this seems to be the same on the older version, under "manuSpecificTuya" there are no attributes listed for this device.

What did you expect to happen?

The same behaviour as before, Illuminance and rain sensors should update.

How to reproduce it (minimal and precise)

Have the Tuya RB-SRAIN01 sensor under version 2.0.0 and update to 2.1.0, the values on the device no longer update

Zigbee2MQTT version

2.1.0

Adapter firmware version

20230507

Adapter

SONOFF Universal Zigbee 3.0 USB

Setup

Docker Container

Debug log

No response

@JSVHolmes JSVHolmes added the problem Something isn't working label Feb 2, 2025
@Malte42
Copy link

Malte42 commented Feb 2, 2025

Same Probleme here, but not in docker. Except the rain sensor works for me but iliminance, rain intensity and battery not updating only showing null.

@Sergey7up
Copy link

Confirmed. After upgrading to Zigbee2MQTT 2.1.0, all reported values from the TS0207 [RB-SRAIN01] (_TZ3210_tgvtvdoc) device remain frozen.

Troubleshooting Steps Taken:
Attempted re-pairing the device
Reconfigured device
Observed that only the "link quality" and "rain true/false" updates, even when pressing "Interview".

Home assistant OS
Core 2025.1.4
Supervisor 2024.12.3
Operating System 14.2

@SargonofAssyria
Copy link

Same here, going back to 2.0.0 everything works with this device.

@cedarearthy
Copy link

Same problem here

@keidischoi
Copy link

Same problem too

1 similar comment
@Murianwind
Copy link

Same problem too

@pantherale0
Copy link

Same issue here

@andrazek
Copy link

andrazek commented Feb 3, 2025

...and here

@SargonofAssyria
Copy link

I went back to 2.0.0-dev, it works fine initially but after half a day the device does not update anymore.
Will try to include it again and see what happens.

@andrazek
Copy link

andrazek commented Feb 3, 2025

I've also noticed that the device stops reporting after a few days or even sooner. However, I didn't experience these issues between November and mid-January. I've now moved it closer to the coordinator to see if distance was a factor, though the LQI has consistently remained above 100.

@pantherale0
Copy link

I don't think the distance is a problem, mine is much closer to my coordinator and multiple routers than some other devices on my ZB network that are working fine.

Generally I don't experience any problems with this. I've restored back and no problems so far.

@Marbie2024
Copy link

I got the same Problems. I've seen the following errors for the device:

Received network/route error ROUTE_ERROR_INDIRECT_TRANSACTION_EXPIRY for "42613".

@Sergi-CP
Copy link

Sergi-CP commented Feb 3, 2025

Same problem here. After back to version 2.0
O all started to works fine.

@jpbede
Copy link

jpbede commented Feb 3, 2025

Ok, I found the problem with this and probably some other Tuya devices. This line Koenkk/zigbee-herdsman-converters@d7f9a3c prevents Zigbee packets for Tuya devices from being reprocessed if the sequence ID is the same, but the rain sensor always sends its data with the same sequence ID:

[2025-02-03 19:50:39] debug: 	zh:controller: Received payload: clusterID=61184, address=52189, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=116, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":153,"commandIdentifier":6},"payload":{"seq":256,"dpValues":[{"dp":105,"datatype":2,"data":{"type":"Buffer","data":[0,0,1,241]}}]},"command":{"ID":6,"parameters":[{"name":"seq","type":33},{"name":"dpValues","type":1011}],"name":"activeStatusReport"}}

[2025-02-03 19:51:39] debug: 	zh:controller: Received payload: clusterID=61184, address=52189, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=116, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":156,"commandIdentifier":6},"payload":{"seq":256,"dpValues":[{"dp":105,"datatype":2,"data":{"type":"Buffer","data":[0,0,1,246]}}]},"command":{"ID":6,"parameters":[{"name":"seq","type":33},{"name":"dpValues","type":1011}],"name":"activeStatusReport"}}

@crguez
Copy link

crguez commented Feb 3, 2025

Same issue here. Any solution?

Update: After downgrading to 2.0.0, sensor is working again (and it's one of my most important ones). So looking forward to have this issue fixed before upgrading to 2.1.0.

@reylinux
Copy link

reylinux commented Feb 4, 2025

Also notice this behavior after the update. Tested and working fine on the SmartLife app, but not in HA.

@francouai
Copy link

Same problem here.
waiting for a new update.

@jpbede
Copy link

jpbede commented Feb 5, 2025

Should be fixed by Koenkk/zigbee-herdsman-converters#8723

Is currently available in the dev branch or in the next release which is every 1st of the month.

@DoWenzl94
Copy link

+1

@Koenkk
Copy link
Owner

Koenkk commented Feb 5, 2025

Let me know if it works in the dev branch, I'll create a new z2m release after that.

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

@adamlc
Copy link

adamlc commented Feb 5, 2025

Let me know if it works in the dev branch, I'll create a new z2m release after that.

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

It's working great for me using the dev branch 🙌

@Koenkk
Copy link
Owner

Koenkk commented Feb 5, 2025

Thanks, I will release z2m 2.1.1 with a fix soon!

@Koenkk Koenkk closed this as completed Feb 5, 2025
@josemaX
Copy link

josemaX commented Feb 9, 2025

After update z2m to 2.1.1 this device worked fine a day or so, then stopped updating.

I've restarted the Home-Assistant machine (HAOS) and nothing (new) happened.

If you want me to make some tests or get some info, i'm available to check.

Thanks!

@Sergi-CP
Copy link

Sergi-CP commented Feb 9, 2025

Hello, here also, but after Home Assistant Core the problem appears. Or doesn't update or values have strange behaviour.

@Malte42
Copy link

Malte42 commented Feb 9, 2025

Same problem here working for a few days then this morning it stopt working with the same problems as bevor

@cedarearthy
Copy link

Same here, it worked for a few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests