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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -