I have receiving data from our sensors using GET. The request format is: http://IP:PORT/PATH?Operation=InsertObservation&value=0.0012&unit_id=123456&sensor_id=75648. How I can, using iotagent-node-lib, write them to Orion Context Broker?
1
There are 1 best solutions below
Related Questions in FIWARE
- FiWare WP-OAuth user authentication PHP CURL
- Fiware orion context broker - lack of libraries
- Socket hang up exception sent by server on Orion queryContext request
- Public access to Mashup Workspace + Orion Context Broker
- Fiware IDM Keystone on Ubuntu 14.04
- Issue when registering device through IDAS
- Remote connection to fiware-cosmos returning authentication error
- Orion Context Broker - subscriptions
- Using iotagent-node-lib
- PEP-Proxy-Steelskin Log configuration
- Retrieve Fiware-ServicePath from EntityContext using EntityID
- How to programmatically authenticate to HDFS in fiware cosmos
- Check if Entity already exists in a ContextBroker
- Connect to VM on Fiware Lab: Connection timed out
- Docker setup for Wirecloud
Related Questions in IOT
- difference between IoT Foundation and Node-RED?
- IOT Mosquitto mqtt how to test on localhost
- Node-RED, IOT Foundation Out Node Not Sending Commands
- Using iotagent-node-lib
- EnOcean Java Library
- Connect IOT module to the internet server
- Creating and using resources within Windows Core IOT
- Windows 10 removableStorage SQLite database
- Using muzzley to communicate alljoyn signals over cloud
- How to connect Arduino-Uno IOT recipe to MQTT over WiFi WPA
- Mosquitto broker not validating username and password sent by the publisher
- How do I connect my Raspberry Pi 3 running Android Things to a wifi network?
- AWS IoT - Dynamo Insert record failed
- Best practice for IoT stream data processing
- Lua FIFO / QUEUE file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The fast answer is: "using the iotagentLib.update() method". The slow and complete one imply some other steps you will need to complete to have a fully working agent. I suggest you take a look at the code of https://github.com/telefonicaid/sigfox-iotagent. That's one of the latest IOTAs we started to develop, and makes use of the IoT Agent Node Lib. Sigfox callbacks use HTTP calls much like your approach, so it should be really easy to modify the Sigfox Agent's code to feet your needs. Most of the interesting code is in this file:
https://github.com/telefonicaid/sigfox-iotagent/blob/develop/lib/sigfoxHandlers.js
I think you can reuse most of the code, excluding the sigfoxParser. If you have further doubts, you should be able to solve your doubts using iotagent-node-lib documentation.