Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ditto Mapper is able to map only function blocks/features for matching device input #759

Closed
aedelmann opened this issue Sep 20, 2017 · 0 comments

Comments

@aedelmann
Copy link
Contributor

aedelmann commented Sep 20, 2017

Currently, the ditto mapper maps all features according to the Vorto Information Models, even though the input does not always contain all the data to cater all features.
Therefore it would need to be possible to only map those ditto features who which there is data in the device input payload.

Example JSON Input coming from device:
{"batteryVoltage : "2322mV"}

Vorto Infomodel (Schema) : http://vorto.eclipse.org/#/details/devices.aws.button/AWSIoTButton/1.0.0

Ditto Output:

{ "batteryVoltage": { "properties":{ "sensor_units":"mV", "sensor_value":2322.0 } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant