PCA9685 Debugging Panel v0.2.0 π
A significant update bringing internationalization, action recording & replay,
and improved developer experience to the remote servo debugging panel.
β¨ New Features
π Internationalization (i18n)
- Added bilingual support: English and Simplified Chinese (zh-CN).
- Language switch available in the settings modal; preference persisted across sessions.
- All UI text β status bar, channel cards, actions, modals β updates instantly on language change.
π¬ Action Recording & Replay
- Record a snapshot of all 16 channel positions (angle/pulse + calibration) as a named action.
- Actions are persisted to
config.jsonand survive across restarts. - One-click replay: restores all channels to their recorded positions using 3-tier smart
calibration resolution (current β snapshot β raw duty fallback). - Rename and delete actions from the actions grid.
- Default name "Action N" assigned automatically when recording.
π οΈ Debug Mode (--debug)
- Enable with
python main.py --debugorpca9685-panel --debug. - Per-request timing middleware shows request duration in the server logs.
- Full Python tracebacks in HTTP 500 error responses instead of generic messages.
ποΈ Clear Cache
- "Clear Cache" button in the settings modal allows users to delete all saved configs
and actions with one click, resetting to factory defaults.
π Improvements
- JS-fail overlay: A bilingual warning overlay is now shown if JavaScript fails to load
or crashes, so users without JS know the app won't work. - Accessibility:
aria-labelattributes added to all form inputs. - Enhanced action buttons: Improved layout and styling in the actions grid for
better visual clarity.
π Fixes & Maintenance
- Fixed duplicate object key in
config.jsoncausing potential config corruption. - Cleaned up unused code in the frontend.
- Updated
.gitignorefor developer notes and local tooling files.
Full Changelog: v0.1.0...v0.2.0