-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #591 from IPVS-AS/complex-iot-data
Enable complex IoT data
- Loading branch information
Showing
246 changed files
with
9,617 additions
and
2,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/control/simulators/actuator_adapter_testing/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_actuator_testingTool", | ||
"treeNodes": [ | ||
{ | ||
"name": "value", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"value" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/Adafruit_DHT-temperature_raspberry-pi/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_Adafruit_DHT-temperature_raspberry-pi", | ||
"treeNodes": [ | ||
{ | ||
"name": "temperature", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"temperature" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/LK-light_raspberry-pi/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_LK-light_raspberry-pi", | ||
"treeNodes": [ | ||
{ | ||
"name": "light-val", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"light-val" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/LK-sound_raspberry-pi/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_LK-sound_raspberry-pi", | ||
"treeNodes": [ | ||
{ | ||
"name": "sound-avg-val", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"sound-avg-val" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/LK-temperature_raspberry-pi/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_LK-temperature_raspberry-pi", | ||
"treeNodes": [ | ||
{ | ||
"name": "temperature", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"temperature" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/bosch-xdk_mqtt-gateway/dataModel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "DM_bosch-xdk_mqtt-gateway", | ||
"treeNodes": [ | ||
{ | ||
"name": "value", | ||
"type": "double", | ||
"parent": "RootObj", | ||
"children": [] | ||
}, | ||
{ | ||
"name": "RootObj", | ||
"description": "", | ||
"type": "object", | ||
"unit": "", | ||
"parent": "", | ||
"children": [ | ||
"value" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Operator Scripts for testing the complex IoT data functionality of the MBP |
21 changes: 21 additions & 0 deletions
21
resources/operators/extraction/complex_iot_data_stub/all_data_types/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Complex IoT data test operator: Scripts to simulate a sensor sending all available MBP data types | ||
|
||
This folder contains operator scripts and a data model to deploy a sensor simulator which sends sensor values using all data types of the MBP. | ||
|
||
## Hardware Setup | ||
|
||
- A computer running a Linux-based OS, such as a Raspberry Pi or a Laptop running the Ubuntu OS. (Optionally, you can also use a virtual machine) | ||
|
||
## Operator files | ||
|
||
- `install.sh`: This file installs the necessary libraries to run the .py file. | ||
|
||
- `start.sh`: This file starts the execution of the .py file. | ||
|
||
- `running.sh`: This file checks if the .py file is running. | ||
|
||
- `stop.sh`: This file stops the execution of the .py file. | ||
|
||
- `test_all_mbp_data_types.py`: This python script is responsible for connecting to the MBP via MQTT and sending the sensor values. | ||
|
||
- `dataModel.json`: This file contains a data model definition which can be used for the creation of a respective operator entity in the MBP. |
Oops, something went wrong.