I would like to take periodic measurements (e.g. noise levels and temperature in my office from a Raspberry Pi, etc.), say, every minute and have a long-reaching record of this similar to Stephen's Personal Analytics blogpost. The free components of DataDrop allow for reasonably sized databins, but these are wiped every 30 days and I want to avoid subscription costs and just use my local storage. Clearly, the best would be if Wolfram simply allowed you to store a databin locally, but this is not included as far as I can tell - maybe to promote usage of their cloud service.
Can anyone conceive of a user-friendly means of doing this? Is there a simpler way than using ScheduledTask
, and a basic combination of AppendTo
, large lists of {DateObject[], myQuantity}
, and a periodic Export
using CSV or DumpSave
using *.m files? (Along with possibly SessionSubmit
or something similar.)
I feel as if there must be a simpler approach to this than the combination of these I am envisioning, perhaps using database linking and SQL or something along these lines. I realize this is a largely conceptual and opinion-based question, but is DatabaseLink
overkill for simple storage of time-series data analogous to what one would do with DataDrop, or is it superior to my basic proposed method above?
PutAppend
? orLocalObject
maybe? $\endgroup$DataDropClient
code (that’s probably the paclet name) is likely accessible via Mathematica and you may be able to trick it into using local storage $\endgroup$