Skip to content

Try direct BLE authentication before double-connect fallback - #2

Draft
alexanderpett wants to merge 1 commit into
masterfrom
connect-direct-first
Draft

Try direct BLE authentication before double-connect fallback#2
alexanderpett wants to merge 1 commit into
masterfrom
connect-direct-first

Conversation

@alexanderpett

Copy link
Copy Markdown
Owner

Draft PR inside the fork for review/testing before opening upstream.

Summary:

  • Try authentication on the initial BLE connection first.
  • Attach the disconnect callback to the initial client.
  • Only use the existing 5-second disconnect/reconnect workaround as a fallback if the first authentication fails.

Why:

Related:

Local tested workaround:

  • ha-no-double-connect branch, installed via hass-plejd fork, confirmed working with pyplejd 0.21.3.post1.

This branch has only one file changed and no version bump.

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