v2.6.2 - CC2 Authentication Fix
🔧 Bug Fixes
CC2 Printer Authentication (#330)
Fixed critical authentication issues preventing CC2 (Centauri Carbon 2) printers from connecting to Home Assistant.
What Was Fixed:
-
Multi-password fallback strategy: When no access code is provided, the integration now automatically tries:
- Empty password (most common factory default)
- "123456" (documented default password)
-
Improved setup flow: New two-step authentication process that explicitly asks if your printer requires an access code, with clear instructions pointing to printer settings (Settings → Network → Access Code).
-
Actual connection testing: The integration now performs real connection validation during setup instead of accepting CC2 printers without testing, preventing silent failures.
-
Fixed empty string persistence bug: Changed from falsy checks to explicit
is not Nonechecks so empty passwords are properly saved to your configuration. -
Better error messages: When authentication fails, you now see helpful guidance pointing to exact printer settings location.
Who This Helps:
- Users with CC2 printers that have empty passwords (factory default)
- Users with CC2 printers using the "123456" default password
- Users with custom access codes who were getting unhelpful "Registration timeout" errors
- Anyone who experienced silent CC2 connection failures during setup
Migration Notes:
If your CC2 printer was failing to connect before this release:
- Remove and re-add your CC2 printer through the Home Assistant UI
- When asked "Does your printer require an access code?", select:
- No if you haven't set a custom code (most common)
- Yes if you've configured a custom access code in printer settings
- The integration will automatically try the correct passwords
- Your printer should now connect successfully!
Resolves: #329, Discussion #323
🔨 Developer Experience
CI Improvements (#327)
- Pre-commit hooks: Added automatic code formatting and linting with ruff
- Hooks run automatically on every commit to catch issues early
- Ensures consistent code style across all contributions
📦 Dependencies
- Bump actions/checkout from 6.0.1 to 6.0.2 (#312)
- Bump actions/setup-python from 6.1.0 to 6.2.0 (#313)
🙏 Thanks
Special thanks to the community members who reported these CC2 authentication issues and provided detailed logs that made this fix possible!