IotaWatt will not save settings

Hi IotaWatt Community,

I have used IotaWatt for a number of years and really enjoy the product.

Most recently I experienced one of my devices was behaving strangely so I replaced the SD card and installed new files from the github master.

The Iotawatt still has a problem where I am unable to save any settings. I have managed to setup and save my WiFi network but I cannot save any settings in the Iotawatt configuration interface. Here are some of the settings I have tried to change, but the save button does not seem to action these changes:
TimeZone
Inputs (Voltage transformers and Current Transformers)
Data Uploaders

All reverting back to default setting.

Has anybody experienced this and found a resolution?

The WiFi settings are not saved to the SDcard. They are saved in the ESP8266.

Given that you have loaded the SDcard files,you may have a mismatch between the firmware and the configuration app index.htm. The protocol for uploading changes has changed with release 02_06_00.

Can you post your message log?

Hi overeasy,

Here is a dump of my message log:
** Restart **

SD initialized.
4/16/21 13:32:27z Real Time Clock is running. Unix time 1618579947
4/16/21 13:32:27z Power failure detected.
4/16/21 13:32:27z Reset reason: External System
4/16/21 13:32:27z ESP8266 ChipID: 2526285
4/16/21 13:32:27z IoTaWatt 5.0, Firmware version 02_05_12
4/16/21 13:32:27z SPIFFS mounted.
4/16/21 13:32:27z Local time zone: +0:00
4/16/21 13:32:27z device name: IotaWatt
4/16/21 13:32:30z Connecting with WiFiManager.
4/16/21 13:33:31z HTTP server started
4/16/21 13:33:31z WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -76db
4/16/21 13:33:31z MDNS responder started for hostname IotaWatt
4/16/21 13:33:31z LLMNR responder started for hostname IotaWatt
4/16/21 13:33:31z timeSync: service started.
4/16/21 13:33:32z statService: started.
4/16/21 13:33:32z Updater: service started. Auto-update class is MINOR
4/16/21 13:33:32z dataLog: service started.
4/16/21 13:33:32z dataLog: New current log created.
4/16/21 13:33:33z Updater: Auto-update is current for class MINOR.
4/16/21 13:35:32z historyLog: service started.
4/16/21 13:35:32z historyLog: first entry 04/16/21 13:34:00

** Restart **

SD initialized.
Real Time Clock not initialized.
Reset reason: External System
Trace: 13:147[62], 195:202[158], 146:215[2], 251:242[138], 22:211[158], 135:127[54], 232:21[164], 94:255[40], 232:12[21], 135:174[186], 246:59[241], 56:75[151], 167:150[142], 121:200[130], 170:37[7], 5:58[242], 239:0[180], 243:116[68], 10:99[79], 73:50[177], 80:255[60], 165:249[213], 136:200[29], 6:32[174], 210:249[74], 253:113[214], 142:88[109], 98:56[49], 56:216[11], 12:66[185], 102:154[232], 61:67[191]
ESP8266 ChipID: 2526285
IoTaWatt 5.0, Firmware version 02_05_12
SPIFFS mounted.
Local time zone: +0:00
device name: IotaWatt
Connecting with WiFiManager.
HTTP server started
WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -73db
MDNS responder started for hostname IotaWatt
LLMNR responder started for hostname IotaWatt
timeSync: service started.
statService: started.
Updater: service started. Auto-update class is MINOR
4/16/21 13:42:52z timeSync: RTC initalized to NTP time
4/16/21 13:42:52z dataLog: service started.
4/16/21 13:42:52z dataLog: Last log entry 04/16/21 13:39:05
4/16/21 13:42:52z historyLog: service started.
4/16/21 13:42:52z historyLog: Last log entry 04/16/21 13:39:00
4/16/21 13:42:54z Updater: Auto-update is current for class MINOR.
4/19/21 06:09:15z WiFi disconnected.
4/19/21 06:09:22z WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -75db
4/21/21 05:54:26z Updater: Invalid response from server. HTTPcode: -4
4/23/21 06:09:21z WiFi disconnected.
4/23/21 06:09:23z WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -69db

** Restart **

SD initialized.
4/23/21 12:15:02z Real Time Clock is running. Unix time 1619180102
4/23/21 12:15:02z Power failure detected.
4/23/21 12:15:02z Reset reason: External System
4/23/21 12:15:02z ESP8266 ChipID: 2526285
4/23/21 12:15:02z IoTaWatt 5.0, Firmware version 02_05_12
4/23/21 12:15:02z SPIFFS mounted.
4/23/21 12:15:02z Local time zone: +0:00
4/23/21 12:15:02z device name: IotaWatt
4/23/21 12:15:05z Connecting with WiFiManager.
4/23/21 12:15:08z HTTP server started
4/23/21 12:15:08z WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -76db
4/23/21 12:15:08z MDNS responder started for hostname IotaWatt
4/23/21 12:15:08z LLMNR responder started for hostname IotaWatt
4/23/21 12:15:08z timeSync: service started.
4/23/21 12:15:08z statService: started.
4/23/21 12:15:08z Updater: service started. Auto-update class is MINOR
4/23/21 12:15:08z dataLog: service started.
4/23/21 12:15:08z dataLog: Last log entry 04/23/21 12:14:40
4/23/21 12:15:08z historyLog: service started.
4/23/21 12:15:09z historyLog: Last log entry 04/23/21 12:14:00
4/23/21 12:15:10z Updater: Auto-update is current for class MINOR.
4/23/21 13:32:44z WiFi disconnected.
4/23/21 13:33:17z WiFi connected. SSID=GreenHouse, IP=192.168.1.87, channel=6, RSSI -80db

Additional information:

Firmware version: 02_05_12

Yea, that’s in the message log, and is what I wanted to see. A release package includes the SD files tyhat work with that particular firmware. For the most part, the apps are interchangeable, but I changed quite a few things with release 02_06_00 and introduced some incompatibilities (that’s what the jump to 06 implies). I’m guessing that if you look at your SD with the file manager, it will have a file config+1.txt which is the updated version you were trying to use.

The git has all of the encapsulated release packages there for the taking. If you go to https://github.com/boblemaire/IoTaWatt/tree/02_05_12/SD you will find the matching set of SD files for 02_05_12. Download those and replace what’s on your SD and it should work. Careful not to overwrite your config.txt with the minimal distribution version in the git.

Thanks overeasy.

So I should replace all my files in the SD card from the link above, except the config.txt file?

Right, all of the like named files in root.