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

Ip connection lost #138

Open
ves1820 opened this issue Oct 22, 2024 · 4 comments
Open

Ip connection lost #138

ves1820 opened this issue Oct 22, 2024 · 4 comments

Comments

@ves1820
Copy link

ves1820 commented Oct 22, 2024

my homekey (0.4.1) does lost the connection to WLAN-AP after some hours but show an ip in status on serial line.

*** HomeSpan Status ***
IP Address: 192.168.0.74

is it possible to reconnect on connection errors?

E (75924662) esp-tls: [sock=50] select() timeout
E (75924663) TRANSPORT_BASE: Failed to open a new connection: 32774
E (75924663) MQTT_CLIENT: Error transport connect

@rednblkx
Copy link
Owner

Are you able to ping the ip?

I believe it might be retaining the ip until next connection, haven’t looked at what HomeSpan or Arduino-ESP32 does on that front but the error you see from MQTT is the client trying to reconnect but there doesn’t seem to be anything to connect to.

@ves1820
Copy link
Author

ves1820 commented Oct 31, 2024

The Broker is pingable the homespan not.
I had it running since late april this year until the end of september it was running without any problems. than i updated ...

@rednblkx
Copy link
Owner

rednblkx commented Nov 3, 2024

Well…I can assure you I haven’t made any changes that would affect the connectivity.

The issue lies on the reboot, sometimes the WiFi gets unstable after reboot. It usually helps to unplug it from power and plug it back in but I figure you already did that.

On that note, how are you powering the esp?

Also please take a look at the wifi rssi(on the console or the webui) once it connects, should be somewhere between -30 and -70 for a good signal

@ves1820
Copy link
Author

ves1820 commented Nov 3, 2024

i had two of them working one right next to the AP
testet some power sources without success.
then changed the esp and back again no luck.
It runs more stable since i changed to an older framework:
framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#release/v2.x
Maybe i have to go further back in time

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