opendata-stuttgart / sensors-software

sourcecode for reading sensor data
572 stars 310 forks source link

bei jedem reboot geht die WLAN Konfiguration ( Passwort ) verloren und Sensor geht in Konfigurationsmodus #986

Open hteibler opened 1 year ago

hteibler commented 1 year ago

bei jedem reboot zb. durch Konfig Änderung oder power-cycle geht die WLAN Konfiguration ( Passwort ) verloren und Sensor geht in Konfigurationsmodus

pjgueno commented 1 year ago

Hi, How was the firmware flashed. I recommand not to use the beta flasher anymore but the normal one. The WiFi credentials should be written in the SPIFFS. Can you send me the serial log ? Has the sensor always done this ? It looks like a reboot before writing SPIFFS because of a stack panic. It happened to me with hard modified version of the firmware. Do you use the legit one: latest.bin?

hteibler commented 1 year ago

hi the system is running since years! today I changed only the API config since then I can't reboot without loosing WLAN Firmware: NRZ-2020-133/DE (Nov 29 2020)

pjgueno commented 1 year ago

today I changed only the API config

What did you change exactly?

Screenshot 2023-04-02 at 19-56-36 Konfiguration

Do you know how to read the Serial Log in USB with PIO or the Arduino IDE ?

hteibler commented 1 year ago

just this: image

hteibler commented 1 year ago

Do you know how to read the Serial Log in USB with PIO or the Arduino IDE ? : NO

pjgueno commented 1 year ago

Have you use some special characters, spaces etc.? I have never seen any issue while modifying this and I did it a lot. Can you install the Arduino IDE and then: Screen Shot 2023-04-02 at 20 08 50 Choose the right port = the one which appears when you plug the sensor in USB(with a data cable!) Screen Shot 2023-04-02 at 20 09 30 Screen Shot 2023-04-02 at 20 11 14 Try to do everything has usual and send me the text.

pjgueno commented 1 year ago

Maybe a SPIFFS corruption. Can you erase the config in the interface ?