How do I configure context broker accept post requests from my remote sensor?

I have set my weather station with different sensors attached. My practice until now was to send the sensor data to a web address. But now that I have set up a CentOS 6.6 on a server with its IP address so now I want to send the sensor data directly to that machine that has orion context broker installed.

So my question is, <strong>how do I configure orion context broker to accept these post requests (from the weather station sensors) that are being sent to the CentOS machine?</strong>


You shouldn't have any problem sending post requests to a CentOS machine that is running Orion Context Broker. In fact, that is the supported OS for running Orion.

Just make sure you have the port open that Orion will be listening at (by default it's 1026), and that the payload in the post is acceptable.

For example, to send a value you could do a POST to <host>:<port>/v1/contextEntities/mySensor/attributes and a payload such as

{ "attributes" : [ { "name" : "temperature", "type" : "float", "value" : "26.5" }, { "name" : "pressure", "type" : "integer", "value" : "763" } ] }

Start out simple by doing a GET :1026/version to see if it works and work up to more advanced queries (see the documentation for more good stuff :)


  • Get all tags on a specific branch using GitHub REST API
  • Getting Token in Orion Context Broker
  • Cygnus release/0.6.0 does not create Hive extended tables
  • [SAS Formats]ERROR: For format COUNTRIES, this range is repeated, or values overlap: .-
  • No connection between Freeboard's data source for Orion and Context Broker
  • How to ensure parallel communication between 3 Raspberry Pi?
  • Fiware: configure orion context broker port
  • Make sure the broker holds messages until at least one consumer gets it
  • .net console app with hyperlinks?
  • Rabbitmq: Unacked message not going away after broker restart
  • Configure Spring's MappingJacksonHttpMessageConverter
  • Iron Router: How do I send data to the layout?
  • Ruby on Rails App deployed to heroku showing “We're sorry, but something went wrong”
  • Wrong row deleted from custom listview with spinner
  • HttpURLConnection Closing IO Streams
  • How do I retrieve the user information of a user authenticated with Apache's mod_ldap?
  • Yii2: Finding file and getting path in a directory tree
  • Clear fused location provider's location for testing
  • Spring: No transaction manager has been configured
  • Clear activity stack before launching another activity
  • JPA flush vs commit
  • Elasticsearch script query involving root and nested values
  • Angular2 Response for preflight is invalid (redirect) from some GET requests
  • Why use database factory in asp.net mvc?
  • How do I configure context broker accept post requests from my remote sensor?
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • Ajax Loaded meta Tags
  • Xamarin Forms - UWP Fonts
  • swift auto completion not working in Xcode6-Beta
  • Javascript Callbacks with Object constructor
  • Can I make an Android app that runs a web view in Chrome 39?
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • Updated Ionic CLI but shows previous version (Windows)
  • Arrays break string types in Julia
  • Free memory of cv::Mat loaded using FileStorage API
  • Memory offsets in inline assembly
  • Turn off referential integrity in Derby? is it possible?
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize