This commit is contained in:
Devis Lucato 2017-09-28 01:43:49 -07:00 коммит произвёл GitHub
Родитель 51630ec0cc
Коммит c3dbf9d646
11 изменённых файлов: 49 добавлений и 249 удалений

Просмотреть файл

@ -22,45 +22,25 @@
}
},
"Properties": {
"Type": "Chiller",
"Firmware": "1.0.0",
"DeviceMethodStatus": "",
"Location": "Building 43",
"Latitude": 47.638928,
"Longitude": -122.13476
"Type": "Chiller",
"Firmware": "1.0.0",
"DeviceMethodStatus": "",
"Location": "Building 43",
"Latitude": 47.638928,
"Longitude": -122.13476
},
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\",\"humidity\":${humidity},\"humidity_unit\":\"${humidity_unit}\",\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "chiller-temperature;v1",
"Name": "chiller-sensors;v1",
"Format": "JSON",
"Fields": {
"temperature": "double",
"temperature_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"humidity\":${humidity},\"humidity_unit\":\"${humidity_unit}\"}",
"MessageSchema": {
"Name": "chiller-humidity;v1",
"Format": "JSON",
"Fields": {
"temperature_unit": "text",
"humidity": "double",
"humidity_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "chiller-pressure;v1",
"Format": "JSON",
"Fields": {
"humidity_unit": "text",
"pressure": "double",
"pressure_unit": "text"
}

Просмотреть файл

@ -32,35 +32,15 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\",\"humidity\":${humidity},\"humidity_unit\":\"${humidity_unit}\",\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "chiller-temperature;v1",
"Name": "chiller-sensors;v1",
"Format": "JSON",
"Fields": {
"temperature": "double",
"temperature_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"humidity\":${humidity},\"humidity_unit\":\"${humidity_unit}\"}",
"MessageSchema": {
"Name": "chiller-humidity;v1",
"Format": "JSON",
"Fields": {
"temperature_unit": "text",
"humidity": "double",
"humidity_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "chiller-pressure;v1",
"Format": "JSON",
"Fields": {
"humidity_unit": "text",
"pressure": "double",
"pressure_unit": "text"
}

Просмотреть файл

@ -29,34 +29,14 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"floor\":${floor}}",
"MessageTemplate": "{\"floor\":${floor},\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\",\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageSchema": {
"Name": "elevator-floor;v1",
"Format": "JSON",
"Fields": {
"floor": "integer"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "elevator-vibration;v1",
"Name": "elevator-sensors;v1",
"Format": "JSON",
"Fields": {
"floor": "integer",
"vibration": "double",
"vibration_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageSchema": {
"Name": "elevator-temperature;v1",
"Format": "JSON",
"Fields": {
"vibration_unit": "text",
"temperature": "double",
"temperature_unit": "text"
}

Просмотреть файл

@ -29,34 +29,14 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"floor\":${floor}}",
"MessageTemplate": "{\"floor\":${floor},\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\",\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageSchema": {
"Name": "elevator-floor;v1",
"Format": "JSON",
"Fields": {
"floor": "integer"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "elevator-vibration;v1",
"Name": "elevator-sensors;v1",
"Format": "JSON",
"Fields": {
"floor": "integer",
"vibration": "double",
"vibration_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageSchema": {
"Name": "elevator-temperature;v1",
"Format": "JSON",
"Fields": {
"vibration_unit": "text",
"temperature": "double",
"temperature_unit": "text"
}

Просмотреть файл

@ -30,35 +30,15 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"fuellevel\":${fuellevel},\"fuellevel_unit\":\"${fuellevel_unit}\"}",
"MessageTemplate": "{\"fuellevel\":${fuellevel},\"fuellevel_unit\":\"${fuellevel_unit}\",\"coolant\":${coolant},\"coolant_unit\":\"${coolant_unit}\",\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "engine-fuellevel;v1",
"Name": "engine-sensors;v1",
"Format": "JSON",
"Fields": {
"fuellevel": "double",
"fuellevel_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"coolant\":${coolant},\"coolant_unit\":\"${coolant_unit}\"}",
"MessageSchema": {
"Name": "engine-coolant;v1",
"Format": "JSON",
"Fields": {
"fuellevel_unit": "text",
"coolant": "double",
"coolant_unit": "text"
}
}
},
{
"Interval": "00:00:06",
"MessageTemplate": "{\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "engine-vibration;v1",
"Format": "JSON",
"Fields": {
"coolant_unit": "text",
"vibration": "double",
"vibration_unit": "text"
}

Просмотреть файл

@ -30,35 +30,15 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"fuellevel\":${fuellevel},\"fuellevel_unit\":\"${fuellevel_unit}\"}",
"MessageTemplate": "{\"fuellevel\":${fuellevel},\"fuellevel_unit\":\"${fuellevel_unit}\",\"coolant\":${coolant},\"coolant_unit\":\"${coolant_unit}\",\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "engine-fuellevel;v1",
"Name": "engine-sensors;v1",
"Format": "JSON",
"Fields": {
"fuellevel": "double",
"fuellevel_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"coolant\":${coolant},\"coolant_unit\":\"${coolant_unit}\"}",
"MessageSchema": {
"Name": "engine-coolant;v1",
"Format": "JSON",
"Fields": {
"fuellevel_unit": "text",
"coolant": "double",
"coolant_unit": "text"
}
}
},
{
"Interval": "00:00:06",
"MessageTemplate": "{\"vibration\":${vibration},\"vibration_unit\":\"${vibration_unit}\"}",
"MessageSchema": {
"Name": "engine-vibration;v1",
"Format": "JSON",
"Fields": {
"coolant_unit": "text",
"vibration": "double",
"vibration_unit": "text"
}

Просмотреть файл

@ -33,35 +33,15 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\",\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\",\"latitude\":${latitude},\"longitude\":${longitude}}",
"MessageSchema": {
"Name": "prototype-temperature;v1",
"Name": "prototype-sensors;v1",
"Format": "JSON",
"Fields": {
"temperature": "double",
"temperature_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "prototype-pressure;v1",
"Format": "JSON",
"Fields": {
"temperature_unit": "text",
"pressure": "double",
"pressure_unit": "text"
}
}
},
{
"Interval": "00:00:06",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude}}",
"MessageSchema": {
"Name": "prototype-geolocation;v1",
"Format": "JSON",
"Fields": {
"pressure_unit": "text",
"latitude": "double",
"longitude": "double"
}

Просмотреть файл

@ -32,35 +32,15 @@
"Telemetry": [
{
"Interval": "00:00:10",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\"}",
"MessageTemplate": "{\"temperature\":${temperature},\"temperature_unit\":\"${temperature_unit}\",\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\",\"latitude\":${latitude},\"longitude\":${longitude}}",
"MessageSchema": {
"Name": "prototype-temperature;v1",
"Name": "prototype-sensors;v1",
"Format": "JSON",
"Fields": {
"temperature": "double",
"temperature_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"pressure\":${pressure},\"pressure_unit\":\"${pressure_unit}\"}",
"MessageSchema": {
"Name": "prototype-pressure;v1",
"Format": "JSON",
"Fields": {
"temperature_unit": "text",
"pressure": "double",
"pressure_unit": "text"
}
}
},
{
"Interval": "00:00:06",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude}}",
"MessageSchema": {
"Name": "prototype-geolocation;v1",
"Format": "JSON",
"Fields": {
"pressure_unit": "text",
"latitude": "double",
"longitude": "double"
}

Просмотреть файл

@ -29,36 +29,16 @@
},
"Telemetry": [
{
"Interval": "00:00:06",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude}}",
"Interval": "00:00:10",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude},\"speed\": ${speed},\"speed_unit\":\"${speed_unit}\",\"cargotemperature\":${cargotemperature},\"cargotemperature_unit\":\"${cargotemperature_unit}\"}",
"MessageSchema": {
"Name": "truck-geolocation;v1",
"Name": "truck-sensors;v1",
"Format": "JSON",
"Fields": {
"latitude": "double",
"longitude": "double"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"speed\":${speed},\"speed_unit\":\"${speed_unit}\"}",
"MessageSchema": {
"Name": "truck-speed;v1",
"Format": "JSON",
"Fields": {
"longitude": "double",
"speed": "double",
"speed_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"cargotemperature\":${cargotemperature},\"cargotemperature_unit\":\"${cargotemperature_unit}\"}",
"MessageSchema": {
"Name": "truck-cargotemperature;v1",
"Format": "JSON",
"Fields": {
"speed_unit": "text",
"cargotemperature": "double",
"cargotemperature_unit": "text"
}

Просмотреть файл

@ -29,36 +29,16 @@
},
"Telemetry": [
{
"Interval": "00:00:06",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude}}",
"Interval": "00:00:10",
"MessageTemplate": "{\"latitude\":${latitude},\"longitude\":${longitude},\"speed\": ${speed},\"speed_unit\":\"${speed_unit}\",\"cargotemperature\":${cargotemperature},\"cargotemperature_unit\":\"${cargotemperature_unit}\"}",
"MessageSchema": {
"Name": "truck-geolocation;v1",
"Name": "truck-sensors;v1",
"Format": "JSON",
"Fields": {
"latitude": "double",
"longitude": "double"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"speed\": ${speed},\"speed_unit\":\"${speed_unit}\"}",
"MessageSchema": {
"Name": "truck-speed;v1",
"Format": "JSON",
"Fields": {
"longitude": "double",
"speed": "double",
"speed_unit": "text"
}
}
},
{
"Interval": "00:00:10",
"MessageTemplate": "{\"cargotemperature\":${cargotemperature},\"cargotemperature_unit\":\"${cargotemperature_unit}\"}",
"MessageSchema": {
"Name": "truck-cargotemperature;v1",
"Format": "JSON",
"Fields": {
"speed_unit": "text",
"cargotemperature": "double",
"cargotemperature_unit": "text"
}

Просмотреть файл

@ -1 +1 @@
0.2.1
0.2.2