OpenSprinkler › Forums › OpenSprinkler Unified Firmware › OpenSprinkler on Standard Arduino Hardware › Re: Re: OpenSprinkler on Standard Arduino Hardware
rszimm
@dpackham wrote:
can you enable logging with the microsd card?
It’s not the storage of the data that’s the problem. It’s the retrieval. In the raspberrypi version I log the data to a sqlite3 database, which makes quick retrieval based on time/zone/schedule very simple. To do the same thing on the AVR version I’d have to write some code to read the log file and do something similar. Once you get enough events in the file, this might take a while as you’re having to scan in the whole file for every request. Certainly there are some techniques for making this quicker (e.g. break up the file by date), but it’s just time/effort that I have not had the time to put forth…