Skip to content

Fix Victron BLE Bridge restart on firmware 2.0.1 - #234

Merged
orlin369 merged 11 commits into
ALLTERCO:mainfrom
orlin369:main
Nov 3, 2026
Merged

orlin369 merged 11 commits into
ALLTERCO:mainfrom
orlin369:main

Conversation

@orlin369

@orlin369 orlin369 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Fix Victron BLE Bridge Restart on Firmware 2.0.1

Problem

Shelly firmware 2.0.1 may add null-valued fields such as meta.ui.icon: null to stored Virtual Component configurations.

The Victron BLE Bridge compared metadata as raw JSON, treated these fields as configuration changes, and attempted to create duplicate components. The script then stopped after reaching the device limit of ten Virtual Components.

Solution

  • Ignore null-valued fields when comparing Virtual Component metadata.
  • Reuse existing components and preserve the configured Venus host.
  • Prevent duplicate same-name components when configurations genuinely differ.
  • Use non-recursive normalization to avoid exhausting the Shelly mJS stack.

Verification

  • Confirmed on a Shelly Pro 1PM running firmware 2.0.1.
  • Existing GX authentication is restored after restarting the script.
  • JavaScript compatibility and repository manifest integrity checks pass.

orlin369 and others added 11 commits October 13, 2026 19:36
- Restore README, TECHNICAL_NOTES and bridge tests from 552fe5e; upstream
  rolled them back to the fixed-ID/Silent Mode versions while keeping the
  managed-VC script with a persisted Modbus Slave ID
- Add CHANGELOG entries for the restore and the INNOVA Modbus profiles

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Ignore firmware-added null metadata during VC matching
- Refuse duplicate components for genuine config mismatches

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@orlin369
orlin369 merged commit 3557f1c into ALLTERCO:main Nov 3, 2026
2 checks passed
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