Ping sensor config

I have setup a binary ping sensor to check regularly an internal device with static IP so that I am monitoring power outages.
I left the default ICMP packets of 5, so my question is when is this considered as fail or success? Do all 5 packets need to drop or only one would count as failure?

Not 100% sure, but I think it will always send 5, and if at least one gets a response, then the state will be ‘on’. If all 5 get no response, then the state will be ‘off’.

1 Like

Hello,
I just wanted to ask the same question.

How does this parameter “count” (optional) affect the binary sensor result:
Only one of the transmitted IMCP packets has to be replied or all of them?

The documentation is (like always) pretty precise, beside this parameter:
https://www.home-assistant.io/integrations/ping

My intention:
I just want to get a notification when my extern router (connected over VPN with wireguard) is not available any more.