This repository has been archived by the owner on Jun 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
70 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"devices": [ | ||
{ "device_id": "DEV_ID", | ||
"entity_name": "ENTITY_ID", | ||
"entity_type": "thing", | ||
"protocol": "PDI-IoTA-UltraLight", | ||
"timezone": "Europe/Amsterdam", | ||
"attributes": [ | ||
{ | ||
"object_id": "ATTR_ID", | ||
"name": "ATTR_NAME", | ||
"type": "ATTR_TYPE" | ||
} | ||
], | ||
"static_attributes": [ | ||
{ "name": "name", | ||
"type": "string", | ||
"value": "ORG_NAME" | ||
}, | ||
{ | ||
"name": "position", | ||
"type": "coords", | ||
"value": "LAT_LON", | ||
"metadatas": [ | ||
{ | ||
"name": "location", | ||
"type": "string", | ||
"value": "WGS84" | ||
} | ||
] | ||
} | ||
|
||
] | ||
} | ||
] | ||
} | ||
|
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,4 @@ | ||
python CreateService.py fiwareiot 4jggokgpepnvsb2uv4s40d59ov 185.21.189.59 1026 | ||
python RegisterDevice.py GEONOVUM_TEMP DavisDev TempGeonovumWS1Ent | ||
python SendObservation.py DavisDev 'temp|11#pos|52.152435,5.37241' | ||
python ListDevices.py |
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
python CreateService.py fiwareiot 4jggokgpepnvsb2uv4s40d59ov 185.21.189.59 1026 | ||
python RegisterDevice.py GEONOVUM_TEMP DavisDev TempGeonovumEnt | ||
python SendObservation.py DavisDev 'temp|11#pos|52.152435,5.37241' | ||
|
||
# Populate generic device/sensor | ||
# DEVICE_ANY requires: device_name, entity_name, object_id, sensor_type, sensor_unit, place_name, "lat,lon" | ||
python RegisterDevice.py DEVICE_ANY NexusTempDev1 NexusEnt1 t temperature int Boshut "52.091223,5.763600" | ||
python SendObservation.py NexusTempDev1 't|12' | ||
python ListDevices.py | ||
|
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