OPEnSLab-OSU / Loom-V4

Open Source Internet Of Things Rapid Prototyping Framework For Environmental Sensing Applications
12 stars 1 forks source link

Hypnos LogToSD - Export as JSON file in addition to CSV #159

Open sarveshta opened 1 month ago

sarveshta commented 1 month ago

Is your feature request related to a problem? Please describe. Only one row of headers is accepted when importing CSV to MongoDB Compass. This doesn't maintain the same structure as uploading directly to MongoDB from the Feather would, i.e. Sensor -> Reading where the readings for each sensor are grouped under the sensor's name (see photo below).

Screenshot 2024-10-14 at 1 33 49 PM

Due to this, when importing data from CSV through Compass, the MAX application doesn't parse the data correctly when importing from MongoDB.

Describe the solution you'd like The user can choose if they want LogToSD as CSV JSON or both. If none is specified, default to both.

Describe alternatives you've considered Python script to convert CSV to JSON file.

Additional context Add any other context or screenshots about the feature request here.