Cumulocity measurement representation -
i create measurements @ reception of event, can them using api, not represented graphically in device management interface. there specific format have respect representable automatically? if so, there place can find formats supported cumulocity? infered c8y_temperaturemeasurement examples in doc didn't find exhaustive list of native formats.
here examples of measurements have @ moment:
{ "time": "2016-06-29t12:10:02.000+02:00", "id": "27006", "self": "https://<tenant-id>/measurement/measurements/27006", "source": { "id": "26932", "self": "https://<tenant-id>/inventory/managedobjects/26932" }, "type": "c8y_batterymeasurement", "c8y_batterymeasurement": { "unit": "v", "value": 80 } }, { "time": "2016-06-29t10:15:22.000+02:00", "id": "27010", "self": "https://<tenant-id>/measurement/measurements/27010", "source": { "id": "26932", "self": "https://<tenant-id>/inventory/managedobjects/26932" }, "type": "c8y_temperaturemeasurement", "c8y_temperaturemeasurement": { "t": { "unit": "c", "value": 24 } } }
the measurements have sent cumulocity in following format:
{ "fragment": { "series": { "unit": "x", "value": y } } }
Comments
Post a Comment