Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICMP (Ping) binary sensor avg and max value too high #42468

Closed
nerdosity opened this issue Oct 27, 2020 · 2 comments
Closed

ICMP (Ping) binary sensor avg and max value too high #42468

nerdosity opened this issue Oct 27, 2020 · 2 comments

Comments

@nerdosity
Copy link

nerdosity commented Oct 27, 2020

The problem

The value reported from the sensor is too high, for round trip time avg: 32.029, and for round trip time max: 118.759. Min value seems OK.

During the same time, I opened the docker, opened a shell and from there pinged fast.com.
Below are the results:

bash-5.0# ping fast.com

64 bytes from 23.51.255.197: seq=0 ttl=59 time=7.463 ms
64 bytes from 23.51.255.197: seq=1 ttl=59 time=7.148 ms
64 bytes from 23.51.255.197: seq=2 ttl=59 time=7.934 ms
64 bytes from 23.51.255.197: seq=3 ttl=59 time=7.580 ms
64 bytes from 23.51.255.197: seq=4 ttl=59 time=9.324 ms
64 bytes from 23.51.255.197: seq=5 ttl=59 time=7.214 ms
64 bytes from 23.51.255.197: seq=6 ttl=59 time=20.235 ms
64 bytes from 23.51.255.197: seq=7 ttl=59 time=6.606 ms
64 bytes from 23.51.255.197: seq=8 ttl=59 time=6.998 ms
64 bytes from 23.51.255.197: seq=9 ttl=59 time=7.624 ms
64 bytes from 23.51.255.197: seq=10 ttl=59 time=6.794 ms
64 bytes from 23.51.255.197: seq=11 ttl=59 time=7.196 ms
64 bytes from 23.51.255.197: seq=12 ttl=59 time=7.524 ms
64 bytes from 23.51.255.197: seq=13 ttl=59 time=10.723 ms

----CUT----

-- fast.com ping statistics ---
83 packets transmitted, 83 packets received, 0% packet loss
round-trip min/avg/max = 6.606/8.035/20.235 ms

Environment

Home Assistant 0.116.2
Versione Frontend: 20201001.2 - latest

arch x86_64
dev false
docker true
hassio false
installation_type Home Assistant Container
os_name Linux
os_version 4.4.59+
python_version 3.8.5
timezone Europe/Rome
version 0.116.2
virtualenv false

Problem-relevant configuration.yaml


  - platform: ping
    scan_interval: 20
    count: 5
    host: 'fast.com'
    name: Latenza internet

@nerdosity nerdosity changed the title ICMP (Ping) binary sensor value too high ICMP (Ping) binary sensor avg and max value too high Oct 27, 2020
@probot-home-assistant
Copy link

ping documentation
ping source
(message by IssueLinks)

@bdraco
Copy link
Member

bdraco commented Dec 2, 2020

I'm closing this out since the upstream issue has been reported and confirmed fixed.

@bdraco bdraco closed this as completed Dec 2, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants