Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The connection dropped immediately after encrypted hello #212

Open
mefistofelis opened this issue Aug 3, 2024 · 1 comment
Open

The connection dropped immediately after encrypted hello #212

mefistofelis opened this issue Aug 3, 2024 · 1 comment

Comments

@mefistofelis
Copy link

HI Lewis, i get this error afte the latested update.

everything-presence-one-e01dc0 @ 192.168.1.142: Connection error occurred: everything-presence-one-e01dc0 @ 192.168.1.141: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (Home Assistant 2024.7.4

This is my configuration in esp home, what do i need to change?

substitutions:
name: everything-presence-one-e01dc0
packages:
Everything_Smart_Technology.Everything_Presence_One: github://everythingsmarthome/presence-one/everything-presence-one.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
api:
encryption:
key: xxxxredactedxxxx

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

@EverythingSmartHome
Copy link
Owner

Hello,

This is not an issue with the update. It's an issue with applying the update directly from GitHub when you have already configured it in the ESPHome add-on. When you add it to the ESPHome addon, it automatically adds an encryption key. Home Assistant uses this encryption key to communicate with the One.

When you install the update directly from GitHub instead of via the ESPHome addon, it will remove the encryption key. So home assistant is effectively trying to communicate with it using a password, while the device has no password.

Either remove and re-add to Home Assistant without the password, or flash again from ESPHome to add the password back

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

No branches or pull requests

2 participants