I am running Unipi Neuron L403 as home automation controller with about 20 datapoints being stored to MervisDB. I am saving all values every 5 minutes and sending it to DB with the same interval.
My problem with this setup is that I have to change SD card every two months due to it's total failure. I am guessing that this failure is caused by temporary saving values to SD card before it's transfered to DB. In debugging system status window there is a note saying that values are saved to internal storage.
My questions are:
- Is there any way to store values just to operation memory before it's transfered to DB and save card from many unwanted memory writes?
- I am still using MLC cards. Does it mean that if I buy SLC card, this problem will be solved forever or it just 20-times prolongs the card's life?
- Is there any way how to directly create bootable USB drive from Mervis image? I have found solution here, but it seems pretty complicated...