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

WiFi Settings not saved #4

Open
biohazardxxx opened this issue Oct 29, 2015 · 20 comments
Open

WiFi Settings not saved #4

biohazardxxx opened this issue Oct 29, 2015 · 20 comments

Comments

@biohazardxxx
Copy link

Hi, very interesting Sketch! Thanks for sharing.
I could compile it successfully but after entering the seetings it does not connect to wifi and after restart the settings are gone. This is the debug serial:

(19:41:54.330) Welcome to Andrew Melvin's ESP Software
(19:41:54.330) Compile Time: Oct 29 2015 19:38:35

(19:41:54.330) bcn 0
(19:41:54.330) del if1
(19:41:54.330) mode : sta(5c:cf:7f:07:6b:5d)
(19:41:54.400) NORMAL MODE
(19:41:54.400) Scanning for Networks
(19:41:54.480) scandone
(19:41:54.490) f 0, scandone
(19:41:56.650) No Device name in EEPROM.....Creating Device Name: esp-6b5d
(19:41:56.650) NO SSID specified...
(19:41:56.650) Setting up Access Point....mode : sta(5c:cf:7f:07:6b:5d) + softAP(5e:cf:7f:07:6b:5d)
(19:41:56.650) add if1
(19:41:56.650) dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
(19:41:56.790) bcn 100
(19:41:56.790) esp-6b5d
(19:41:56.790) Device name: esp-6b5d
(19:41:56.790) Loading last op state from EEPROM = 0
(19:41:56.790) Settings loaded ------- 24 Bytes read ------- Op State ==> 3
(19:41:56.790) Timer ==> 1000
(19:41:56.790) Animation speed ==> 0
(19:41:56.790) Brightness ==> 255
(19:41:56.790) Colour ==> 255 0 0
(19:41:56.790) Palette ==> 0
(19:41:56.790) Palette Range ==> 20
(19:41:56.790) Number Colours ==> 5
(19:41:56.790) Random ==> 1
(19:41:56.790) Time Stretch ==> 1
(19:41:56.790) Total X ==> 1
(19:41:56.790) Effect Count ==> 1
(19:41:56.790) Effect Min Size ==> 1
(19:41:56.790) Effect Max Size ==> 1
(19:41:56.790) Effect Option ==> 1
(19:41:56.790) End-------------------------
(19:41:56.790) Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
(19:41:56.790) Animations Enabled
(19:41:56.790) Update frequency = 30AutoRestartValue = 0 Last ON/OFF = 1 Loaded
(19:41:58.680) add 1
(19:41:58.680) aid 1
(19:41:58.680) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:02.490) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:04.470) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:08.480) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:09.930) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:11.910) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:13.370) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:15.440) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:17.520) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:20.100) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:20.800) f 0, scandone
(19:42:22.970) New SSID: ++*_++_
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) New Password: *******
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) New Deviceid: espled1.local
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) MQTTserver IPAddress: 192.168.0.1
(19:42:23.190) f 0, ....scandone
(19:42:25.340) no ”Êþ? found, reconnect after 1s
(19:42:25.440) reconnect
(19:42:25.440) f -180, ....station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:27.570) scandone
(19:42:27.570) no ”Êþ? found, reconnect after 1s
(19:42:27.680) reconnect
(19:42:27.680) f 0, .....scandone
(19:42:29.820) no ”Êþ? found, reconnect after 1s
(19:42:29.920) reconnect
(19:42:29.920) f -180, ....station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:32.050) scandone
(19:42:32.050) no ”Êþ? found, reconnect after 1s

I have an ESP-12 running.CPU is set to 160MHZ and also 1M falsh set

Looks like the Settings are not saved correctly. Any idea?
An sample EEPROM sketch worked fine.
br
Bio

@sticilface
Copy link
Owner

Looking at the output there are some strange characters for the ssid. What
is the ssid name?

On Thursday, 29 October 2015, biohazardxxx [email protected] wrote:

Hi, very interesting Sketch! Thanks for sharing.
I could compile it successfully but after entering the seetings it does
not connect to wifi and after restart the settings are gone. This is the
debug serial:

(19:41:54.330) Welcome to Andrew Melvin's ESP Software
(19:41:54.330) Compile Time: Oct 29 2015 19:38:35

(19:41:54.330) bcn 0
(19:41:54.330) del if1
(19:41:54.330) mode : sta(5c:cf:7f:07:6b:5d)
(19:41:54.400) NORMAL MODE
(19:41:54.400) Scanning for Networks
(19:41:54.480) scandone
(19:41:54.490) f 0, scandone
(19:41:56.650) No Device name in EEPROM.....Creating Device Name: esp-6b5d
(19:41:56.650) NO SSID specified...
(19:41:56.650) Setting up Access Point....mode : sta(5c:cf:7f:07:6b:5d) +
softAP(5e:cf:7f:07:6b:5d)
(19:41:56.650) add if1
(19:41:56.650) dhcp server
start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
(19:41:56.790) bcn 100
(19:41:56.790) esp-6b5d
(19:41:56.790) Device name: esp-6b5d
(19:41:56.790) Loading last op state from EEPROM = 0
(19:41:56.790) Settings loaded ------- 24 Bytes read ------- Op State ==> 3
(19:41:56.790) Timer ==> 1000
(19:41:56.790) Animation speed ==> 0
(19:41:56.790) Brightness ==> 255
(19:41:56.790) Colour ==> 255 0 0
(19:41:56.790) Palette ==> 0
(19:41:56.790) Palette Range ==> 20
(19:41:56.790) Number Colours ==> 5
(19:41:56.790) Random ==> 1
(19:41:56.790) Time Stretch ==> 1
(19:41:56.790) Total X ==> 1
(19:41:56.790) Effect Count ==> 1
(19:41:56.790) Effect Min Size ==> 1
(19:41:56.790) Effect Max Size ==> 1
(19:41:56.790) Effect Option ==> 1
(19:41:56.790) End-------------------------
(19:41:56.790) Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
(19:41:56.790) Animations Enabled
(19:41:56.790) Update frequency = 30AutoRestartValue = 0 Last ON/OFF = 1
Loaded
(19:41:58.680) add 1
(19:41:58.680) aid 1
(19:41:58.680) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:02.490) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:04.470) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:08.480) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:09.930) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:11.910) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:13.370) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:15.440) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:17.520) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:20.100) station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:20.800) f 0, scandone
(19:42:22.970) New SSID: ++**++*
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) New Password: *******
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) New Deviceid: espled1.local
(19:42:22.970) Saving new...Check bit written
(19:42:22.970) MQTTserver IPAddress: 192.168.0.1
(19:42:23.190) f 0, ....scandone
(19:42:25.340) no ”Êþ? found, reconnect after 1s
(19:42:25.440) reconnect
(19:42:25.440) f -180, ....station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:27.570) scandone
(19:42:27.570) no ”Êþ? found, reconnect after 1s
(19:42:27.680) reconnect
(19:42:27.680) f 0, .....scandone
(19:42:29.820) no ”Êþ? found, reconnect after 1s
(19:42:29.920) reconnect
(19:42:29.920) f -180, ....station: 00:27:10:47:e6:e4 join, AID = 1
(19:42:32.050) scandone
(19:42:32.050) no ”Êþ? found, reconnect after 1s

I have an ESP-12 running.CPU is set to 160MHZ and also 1M falsh set

Looks like the Settings are not saved correctly. Any idea?
An sample EEPROM sketch worked fine.
br
Bio


Reply to this email directly or view it on GitHub
#4.

@biohazardxxx
Copy link
Author

It is:
New Deviceid: espled1.local
I'll try the eeprom_writeAnything in a seperage sketch when I'm back at the computer.

@biohazardxxx
Copy link
Author

Sorry accidentally closed.

@biohazardxxx biohazardxxx reopened this Oct 29, 2015
@sticilface
Copy link
Owner

I'm referring to this bit

(19:42:20.800) f 0, scandone
(19:42:22.970) New SSID: ++*++
(19:42:22.970) Saving new...Check bit

That doesn't look like a normal ssid. My thoughts are that it might not be
a char which is saved to the eeprom correctly. I did not test anything
except letters and numbers.

On Thursday, 29 October 2015, biohazardxxx [email protected] wrote:

Sorry accidentally closed.


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sticilface
Copy link
Owner

The way the setting are done is to write them all to the eeprom in ram, and
set a write flag to true. If the sketch is crashing before the end of the
loop it will not commit the changes to eeprom. This is what might be
happening.

On Friday, 30 October 2015, Andrew Melvin [email protected] wrote:

I'm referring to this bit

(19:42:20.800) f 0, scandone
(19:42:22.970) New SSID: ++*++
(19:42:22.970) Saving new...Check bit

That doesn't look like a normal ssid. My thoughts are that it might not be
a char which is saved to the eeprom correctly. I did not test anything
except letters and numbers.

On Thursday, 29 October 2015, biohazardxxx <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

Sorry accidentally closed.


Reply to this email directly or view it on GitHub
#4 (comment)
.

@biohazardxxx
Copy link
Author

Ah ok. No that and the pass was replaced by me before posting. Sorry I schould have mentioned it.

@idserda
Copy link
Contributor

idserda commented Oct 30, 2015

I'm having this same issue, both with ESP-01 (512K) and NodeMCU 1.0 (4M).

@sticilface
Copy link
Owner

so just to clarify, for both of you. you load it up, join the AP, set the SSID and password, then it reboots and does not join the AP? could you both post the output on serial for me to take a closer look.
Also, try loading the EEPROM clear sketch first to zero the EEPROM.. might be worth a try. I'm working on a totally different wifi config implementation that seems to be a lot better... but it will be a while before i can integrate it..

@sticilface
Copy link
Owner

@biohazardxxx i've also just noticed that the SSID the ESP is trying to connect to has this 'no ”Êþ? found, '... have you replaced all of those as well...? if ”Êþ? is not you ssid, then it is not retrieving correctly or saving correctly to the EEPROM. if it is then it might be those characters are not supported. what is you ssid?

@biohazardxxx
Copy link
Author

I also recognized this ”Êþ? no I did not replaced this. That is what the serial gets.
the SSID is just "Simon"
I've already run a clear EEPROM sketch before, without luck.

@sticilface
Copy link
Owner

I'm not sure what would be causing it to be honest. If I've got an esp 12
can u try using the 3mb spiffs option as that is what I use.

Also when in ap mode can u cut and paste the output from the about device
or misc page. Has a load of vars there like device name, sdk version,
millis, uptime etc etc.

The other thing to try is to replace the soft coded wifi credentials with
hard coded ones to see if that makes it all work. If u find the wifi.begin(
u can do that...

It's in the restartNetworking() function in miscfunctions.ino

On Friday, 30 October 2015, biohazardxxx [email protected] wrote:

I also recognized this ”Êþ? no I did not replaced this. That is what the
serial gets.
the SSID is just "Simon"
I've already run a clear EEPROM sketch without luck.


Reply to this email directly or view it on GitHub
#4 (comment)
.

@idserda
Copy link
Contributor

idserda commented Oct 31, 2015

Here's the debug output from my ESP-12 (GIGADEVICE_GD25Q32 flash), with flash size set to 4M (3M SPIFFS). I've added a few debug lines before the WiFi.begin() which outputs the ssid/password it's using. The no ���? found, reconnect after 1s goes on for some time.

*****    DEBUG_YES defined *****
Welcome to Andrew Melvin's ESP Software
Compile Time: Oct 31 2015 10:43:42

bcn 0
del if1
mode : sta(18:fe:34:9d:68:b8)
NORMAL MODE
Scanning for Networks
f 0, scandone
No Device name in EEPROM.....Creating Device Name: esp-68b8
NO SSID specified...
Setting up Access Point....mode : sta(18:fe:34:9d:68:b8) + softAP(1a:fe:34:9d:68:b8)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
esp-68b8
Device name: esp-68b8
Loading last op state from EEPROM = 0
Settings loaded ------- 24 Bytes read ------- 
Op State        ==> 0
Timer           ==> 1000
Animation speed ==> 0
Brightness      ==> 255
Colour          ==> 255  0  0
Palette         ==> 0
Palette Range   ==> 20
Number Colours  ==> 5
Random          ==> 1
Time Stretch    ==> 1
Total X         ==> 1
Effect Count    ==> 1
Effect Min Size ==> 1
Effect Max Size ==> 1
Effect Option   ==> 1
End-------------------------
Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
Animations Enabled
Update frequency = 30
AutoRestartValue = 0 
Last ON/OFF = 0 
Loaded
add 1
aid 1
station: 14:10:9f:e1:92:2b join, AID = 1
f 0, scandone
f 0, scandone
f 0, scandone
New SSID: qr11
Saving new...Check bit written
New Password: MyPassword
Saving new...Check bit written
New Deviceid: led02
Saving new...Check bit written
MQTTserver IPAddress: 192.168.1.15
restartNetworking() ssid: ���?
restartNetworking() password: ���?
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect

And here's the output after a reboot:

*****    DEBUG_YES defined *****
Welcome to Andrew Melvin's ESP Software
Compile Time: Oct 31 2015 10:43:42

AP MODE
Scanning for Networks
scandone
f 0, scandone
restartNetworking() ssid: ���?
restartNetworking() password: ���?
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ..Failed
Setting up Access Point....esp-68b8
Device name: ���?
Initiating MQTT Connection: Connecting: scandone
no ���? found, reconnect after 1s
reconnect
f 0, Failed
scandone
no ���? found, reconnect after 1s
Loading last op state from EEPROM = 0
Settings loaded ------- 24 Bytes read ------- 
Op State        ==> 0
Timer           ==> 1000
Animation speed ==> 0
Brightness      ==> 255
Colour          ==> 255  0  0
Palette         ==> 0
Palette Range   ==> 20
Number Colours  ==> 5
Random          ==> 1
Time Stretch    ==> 1
Total X         ==> 1
Effect Count    ==> 1
Effect Min Size ==> 1
Effect Max Size ==> 1
Effect Option   ==> 1
End-------------------------
Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
Animations Enabled
Update frequency = 30
AutoRestartValue = 0 
Last ON/OFF = 0 
Loaded
reconnect
f -180, scandone
no ���? found, reconnect after 1s
reconnect

There seems to be something wrong indeed with writing/reading values form the EEPROM, since the device name is also wrong (Device name: ���?). Hope this helps!

@idserda
Copy link
Contributor

idserda commented Oct 31, 2015

Misc page:

Misc Functions

Version = WS2812-OTA 
Compile Time = Oct 31 2015 10:43:42 
SDK Version = 1.3.0 
Heap Size = 18272 
Flash Size = 4194304 
Flash Size by ID = 4194304 
Flash ID = 1458376 
Chip ID = 10315960 
Sketch Size = 415700 
Free Space = 630784 
Millis = 150361 
Up Time = 00:02:30 
VCC = 65535 
RSSI = 31 
CPU freq = 160

When I hard code the ssid/password/device name everything works fine btw.

@sticilface
Copy link
Owner

That's my guess too. But I'm not sure how or why it is doing that, as this has worked for ages for me! Having said that I've not used it for a while as the firmware has just been working. So this might be a new issue with the IDE.

I'm away. But will try it out next week.

On 31 Oct 2015, at 10:47, Jeroen Idserda [email protected] wrote:

Here's the debug output from my ESP-12 (GIGADEVICE_GD25Q32 flash), with flash size set to 4M (3M SPIFFS). I've added a few debug lines before the WiFi.begin() which outputs the ssid/password it's using. The no ���? found, reconnect after 1s goes on for some time.

***** DEBUG_YES defined *****
Welcome to Andrew Melvin's ESP Software
Compile Time: Oct 31 2015 10:43:42

bcn 0
del if1
mode : sta(18:fe:34:9d:68:b8)
NORMAL MODE
Scanning for Networks
f 0, scandone
No Device name in EEPROM.....Creating Device Name: esp-68b8
NO SSID specified...
Setting up Access Point....mode : sta(18:fe:34:9d:68:b8) + softAP(1a:fe:34:9d:68:b8)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
esp-68b8
Device name: esp-68b8
Loading last op state from EEPROM = 0
Settings loaded ------- 24 Bytes read -------
Op State ==> 0
Timer ==> 1000
Animation speed ==> 0
Brightness ==> 255
Colour ==> 255 0 0
Palette ==> 0
Palette Range ==> 20
Number Colours ==> 5
Random ==> 1
Time Stretch ==> 1
Total X ==> 1
Effect Count ==> 1
Effect Min Size ==> 1
Effect Max Size ==> 1
Effect Option ==> 1
End-------------------------
Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
Animations Enabled
Update frequency = 30
AutoRestartValue = 0
Last ON/OFF = 0
Loaded
add 1
aid 1
station: 14:10:9f:e1:92:2b join, AID = 1
f 0, scandone
f 0, scandone
f 0, scandone
New SSID: qr11
Saving new...Check bit written
New Password: MyPassword
Saving new...Check bit written
New Deviceid: led02
Saving new...Check bit written
MQTTserver IPAddress: 192.168.1.15
restartNetworking() ssid: ���?
restartNetworking() password: ���?
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
And here's the output after a reboot:

***** DEBUG_YES defined *****
Welcome to Andrew Melvin's ESP Software
Compile Time: Oct 31 2015 10:43:42

AP MODE
Scanning for Networks
scandone
f 0, scandone
restartNetworking() ssid: ���?
restartNetworking() password: ���?
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, .....scandone
no ���? found, reconnect after 1s
reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
.reconnect
f 0, ....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ....scandone
no ���? found, reconnect after 1s
reconnect
f 0, .....scandone
no ���? found, reconnect after 1s
reconnect
f -180, ..Failed
Setting up Access Point....esp-68b8
Device name: ���?
Initiating MQTT Connection: Connecting: scandone
no ���? found, reconnect after 1s
reconnect
f 0, Failed
scandone
no ���? found, reconnect after 1s
Loading last op state from EEPROM = 0
Settings loaded ------- 24 Bytes read -------
Op State ==> 0
Timer ==> 1000
Animation speed ==> 0
Brightness ==> 255
Colour ==> 255 0 0
Palette ==> 0
Palette Range ==> 20
Number Colours ==> 5
Random ==> 1
Time Stretch ==> 1
Total X ==> 1
Effect Count ==> 1
Effect Min Size ==> 1
Effect Max Size ==> 1
Effect Option ==> 1
End-------------------------
Colour debugging (String) R=ff, G=00, B=00 ==> FF0000
Animations Enabled
Update frequency = 30
AutoRestartValue = 0
Last ON/OFF = 0
Loaded
reconnect
f -180, scandone
no ���? found, reconnect after 1s
reconnect
There seems be something wrong indeed with writing/reading values form the EEPROM, since the device name is also wrong (Device name: ���?). Hope this helps!


Reply to this email directly or view it on GitHub.

@sticilface
Copy link
Owner

OK, I've reproduced it. something must have changed in the arduino IDE... if you click on the misc link at the bottom it will take you to a page where the you can click EEPROM drump... there you will see that the values are not being saved correctly to the EEPROM..

I will look into it

@sticilface
Copy link
Owner

right. I'm having an epic with git as usual..

this fix should work.
d1a6389

I'm writing a lib, to extract all the wifi, and OTA stuff away from the sketch which will make maintaining things like this a lot easier.

let me know if this has worked

@idserda
Copy link
Contributor

idserda commented Nov 3, 2015

Great, I'll try it tonight! What's the difference between the 'public' and the 'ESP8266-wifi' branch?

@sticilface
Copy link
Owner

as of now nothing.... I'm quite new to github... and well all of this... i wanted a public branch that didn't have each and every commit that i'd made available.. as its a mess... but in the end i've given up... source tree would not push my changes to the public branch... the ESP8266-wifi branch now the default... i still have a lot to learn

@biohazardxxx
Copy link
Author

Works for me. Settings saved and I can connect to WiFi. From my point of view we can close this issue.
Thank you.

@idserda
Copy link
Contributor

idserda commented Nov 3, 2015

Works fine now indeed, thanks!

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

3 participants