Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
naiades
naiades-platform-poc
Commits
54ec5dbb
Commit
54ec5dbb
authored
Nov 25, 2020
by
Federico Sismondi
Browse files
Added water tratment plant entity to script and fixed README
parent
dcc0eb0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
54ec5dbb
# IoT Platform Overview
This includes the NAIADES IoT Platform source code, shipping code (Dockerfiles and docker-compose), and scripts examples
demonstrating how clients can use IoT Platform services (a.k.a NAIADES SDK).
SDK shows how to use NAIADES IoT Platform services, among these services we have:
-
message broker (
`Orion`
)
This project includes the NAIADES IoT Platform source code and DCA components.
It provides the sources for:
-
declarative services files (Dockerfiles and docker-compose)
-
platform management scripts (/scripts-admin)scripts
-
examples demonstrating how clients can use IoT Platform services (/scripts)
and more.
Among the IoT platform services we find the following key components:
-
context manager (
`Orion`
)
-
access control (
`Wilma`
)
-
identity management (
`Keyrock`
)
-
time-series storage
and API
(
`QuantumLeap`
)
-
how to build your own services (e.g.
`weather-data-collection-caroug
e`
)
-
time-series storage (
`QuantumLeap`
)
-
examples for data consumers (e.g.
`wms-exampl
e`
)
This is inspired from
[
FIWARE tutorial
](
https://github.com/Fiware/tutorials.PEP-Proxy/blob/master/README.md
)
...
...
@@ -31,7 +35,7 @@ Please see [wiki article](https://gitlab.distantaccess.com/naiades/naiades-platf
# Use Case Example
Using the
`Carouge Watering`
use case for exemplifying the interactions.
We have
`IoT sensor for
humidity
`
, and
`WMS for watering scheduling`
, then we could think of the following interactions:
We have
`IoT sensor for
soil moisture
`
, and
`WMS for watering scheduling`
, then we could think of the following interactions:
## Interfaces:
...
...
scripts-admin/create_entities.py
View file @
54ec5dbb
...
...
@@ -110,7 +110,6 @@ attrs = {
'phThresholdLow'
:
0.0
,
'chlorineThresholdHigh'
:
0.0
,
'chlorineThresholdLow'
:
0.0
,
'refDevice'
:
None
,
}
}
...
...
@@ -122,6 +121,7 @@ entities = [
#('urn:ngsi-ld:WeatherObserved:WeatherObserved-2', ['alicante']),
(
"urn:ngsi-ld:WaterQualityObserved:Fountain-1"
,
[
'carouge'
]),
(
"urn:ngsi-ld:WaterQualityObserved:WaterTreatmentPlant"
,
[
'wtp_lab'
]),
# # prediction use case - forecast today
# ('urn:ngsi-ld:WeatherForecast:WeatherForecast-Day0-0', ['carouge', 'alicante', 'braila']),
...
...
@@ -161,7 +161,8 @@ headers = {
entities_map
=
{
'carouge'
:
[],
'braila'
:
[],
'alicante'
:
[]
'alicante'
:
[],
'wtp_lab'
:
[],
}
for
urn
,
pilots
in
entities
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment