Comments (7)
Hi @janaka1984,
Thanks for your feedback and sorry for the late reply.
I fixed the problem with the influxdb app. It had to be renamed to "influxdb-app". Therefore you should be able to start it via:
./apps/influxdb-app
Also, I have corrected the curl scipts in the documentation of the OCB app. The scripts should work now.
But I was not able to reproduce any problems with the mongoDB and the OCB. The log message you mentioned ([...]waiting for connections[...]) is perfectly normal.
Maybe you can test the setup again with the newest version. If the problem with the mongoDB is not solved, it would be nice if you could send me the output of:
docker logs <MONGODB CONTAINER ID>
docker logs <OCB CONTAINER ID>
from openmtc.
Is it possible that you have deleted your last comment? I got a notification, but I can not see your comment here. Maybe the issue is solved?
from openmtc.
yes i could find solution. actually i thought it is the issue. but after find where influxdb is called from openmtc , i deleted it .
still pending to check OCB and mongodb , after check it , i will give feedback
from openmtc.
Hi @ckl-fokus
Following curl script does not return value as mentioned on README file
curl -X "GET" localhost:18000/~/mn-cse-1/onem2m/CUL868IPE/S300TH_1/temperature/latest -s |
jq -r '."m2m:cin".con' |
base64 -d | jq '.'
curl localhost:1026/v2/entities/mn-cse-1-Wohnzimmer/ -s -S | jq '."temperature"'
curl localhost:1026/v2/entities/mn-cse-1-Bad/attrs -s -S
--header 'Content-Type: application/json'
-X PATCH -d @- <<EOF
{
"cmd": {
"value": "ON",
"type": "String"
}
}
EOF
curl -X "GET" localhost:18000/~/mn-cse-1/onem2m/CUL868IPE/FS20_ST3_16108_1/switch/latest -s | jq '."m2m:cin".con'
But it is possible to connect OCB and mongodb and store data on db.
When run './apps/orion-context-broker -v' to use OCB without docker , it is connected to openmtc backend worked. but i can not see any parameter on config.json to connect Mongodb, can you give hint for this?
from openmtc.
Hi @janaka1984,
Thanks for your valueable feedback.
about the curl commands:
There were still remaining mistakes in the curl commands. They should be fixed now.
about the mongodb config option
Maybe you misunderstood something about the architecture. The command './apps/orion-context-broker -v' will not start the Orion Context Broker itself, instead it will start the OpenMTC app, which will connect OpenMTC to the Orion Context Broker. If you have a look at the architecture picture , you will see that the app is not directly connected to the MongoDB. Therefore there is no need to configure something in regard to the MongoDB.
If you want to start the Orion Context Broker itself without using Docker, you can check the .
from openmtc.
Hi @janaka1984,
Is the issue solved for you?
from openmtc.
hi @ckl-fokus
problem was solved , thank you very much for your support
from openmtc.
Related Issues (20)
- [SHOULD] Work towards fulfilling the requirements for a full GE HOT 1
- [MUST] Show versioned documentation HOT 1
- [MUST] Roadmap is missing HOT 1
- Installation HOT 1
- After delete specific subscription, How can i create subscription automatically without restarting OCB
- Why my gateway can't register with backend ? HOT 1
- get latest resource seems to be broken following docs HOT 4
- exception when installing gateway
- Cannot find ch = [ ] attribute when i run gateway HOT 3
- IoT-data-visualization.py: socketio import failures
- Gateway Notification problems: CSETargetNotReachable HOT 1
- Issue while trying to create an application resource HOT 7
- Semantic Discovery
- Error while running backend image HOT 1
- Dashboard
- Quick Start Guide Instructions are not working HOT 4
- create-binary-docker not working in macOS Catalina HOT 1
- start-app.sh not working in macOS Catalina HOT 9
- Dead project?
- OpenMTC without Docker?
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 openmtc.