Skip to content

Ping sensor, fixes #72#539

Open
ewired wants to merge 1 commit intocorecoding:developfrom
ewired:ping-sensor
Open

Ping sensor, fixes #72#539
ewired wants to merge 1 commit intocorecoding:developfrom
ewired:ping-sensor

Conversation

@ewired
Copy link
Copy Markdown

@ewired ewired commented Apr 16, 2026

Thoroughly tested ping sensor based on a ping subprocess. If your update interval is set to 3 seconds and a ping doesn't respond by the next interval, it will display 3000+ ms and end the subprocess early, otherwise falling back to the max ping timeout of 5 seconds which will display 5000+ ms. Upon error (no DNS resolution, invalid host, etc) it displays ?? ms. I wanted to make sure the user gets a chance to fully type the intended host before confirming, so the prefs may be a bit unique compared to other features. It is lacking a unique icon for the original icon set, I just copied the cloud icon. Tested on NixOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant