-
Notifications
You must be signed in to change notification settings - Fork 82
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
ESP8266 no WIFI connection after setup #428
Comments
Oh... |
Could you share a simple test program that exhibits this behavior? Also, you might want to try whether you'll get an IP address when connecting a different access point (a phone hotspot would also do). Finally (although probably not related to this issue), I strongly recommend to use an ESP32 for your SensESP projects. The price difference is negligible, the hardware much more capable, and most importantly, we don't at the moment have any capable developers who would have time to maintain the ESP8266 side of things. |
@mairas: I've see the same behavior. It happens only on ESP8266 and SensESP release version (1.0.5). |
It is seriously just a new, clean project with the standard platformio.ini and the analog_input example. As for using an ESP32; I have a pile of ESP12e modules laying around. Would be a shame to just bin them. |
Nice - I'll try 1.0.6-alpha out ;) |
Ok, tried the master-branch.....
|
i had the same issue and i ended up solving it how it ever was about 4 months i cant remember. some people on slack helped me ill see if i can find the thread |
goto your platformio.ini file and below the [ENV] you have ; This one is the "Release" version - the branch called "latest". ; This one has all merged PR's, but is not yet an official "release" version. comment the top one and uncomment the web address to github and hardcode your wifi settings via the // Create a builder object sensesp_app = builder.set_hostname("Blackwater") in Main.cpp |
Thanks. |
Having the same trouble. Tried the "master" version just in case, but no luck. This issue in EspAsyncWiFiManager seems to concur: If I read it correctly, the default behaviour of writing the WiFi credentials to flash on successful connect was changed in the platform core. When the esp8266 reboots it forgets the connection information. |
Confirming the above. In networking.cpp, I added the line: I don't know enough to know if this is the best or complete solution. If you believe that this is the right approach, I am happy to create a PR. |
I haven't tested it, but skimming through the linked material does also lead me to believe that your proposal is the right way to deal with this. If you want to do a PR, I'd be happy to merge it! |
My second attempt at creating a sensor using SensESP simply will not succeed.
I made a working sensor earlier (although some intermittent wifi-connection issues were present also then).
After updating to latest PlatformIO-IDE and hence new library versions it simply will not work.
As a test I created a new sensor, added the PWM-range define that apparently was removed for some reason, compiled using the analog_input.cpp example with no changes whatsoever and is getting the following each and every time I try to configure the ESP:
...and it's back as an AP for configuring.
Yes, I am using the correct WIFI-credentials ;)
Device is a Wemos D1 mini.
Result is the same when using an ESP12e.
I'm consistently seeing
IP address of Device: (IP unset)
and it seems the device is never getting an IP-address.Any help will be appreciated.
The text was updated successfully, but these errors were encountered: