Koenkk / Z-Stack-firmware

Compilation instructions and hex files for Z-Stack firmwares
MIT License
2.39k stars 649 forks source link

Stability question regarding 20190425 #86

Closed nob0dy80 closed 5 years ago

nob0dy80 commented 5 years ago

@Koenkk using the max_stable firmware which is working great for weeks now. All other firmwares i tried, lead to a crash on a large network.

I see in 20190425 you increased the direct devices again. i'm afraid to give it a try cause i already see it crashing again.

In the changelog i see

are these settings only good for performance or are they any related to stability too?

BabyDino commented 5 years ago

Sure, I need to find some time this week. I also expect new end devices. Will test 0315 first before adding them.

capitaenz commented 5 years ago

Hello,

I also have problems with the stability and accessibility of the devices. I lose again and again a "lumi.sensor_switch" I have now tested these versions:

I suspect that it is due to the weak transmission power of the CC2531, only 25mW Is it possible to increase the transmission power to 100mW?

Many Greetings Leif

Koenkk commented 5 years ago

@capitaenz you probably experience https://github.com/Koenkk/zigbee2mqtt/issues/1684#issuecomment-508304011

capitaenz commented 5 years ago

Thank you for the very interesting report! Is it possible to solve the "15 minute problem" of the Xiaomi sensors with a CC2531 firmware? I am currently testing another firmware because of the Xiaomi sensors. The CC2531_SOURCE_ROUTING_20190610. So is it useless to test this? Many Greetings

Koenkk commented 5 years ago

@capitaenz can you try the following firmware? https://github.com/Koenkk/Z-Stack-firmware/blob/dev/coordinator/Z-Stack_Home_1.2/bin/source_routing/CC2531_SOURCE_ROUTING_20190706.zip

I've increased the end device timeout to the max value (11 days).

capitaenz commented 5 years ago

You are great! I downloaded the file, but unfortunately it is a .hex file. I update via USB. Can you give me the .bin file? I will then test it and hope my wife does not kill me =)

Koenkk commented 5 years ago

Added it: https://github.com/Koenkk/Z-Stack-firmware/blob/dev/coordinator/Z-Stack_Home_1.2/bin/source_routing/CC2531_SOURCE_ROUTING_20190706.zip

capitaenz commented 5 years ago

Thanks for the quick support. I have now installed the firmware and everything is running and I will watch and report afterwards. The Xiaomi switches have fallen out of the mesh after about >1 hours with the firmware before. You have now set the value to 11 days, what was the value before?

Koenkk commented 5 years ago

256 minutes

capitaenz commented 5 years ago

That's about 4 hours ... I hope that solves my problem with the switches. Are there any other problems with the 11 days? Maybe with the memory of the CC2531 stick? As I said, I'm going to be testing now and I have now installed all Xiaomi switches (4 pieces). Zigbee

Koenkk commented 5 years ago

I don't expect this to have an impact on the memory.

capitaenz commented 5 years ago

One of 4 Xiaomi switches is not working anymore. Radio problems can be ruled out because it is located on the same floor only 4 meters from the coordinator in a room with light bulbs and a plug. I then flashed the firmware CC2531_DEFAULT_20190608 and then the switch without pairing immediately worked again. What could that be?

Koenkk commented 5 years ago

I'm not sure, what is the situation now?

capitaenz commented 5 years ago

2 days after installing the CC2531_DEFAULT_20190608 everything works just fine, even the Xiaomi. The adaptation with the 11 days was not necessary. It is very difficult to make a statement about the function, obviously the Zigbee network takes many hours to become stable. It would be interesting to see what happens after a power outage, but I would not like to try that for now. If now my "Osram Gardenspot RGB" would work, everything would be great, but that's not the CC2531, but the ioBroker adapter.

Koenkk commented 5 years ago

@capitaenz you probably experience https://github.com/Koenkk/zigbee2mqtt/issues/1408 (something which is caused by the source routing firmware but cannot be fixed). That also explains why it works with the default one.

capitaenz commented 5 years ago

@Koenkk I lost my desire for the CC2531 stick and bought the Conbee II from Dresden Elektronik. There is also an adapter at ioBroker and everything works as it should. No more trouble. Still, thank you for your help.

Koenkk commented 5 years ago

@capitaenz good that you have a working setup now!

I will close this as the new firmware seems to be working stable for most.

Xsev1 commented 5 years ago

Hello, My coordinator lost connection after each reboot (reproducible). I tested on my own server an a second installation by a friend. We run the maxstability 20190315 whitout problems for some months. After upgrade 20190610, you can pair everything, all ok but after rebooting your server the zigbee never connect again. Testet hardware and versions: -CC2531 Pi + Nuc (Debian) -CC2530-2591 Pi -Home1.2 -Source Routing 1.2 -Z-stack3

The new coordiantor firmware works fine at beginning but if i restart my server, it lost connection and i must repair the complete Network. This bug i had never before with an older coordinator firmware. Thats a very big problem for me.