-
Notifications
You must be signed in to change notification settings - Fork 26
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
WiFI disconnects (2) #27
Comments
Same here, still have disconnects without reconnect. Only thing that helps is power cycle. |
Normally you can go into the Setup Menu and Disable/Enable WiFi to have it working again, so no power cycle needed, in my case anyway. When I force a reconnect from the WiFI access point (when it is already connected) the WiFI connection is just lost (not restored) and I have to Disable/Enable WiFi to get it working again. In addition, a fixed IP address setting would be nice to have. |
Can confirm - disabling and re-enabling WiFi on the unit does indeed fix it, so a powercycle is not needed. However that doesnt help much, as the breaker is next to the EVSE for me :) |
I made a quick and dirty fix, which so far seems to work for me. If i kick the EVSE out of my wifi it now will reconnect after approx. 120 seconds. However this requires further testing - i'll see if its stable the next days. If you want to try it: https://github.com/jonasf21/SmartEVSE-3/releases/download/0.0.0-dev/firmware-test.bin |
Thanks for looking into it. Will upload the bin tomorrow to givebit a try. |
After 48hours+ my EVSE is still connected to the SSID, even tho it did reconnect a couple of times due to signal loss. So far i think its fixed. Have you been able to give it a try? |
Yep, running since yesterday. I have a Node-Red flow running that checks the availability every minute and notifies when something is wrong. So far looking good, but it has to run a few more days to be sure. |
Alright, thanks for the feedback. Lets wait till the weekend or alike to be sure. |
But to give you already some information: I just did a test, by forcing a reconnect to the access point, after which WiFi was restored in two minutes. I'm also using an EMS-ESP (for the heater) which also runs WIFi and this device has never failed WiFi in years. Maybe you can get some insight about their WiFi solution at https://github.com/emsesp/EMS-ESP32 |
I've checked their source, its a bit different because the code also includes support for a ethernet header. Thus they have 2 ways of connecting. But as far as i can see they are basically doing the same thing (checking WL_CONNECTED via interval). |
All OK for me now. Thanks for resolving this. |
I have exactly the same problem, and exactly the same solution (disabling and reenabling wifi). Cannot test your solution since I have some specialties in my firmware, but looking forward to your PR !! |
Add fix for Wifi disconnect issue serkri#27
Just posted the PR. Let me know if it works for you, too. Can probably be cleaner but it works.... :) |
Great! First have to test RC 1.4.0, but will try after that. EDIT: moved my remarks on the PR to the PR .... |
Your PR works fine, it inspired me to make an even faster solution, this one #32 reconnects within 15-20 seconds. Would you be so kind to test this? |
|
No problem, here is a binary which is branch release/1.4.0 with PR#32 on top of it: |
Thanks. Tried that binary right away. What I notice is:
|
1. That is correct, I didn't update any version strings
2. Sounds good, so you so don't even have the 120s delay as with the Jonas patch?
3. That must be entirely different bug, since you have that with all serkri-binaries.
Is it exactly 30 minutes off? It should be synchronizing by built in NTP client, not sure how the timezone is detected...
EDIT: what timezone do you live in?
deqw ***@***.***> schreef op 4 juli 2022 14:46:58 CEST:
…Thanks. Tried that binary right away. What I notice is:
- Version: v3serkri-0.00
- when reconnecting via the UI of the AP the SmartEVSE now remains available (cache cleared) on the network, also during the reconnect
- time is 30 minutes off whatever binary I use
--
Reply to this email directly or view it on GitHub:
#27 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
|
No worries about the NTP. When I used the non published binaries I added an ACL entry for the SmartEVSE, preventing it accessing the internet... |
Running dingo35's fixed version for some days now, just as stable as mine but reconnect is faster, i'd vote to include this into the next release. |
Yep, same experience here. |
Two minor changes: I wouldnt expect any other results, but just to make sure: please test! |
@dingo35 running your latest bin |
1.4.0 release available (https://github.com/serkri/SmartEVSE-3/releases). Closing this issue. |
Follow up on the previous, closed, WiFi topic. The disconnects still occur and then I have to go to the Smart EVSE and fiddle with the menu to get it started again. Completely renewed WiFi network by now, with an access point a few meters away, so see no problem there. No one else here with disconnecting WiFi? So if someone can take another look at this and make this thing trying to get on WiFi whatever it takes ;o)? Even a scheduled reboot would be better than as it is right now.
The text was updated successfully, but these errors were encountered: