Skip to content

luci-app-ledtrig-ping: add ping-based LED trigger#8315

Open
smartcoder0777 wants to merge 1 commit intoopenwrt:masterfrom
smartcoder0777:luci-app-ledtrig-ping
Open

luci-app-ledtrig-ping: add ping-based LED trigger#8315
smartcoder0777 wants to merge 1 commit intoopenwrt:masterfrom
smartcoder0777:luci-app-ledtrig-ping

Conversation

@smartcoder0777
Copy link

@smartcoder0777 smartcoder0777 commented Feb 10, 2026

Fixes: #8309

Description:
Add luci-app-ledtrig-ping: LED trigger driven by ping (LED on = host reachable, off = unreachable). Adds a “Ping target (userspace)” option under System → LED Configuration with Ping target (host/IP) and Check interval (seconds). Includes procd service, /usr/libexec/ledtrig-ping, and ucitrack so config changes apply on save. Useful for internet/status LEDs on devices like Cudy WR3000E or Xiaomi AX3200.

  • This PR is not from my main or master branch 💩, but a separate branch ✅
  • Each commit has a valid ✒️ Signed-off-by: Pavel Nefir pavelnefir85@gmail.com
  • Each commit and PR title has a valid 📝 [<package name>: title](luci-app-ledtrig-ping: add ping-based LED trigger) first line subject for packages
  • Incremented 🆙 any PKG_VERSION in the Makefile
  • Tested on: (architecture, openwrt version, browser) ✅
  • ( Preferred ) Mention: @ the original code author for feedback
  • ( Preferred ) Screenshot or mp4 of changes:
  • ( Optional ) Closes: e.g. Feature request: luci-app-ledtrig-ping #8309
  • ( Optional ) Depends on: e.g. openwrt/packages#pr-number in sister repo
  • Description: (describe the changes proposed in this PR)

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=191128130

@github-actions

This comment has been minimized.

Add LED trigger driven by ping (on = reachable, off = unreachable).
- LED trigger plugin (ping target + check interval) on System -> LEDs
- Procd service and script; ucitrack reload on system config change
- PKG_VERSION 1.0.0, PKG_RELEASE 1
Closes: openwrt#8309

Signed-off-by: smartcoder0777 <smartcoder0215@gmail.com>
@github-actions
Copy link

Warning

Some formality checks failed.

Consider (re)reading submissions guidelines.

Failed checks

Issues marked with an ❌ are failing checks.

Commit 6004263

  • 🔶 Author name (smartcoder0777) seems to be a nickname or an alias
  • 🔶 Committer name (smartcoder0777) seems to be a nickname or an alias

For more details, see the full job log.

Something broken? Consider providing feedback.

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.

Feature request: luci-app-ledtrig-ping

1 participant