It can become necessary to build a new SDcard. This post describes how to do that. IoTaWatt uses a microSD card, formatted to FAT32. New units use a 8GB level 10 card. Any card 4GB-32GB level 4 or 10 will work fine.
- Obtain a new microSD card or reformat an old card to FAT32.
- Download the SD files from github SD directory
- If using windows, this link will downlod the files into a .zip file.
- Copy the files to the root of the SDcard.
- If you were able to salvage the config.txt file from the old file, you can substitute that in place of the github version.
That’s it, good to go. Replace in the IoTaWatt and restart. If you were unable to salvage your old config.txt, there may still be hope. IoTaWatt keeps a copy of the last verified config in the SPIFFS file system on the ESP8266. You can try to recover it as follows:
- Run the file manager.
- In the directory list there should be a directory called esp_spiffs.
- Expand that directory and look for the file config.txt as above.
- Click on that file and it’s contents should appear in the editor window.
- Create a file on your computer called config+1.txt.
- Copy and paste the contents of the editor window into that config+1.txt file and save it.
- Click the browse button at the top left, then using whatever method your browser offers navigate to the new config+1.txt file and select it.
- Click the upload button in the file manager.
The new config file should load and replace the config.txt file in your SDcard root directory.