Frequency of Ping in z2m

Hi there,

I constantly get “Failed to Ping” messages from Devices that work without issues.
Is there an option to lower the frequency of those pings? Or at least to not show them?

The app is not usable when every second the whole screen gets flooded by “failed to ping XY” messages

This is not something you want to adjust the timeout for, you should rather fix the issue of why they are not responding. Check your logs for clues.

2 Likes

… but if still want to do it:

The only “clue” in the logs is “failed to ping”

I guess this happens because my network is pretty big and covers a big area.
It spans about 250 Meters, so pings have to go through multiple routers
Second ping goes usually through.

Maybe there is an option to extend the timeout, so a ping may come through?

Based on the map my hunch is that you have too few router devices where most of your battery devices are located. You might also benefit on closing the largest gaps with some routers.

I am pretty sure that’s not the case, since the Ping errors also come up for some devices that are also routers themselves like the Ubisys Relais.

I would get it if it only happened on the Aqara sensors since they tend to be pretty picky of their route and go offline if something changes

See my second sentence. A span of 250 meters with 31 routing devices gives you around 8 meters average between the devices. Since the devices clearly have to re-transmit data that might be a weak mesh causing this.

For comparison I got 43 router devices where the largest physical distance is probably 30 meters, so an average of 1,4 meters between the devices. I’ve never had the problem you are having.

For troubleshooting you could (if possible) try moving some routing devices around, see if that makes any difference.

allrighty
I try to put some additional routers in there
I have some Aeotec Range extenders lying around. Only problem is the scarcity of power sockets to plug them into lmao

Take a look at the LQI values, I believe I see some 0’s and some single digit values in your map. That is where you want more routers.

The LQI is pretty useless imho

I have for example two routers next to each other
One shows 255 and the other shows 0
Some battery sensors never went offline with 0 LQI and some showing over 150 constantly go offline though they are just 20 cm apart from each other

I agree mostly, but it can still be useful. I’ve never seen sub 40 values in my installation. If you have 0’s and single digits I think it’s worth investigating.

From the FAQ: FAQ | Zigbee2MQTT

  • In theory, an LQI value of 255 means a zero error rate, meaning it indicates absolute perfect link quality.
  • In general, a positive high LQI value is better and a lower LQI value is worse. However, depending on your devices, that might not be the reality.
  • Usually, if a device stays at an LQI value of 40+ or above then that link can usually be considered acceptable for normal operational conditions.
1 Like

Yeah, I know that from my DECT devices. Some time ago, when I started with HA and Z2m, I asked here in the forum and the consense was “if it works, it works - don’t question it” :smiley:

1 Like