ESP8266 EEPROM seems not working, saved data are different when I try to read them
You can read the emulated EEPROM only between begin and end. It works with memory image. 


begin allocates the in-memory image.
commit writes it to flash.
end commits and deletes the memory image.