Andrik45719 / ZY-M100

ZY-M100/WZ-M100 solving network spamming
52 stars 0 forks source link

Extending to other similar devices (ZY-M100-S_1 and ZY-M100_24GV2) #4

Closed jgarridoalcazar closed 1 month ago

jgarridoalcazar commented 2 months ago

Thank you @Andrik45719 for effort on reducing load for our Zigbee networks.

I wonder if there is any procedure to extend this methodology to other devices. Could you give any clue on how to generate these modified firmware. I also have at home these two models:

In case it can be helpful I attach the firmware extracted from these two devices and can upload photos of the interior, if you consider them important.

Andrik45719 commented 2 months ago

I am disassemble firmware using IDA and search where Tuya DP is sent. ARM little-endian load address 0x8000000 RAM: 0x20000000-0x20002000

Please upload photos to understand HW differences

Andrik45719 commented 2 months ago

try this and report if OK

jgarridoalcazar commented 2 months ago

Thanks!! After initial tests with the ZY-M100-S_1 version, it seems to be working fine. When presence is false it publishes a burst of 5msgs every minute. I think this is a reasonable amount of traffic for the network.

These are the photos for the ZY-M100-S_1 2024-09-09-20-53-32-269 2024-09-09-20-52-57-748

And these are the photos for the ZY-M100_24GV2 2024-09-11-11-52-59-855 2024-09-11-09-26-04-886

pimpmytechno commented 2 months ago

Hey guys! In my case i have Wenzhi (WZ-M100-W). Is there any way to obtain modified firmware for this device?

Andrik45719 commented 2 months ago

Patched FW for 24G uploaded, please check it

jgarridoalcazar commented 2 months ago

Patched FW for 24G uploaded, please check it

Initial testing and working as expected. When presence=true, it reports one message every 30 seconds. When presence=false, once every 10 seconds.

Thanks again for finding this solution for a general issue of Zigbee Tuya presence sensors.

pimpmytechno commented 2 months ago

Patched FW for 24G uploaded, please check it

Can you please generate firmware for _TZE204_e5m9c5hl? TZE204_e5m9c5hl.zip

Andrik45719 commented 2 months ago

Patched FW for 24G uploaded, please check it

Can you please generate firmware for _TZE204_e5m9c5hl? TZE204_e5m9c5hl.zip

You can flash _TZE204_sxm7l9xa The firmware differs only in the 'Zigbee Manufacturer' code.

jgarridoalcazar commented 1 month ago

After testing during some time they are working as expected.