Skip to content

Add Lipo Nanny (battery telemetry widget) to scripts.json#55

Open
Mariator-pro wants to merge 2 commits into
EdgeTX:mainfrom
Mariator-pro:add-lipo-nanny
Open

Add Lipo Nanny (battery telemetry widget) to scripts.json#55
Mariator-pro wants to merge 2 commits into
EdgeTX:mainfrom
Mariator-pro:add-lipo-nanny

Conversation

@Mariator-pro

@Mariator-pro Mariator-pro commented Jul 6, 2026

Copy link
Copy Markdown

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

  • New Features
    • Added a new telemetry/widget entry called “Lipo Nanny” with a description, source link, screenshot, and tags.
    • Improved discoverability for battery and consumption-related widget content.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Adds a new entry to scripts.json for a widget script named "Lipo Nanny", including its category, description, source link, screenshot image, and tags.

Changes

Lipo Nanny Script Entry

Layer / File(s) Summary
New script catalog entry
scripts.json
Adds a new object for "Lipo Nanny" with name, category, description, infourl, images, and tags (expresslrs, widget, color).

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding Lipo Nanny to scripts.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
scripts.json (1)

828-832: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Consider adding a battery/chemistry tag.

Tags are limited to expresslrs, widget, color; a battery or lipo tag 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

📥 Commits

Reviewing files that changed from the base of the PR and between c57e782 and d8a8a9b.

⛔ Files ignored due to path filters (1)
  • ASSETS/lipo-nanny/screenshot-1.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • scripts.json

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