<< Click to Display Table of Contents >> Navigation: Software Overview > RMS Monitoring Software > Working with the RMS Software > Using RMS > API Function > Integrate Data Into RMS > Send Measurement Data |
URL: POST /rmsService/wService3.DeviceService.svc/UpdateDataJson
{
"DeviceId":<id>,
"Name":"<name>",
"Serial":<serial>,
"Token":<token>,
"Values":[{
"Index":1,
"Typ":1,
"Unit":"%rh",
"Value":35.6
},
{"Index":2,
"Typ":2,
"Unit":"°C",
"Value":23.5
}]
}
Important! For the first pairing process <DeviceId> and <Token> must be set to 0!
Device ID |
The device ID will be provided by the RMS server after pairing the device |
Name |
Description of the device |
Serial number |
Serial number of the device (must be a number) |
Token |
Security token, will be provided by the RMS server after pairing the device |
Values |
Array containing the measurement values (max 8 measure values are supported) |
Index |
Measure point index 0..7 |
Type |
Measure point Type 0 = unknown/analog input 1 = Humidity 2 = Temperature 32 = CO2 48 = Pressure 49 = Differential pressure 62 = Logic input (0/1) 63 = Logic output (0/1) |
Unit |
Display unit (only applicable for type 0) |
Value |
Measure value (will be saved in float format) |
Important: Do not send data more often than our RMS account minimal interval. Data sent to fast after the last transmission will be ignored. |
When using the Rotronic Cloud, the URL would be: http://rms.rotronic.com/wService/wService3.DeviceService.svc/UpdateDataJson.