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

connection lost after ~5h #52

Open
Bond246 opened this issue Jul 15, 2024 · 8 comments
Open

connection lost after ~5h #52

Bond246 opened this issue Jul 15, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Bond246
Copy link

Bond246 commented Jul 15, 2024

Hello,

in general this plugin works really well in combination with my esphome under ESP32-chip.
But after around 5 hours it loses the connection with following messages:

Failed find message type for Id: 25
Cannot set properties of undefined (setting 'length')
sendMessage timeout waiting for HelloResponse

Then i have to disable the connection of the specific device and have to reanable it to get the connection working again.

Any ideas how to fix this?
In homeassistant the connection is stable but acutally i'm using HA only for this one esphome-device and in a perfect world i can stop the HA container again :)

Thanks,
Bond

@Bond246 Bond246 changed the title connection lost aber ~5h connection lost after ~5h Jul 15, 2024
@twocolors twocolors self-assigned this Jul 15, 2024
@twocolors twocolors added the bug Something isn't working label Jul 15, 2024
@twocolors
Copy link
Owner

hi enable in device reconnect and update to 0.2.8

@Bond246
Copy link
Author

Bond246 commented Jul 15, 2024

thanks for that really fast update!!!
Which option do you mean with "enable in device reconnect"?
I don't find something like that here https://esphome.io/components/api

@twocolors
Copy link
Owner

thanks for that really fast update!!! Which option do you mean with "enable in device reconnect"? I don't find something like that here https://esphome.io/components/api

in node (Node-RED) of device select reconnect

@Bond246
Copy link
Author

Bond246 commented Jul 15, 2024

ahh fine. Thanks

@Bond246
Copy link
Author

Bond246 commented Jul 16, 2024

The problem is still the same even with v0.28 and reconnection option "15".
Anything else that could help?

@twocolors
Copy link
Owner

twocolors commented Jul 17, 2024

@Bond246 show me error please again , what version esphome you use ?

@Bond246
Copy link
Author

Bond246 commented Jul 17, 2024

completely the same error like above.
I'm using the latest version 2024.6.6

@jorkzijlstra
Copy link

jorkzijlstra commented Aug 21, 2024

I had the same error messages in my logs after x amount of random time and upgrading everything seems to have resolved the issue.

I'm running now:
node-red 3.1.3
this plugin 0.2.8
esphome 2024.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants