Motion sensors either respond with a delay or do not detect movement at all

Please let me know if anyone has had a similar problem. The SLZB-06 coordinator (which is based on the CC2652P) is flashed with the Z-Stack-firmware 460800bps mod from 20240315. The Zigbee2MQTT version is 1.39.0. Several Aqara P1 (RTCGQ14LM) motion sensors are connected to it. Some time ago, the sensors started triggering randomly, either not detecting a person or triggering when the person is already leaving the detection zone, and sometimes working correctly. After various attempts, I decided to replace them with IKEA VALLHORN E2134 sensors, but they also detect movement with a delay. They are connected to the nearest Aqara T1 (WXKG13LM) relay router, and the signal is good. The WiFi 2.4 channel is the first channel (2412), and the coordinator is on channel 20. I also have a SONOFF Zigbee 3.0 USB Dongle Plus-E, but the sensors behave the same way in another network on channel 11. I’m at my wits’ end and don’t know where to look further.