Skip to content

Add NoSQL database for logging sensor data #2

@JayPankajPatel

Description

@JayPankajPatel

It should be structured as followed:
The collection will be called "sensors" each entry in the "sensors" collection should be:

<sensor_name> : string - A name and description of the sensor

Each entry of <sensor_name> should have:

timestamp : string - A timestamp of when the data was created
value: float - The value of the polled sensor data
measurement_unit: string - The measurement unit of the polled data. Ex. "C" for Celcius
interface: string - What interface was used to poll the data Ex. "I2C" or "SPI"

Collection: sensors
Fields Data Types
sensor_name String (Name/Description)
Subcollection: sensor_name
Fields Data Types
timestamp String (Timestamp)
value Float
measurement_unit String (Measurement Unit)
interface String (Interface)

Subject to change, will discuss modifying this in our in-person meetings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions