Highlights
- Custom Homebridge UI for Cync 2FA login
- One-click “Request Verification Code” from the settings screen
- Token-aware UI that locks credentials once a token is stored
- “Sign Out” flow clears the stored token and unlocks fields
Details
- Added Homebridge UI server with
/request-otp,/status, and/sign-outendpoints. - Standardised config keys to
username,password, andtwoFactor. - Ensured
CyncClient.ensureLoggedIn()correctly completes 2FA and writescync-tokens.json. - Disabled credential inputs when a valid token is present to prevent accidental edits.
- Removed redundant in-UI “Save” button – Homebridge’s Save button is now the single source of truth.