The cheap Wenzhi ZY-M100 sensor seems quite popular, especially since it seems they’re actually the only ones you can fit into the ceiling. However as noted by many, these sensors spam a lot. But there’s a solution that I came across and I felt it needed more attention here, since this really is nice. This guy patches several Wenzhi sensors. After flashing those the spamming is pretty much gone: GitHub - Andrik45719/ZY-M100: ZY-M100/WZ-M100 solving network spamming
Enjoy!
Actually I decided to work upon this mod. The sensor puts out a few messages that home asssistant currently isn’t even handling (DP 104, which is ‘none or exist’, which is quite useless) and DP 255, which is a boolean message which always seems to be false. Since HA isn’t even processing them I decided to silence them. Also for most of my locations I don’t even need illuminance info, I just want to know if somebody is there, so I also killed that message. The resulting modded file results in minimal traffic, mostly just the DP 1 messages for presence updates and every now and then all settings.
I have a TZE204_ya4ft0w4 myself so this file is only for that sensor: Filebin | sbyn9vsibzop8m7g
Flashing procedure is the same as explained in the github above.