Other Parts Discussed in Thread: CC2531
Tool/software:
I have made a temperature sensor with two endpoints: one for a SHT sensor and another one for an NTC. Everything seems to work as intended and the sensor reports all values correctly, however it seems to disconnect randomly after some time. It could be one or two days, but some may last as much as a couple of weeks before randomly dying. They will reconnect after a repower (I get to see the device announce messages in the Z2M logs after a repower). If the device has been dead for a longer period, I have to manually repair it again for it to work.
I've tried a SONOFF coordinator as well as a UZG coordinator and the behaviour is identical: random disconnects after a varied number of days/weeks
I could not get a sniffer to work (tried it on 2 PCs to write the firmware on a sniffer I bought), but considering it might take days/weeks for a sensor to die, it would be extremely difficult to use a sniffer for this. I am using SDK version 6.20. I will attach the full source code in case anyone is willing to take a look.
Has anyone else encountered a behaviour like this? Where can I delve deeper into the issue to try and isolate a possible cause for this?


