Comments (6)
Hi @derteufelqwe,
I suggest to use the "orchestracities/quantumleap:edge" according to #742.
Edit. Since the new version 1.0.0 was released 3 days ago, I guess you pulled that image?
from ngsi-timeseries-api.
Besides: Did you even push any data to QL? According to your described steps, you do not push any data to Orion so that a notification could be triggered.
from ngsi-timeseries-api.
Thanks @SBlechmann,
but the edge version of the image didn't solve the issue.
You are correct, I never pushed any data.
Can you give me a hint where to push my data to, so I receive it in quantumleap? I tried to follow the official documentation but the actual updating of sensor values is hidden in a docker container.
Where would I send sensor values when I have the following subscription?
POST localhost:1026/v2/subscriptions/
Content-Type: application/json
fiware-service: openiot
fiware-servicepath: /
{
"description": "Notify QuantumLeap of count changes of any Motion Sensor",
"subject": {
"entities": [
{
"idPattern": "Motion.*"
}
],
"condition": {
"attrs": [
"xxValue"
]
}
},
"notification": {
"http": {
"url": "http://quantumleap:8668/v2/notify"
},
"attrs": [
"xxValue"
],
"metadata": ["dateCreated", "dateModified"]
},
"throttling": 1
}
from ngsi-timeseries-api.
Hi @derteufelqwe,
I guess, you have found these tutorials? https://fiware-tutorials.readthedocs.io/en/latest/iot-sensors.html
If the subscription is saved in the context broker, you just need to patch an attribute, see https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/user/walkthrough_apiv2.md#update-entity
from ngsi-timeseries-api.
Hi @SBlechmann
After a whole lot of trial and error I managed to get this to work. As you said I need to push data via the subscription first, so the necessary tables are created.
I still feel like quantumleap shouldn't throw any errors as tha's quite confusing for the user.
from ngsi-timeseries-api.
@SBlechmann thanks so much for replying to @derteufelqwe, much appreciated!
@derteufelqwe thanks for your feedback.
I still feel like quantumleap shouldn't throw any errors as tha's quite confusing for the user.
It is, I agree. This is an unfortunate side-effect of creating tables on the fly. The metadata table only gets created when QL receive the first notification ever. So if you try querying data before the first notification you get that error. At the moment fixing this isn't a priority for us, since it's a corner case. But you're welcome to open an issue about it, so we can track it.
@SBlechmann @derteufelqwe we released version 1.0.0
, rather use that if you can:
- https://github.com/orchestracities/ngsi-timeseries-api/releases/tag/1.0.0
- https://hub.docker.com/layers/orchestracities/quantumleap/1.0.0/images/sha256-d86bae97bea13b06830039979af979b1c9b24beddbc70df7a6ab4748ff618897?context=explore
from ngsi-timeseries-api.
Related Issues (20)
- API returns 404 when query produces empty result HOT 3
- Data loss when using Fiware Orion Broker, QuantumLeap and CrateDB HOT 13
- Incorrect notation of command in docker-compose-dev
- Reporting a vulnerability HOT 1
- Data not properly logged when fiware-service header is not present (CrateDB) HOT 1
- Read the Docs deprecation HOT 1
- Ask about Databases HOT 1
- Broken dev env on Apple silicon
- Broken Docker image HOT 3
- Update Python deps to fix security vulnerabilities
- Quantumleap is joining all time-series for all attributes for entity type in one table. HOT 5
- Orion-ld after 0.8.0 is not supporting the formation of service/subservice in quantumleap logs HOT 5
- Change of the response format HOT 1
- CircleCI image deprecation HOT 1
- test_geocoding.py of test_others has 2 failing test cases
- orionld fiware-servicepath is not segregating data HOT 1
- Fiware-ServicePath semantics HOT 3
- Mention service path isn't the same as Orion's
- DEFAULT_LIMIT is not working HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngsi-timeseries-api.