Add Lipo Nanny (battery telemetry widget) to scripts.json#55
Add Lipo Nanny (battery telemetry widget) to scripts.json#55Mariator-pro wants to merge 2 commits into
Conversation
📝 WalkthroughWalkthroughAdds a new entry to scripts.json for a widget script named "Lipo Nanny", including its category, description, source link, screenshot image, and tags. ChangesLipo Nanny Script Entry
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
scripts.json (1)
828-832: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueConsider adding a battery/chemistry tag.
Tags are limited to
expresslrs,widget,color; abatteryorlipotag would improve discoverability for a battery-telemetry widget, consistent with how other telemetry entries seem to tag by function.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@scripts.json` around lines 828 - 832, The tag list for this script entry is too generic for a battery-telemetry widget. Update the tags array in scripts.json to include a battery-related tag such as battery or lipo alongside the existing expresslrs, widget, and color tags, so the entry is easier to discover and consistent with other telemetry-related tags.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@scripts.json`:
- Around line 828-832: The tag list for this script entry is too generic for a
battery-telemetry widget. Update the tags array in scripts.json to include a
battery-related tag such as battery or lipo alongside the existing expresslrs,
widget, and color tags, so the entry is easier to discover and consistent with
other telemetry-related tags.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: cf0e0ff6-cd15-40ff-bc30-c8b3bac7fac3
⛔ Files ignored due to path filters (1)
ASSETS/lipo-nanny/screenshot-1.pngis excluded by!**/*.png
📒 Files selected for processing (1)
scripts.json
Adds Lipo Nanny to scripts.json under "Telemetry & Widgets".
Lipo Nanny is an EdgeTX Lua battery telemetry widget: it auto-selects the
pack from resting voltage, estimates starting SoC from a chemistry-specific
curve (LiPo/LiPoHV/LiIon), tracks remaining capacity from FC-reported
consumed mAh, and gives two one-shot voice warnings (return / land). ELRS/CRSF
by default, other systems via per-model sensor remapping.
Screenshot added under ASSETS/lipo-nanny/.
Summary by CodeRabbit