In this post, we are going deeper into the Dynamic Data project, looking at the Movesense dynamic data (library available here on GitHub and at NPM). Opening the library, you’ll see there are fifty-one types of data objects: AccConfig, AccData, AccInfo, AdvSettings, AdvState, AppInfo, BleConfig, BondList, BondingSettings, CalibrationData, CalibrationMatrix, DebugLogConfig, DebugLogResult, DebugMessage, DebugMessageConfig, DeviceInfo, ECGConfig, ECGData, ECGInfo, EepromData, EepromInfo, FaultInfo, GyroConfig, GyroData, GyroInfo, HRData, HRInfo, IMU6Data, IMU6MData, IMU9Data, IMUConfig, IMUInfo, LedState, Leds, MagnConfig, MagnData, MagnInfo, Memory, ModuleStatus, PeerChange, PeerList, ProductData, ResetReason, ScanResult, State, StateChange, StepsDone, SystemModeStatus, TempInfo, TemperatureValue, VisualIndState.
Learn more about dynamic data generators and the benefits of artificial data in software development.
About the data source
Movesense is an open development platform for wearables and sensor products for fitness and health. They offer two types of sensors: Movesense Active and Movesense Medical. These technologies contain data from several sensors:
Movesense provides an API to download and upload data to each Movesense module, provider and application. These APIs can be inspected through either the API reference or a more detailed view can be seen on their BitBucket. By combining the two resources, data objects could be constructed and then converted into JSON format to create a mockup file. A simple data model of these objects can be seen below. This mockup file makes up the movesense-data package.
The Above Images are grouped into the files that can be seen in the package. The captions can correspond to the images top to bottom.
The movesense-mockup package imports the file above and goes through each attribute generating artificial (new) data using proprietary functions, such as those found in the utils package.
For example, with the SystemModeStatus object:
Use case ideas
Explore entirely new use cases
Ideas to combine with some other data sources
Open-source data library
We welcome contributions and forks to this data set, and look forward to seeing what developers build in our Liberty. Equality. Data. Slack channel.
Considerations for next version/improvements
With Prifina developers can use the Dynamic Data Libraries natively in the App Studio to build direct to consumer apps where individuals can run them with their own user-held data.
Join our Slack community; Liberty. Equality. Data. to brainstorm and collaborate with other app developers, designers, and our team.