Commit b545394d authored by j.hoerdt's avatar j.hoerdt
Browse files

add all sensor_types

parent 5849aa6f
......@@ -9,3 +9,4 @@
!*.gradle
!*.pem
!*.properties
!sensor_type_info.json
\ No newline at end of file
......@@ -21,6 +21,7 @@
!sensor2graph.properties
!graphdb.gwdg.de.pem
!sensor_type_info.json
!sensor_info/**/*
......
info = [
(
["pressure", "altitude", "pressure_sealevel", "temperature", "humidity"],
"BME280",
),
(["pressure", "altitude", "pressure_sealevel", "temperature"], "BMP180"),
(["pressure", "altitude", "pressure_sealevel", "temperature"], "BMP280"),
(["temperature", "humidity"], "DHT22"),
(["temperature"], "DS18B20"),
(["P1", "P2"], "HPM"),
(["temperature", "humidity"], "HTU21D"),
(
["noise_LAeq", "noise_LA_min", "noise_LA_max", "noise_LA01", "noise_LA95"],
"Laerm",
),
(["P1", "P2", "P0"], "PMS1003"),
(["P1", "P2", "P0"], "PMS3003"),
(["P1", "P2", "P0"], "PMS5003"),
(["P1", "P2", "P0"], "PMS6003"),
(["P1", "P2", "P0"], "PMS7003"),
(["P1", "durP1", "ratioP1", "P2", "durP2", "ratioP2"], "PPD42NS"),
(
["counts_per_minute", "hv_pulses", "tube", "counts", "sample_time_ms"],
"Radiation_SBM-19",
),
(
["counts_per_minute", "hv_pulses", "tube", "counts", "sample_time_ms"],
"Radiation_SBM-20",
),
(
["counts_per_minute", "hv_pulses", "tube", "counts", "sample_time_ms"],
"Radiation_Si22G",
),
(["P1", "durP1", "ratioP1", "P2", "durP2", "ratioP2"], "SDS011"),
(["temperature", "humidity"], "SHT11"),
(["temperature", "humidity"], "SHT30"),
(["temperature", "humidity"], "SHT31"),
(["temperature", "humidity"], "SHT35"),
(["temperature", "humidity"], "SHT85"),
(["P1", "P4", "P2", "P0", "N10", "N4", "N25", "N1", "N05", "TS"], "SPS30"),
]
import json
print(json.dumps({ "sensor_type_info": [{
"measured_variables": variables,
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": typ
}
} for variables, typ in info]}))
......@@ -2,14 +2,329 @@
"sensor_type_info": [
{
"measured_variables": [
"humidity",
"temp"
"pressure",
"altitude",
"pressure_sealevel",
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "asdf"
"sensor_type": "BME280"
}
},
{
"measured_variables": [
"pressure",
"altitude",
"pressure_sealevel",
"temperature"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "BMP180"
}
},
{
"measured_variables": [
"pressure",
"altitude",
"pressure_sealevel",
"temperature"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "BMP280"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "DHT22"
}
},
{
"measured_variables": [
"temperature"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "DS18B20"
}
},
{
"measured_variables": [
"P1",
"P2"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "HPM"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "HTU21D"
}
},
{
"measured_variables": [
"noise_LAeq",
"noise_LA_min",
"noise_LA_max",
"noise_LA01",
"noise_LA95"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "Laerm"
}
},
{
"measured_variables": [
"P1",
"P2",
"P0"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PMS1003"
}
},
{
"measured_variables": [
"P1",
"P2",
"P0"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PMS3003"
}
},
{
"measured_variables": [
"P1",
"P2",
"P0"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PMS5003"
}
},
{
"measured_variables": [
"P1",
"P2",
"P0"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PMS6003"
}
},
{
"measured_variables": [
"P1",
"P2",
"P0"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PMS7003"
}
},
{
"measured_variables": [
"P1",
"durP1",
"ratioP1",
"P2",
"durP2",
"ratioP2"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "PPD42NS"
}
},
{
"measured_variables": [
"counts_per_minute",
"hv_pulses",
"tube",
"counts",
"sample_time_ms"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "Radiation_SBM-19"
}
},
{
"measured_variables": [
"counts_per_minute",
"hv_pulses",
"tube",
"counts",
"sample_time_ms"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "Radiation_SBM-20"
}
},
{
"measured_variables": [
"counts_per_minute",
"hv_pulses",
"tube",
"counts",
"sample_time_ms"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "Radiation_Si22G"
}
},
{
"measured_variables": [
"P1",
"durP1",
"ratioP1",
"P2",
"durP2",
"ratioP2"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SDS011"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SHT11"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SHT30"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SHT31"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SHT35"
}
},
{
"measured_variables": [
"temperature",
"humidity"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SHT85"
}
},
{
"measured_variables": [
"P1",
"P4",
"P2",
"P0",
"N10",
"N4",
"N25",
"N1",
"N05",
"TS"
],
"props": {
"manufacturers": "asdf",
"description": "asdf",
"instrument_type": "asdf",
"sensor_type": "SPS30"
}
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment