we trying integrate orion, cygnus , ckan together. have followed these steps in order make happen:
- install , configure cygnus fiware ckan info(cygnus , running)
- login in ckan , api key , configure in cygnus settings
- orion steps:
queryupdate = append data
{ "contextelements": [{ "type": "room", "ispattern": "false", "id": "26janroom", "attributes": [{ "name": "temperature", "type": "float", "value": "888" }] }], "updateaction": "append" }
subscribecontext = subscribe entity id created above(our cygnus host given reference "reference": "cygnus host", )
{ "entities": [{ "type": "room", "ispattern": "false", "id": "26janroom" }], "attributes": ["temperature"], "reference": "cygnus host", "duration": "p1m", "notifyconditions": [{ "type": "onchange", "condvalues": ["temperature"] }], "throttling": "pt5s" }
queryupdate = update data
{ "contextelements": [{ "type": "room", "ispattern": "false", "id": "26janroom", "attributes": [{ "name": "temperature", "type": "float", "value": "111" }] }], "updateaction": "update" }
what expect receive notifications in cygnus side, there nothing sent orion (orion.lab.fi-ware.org:1026/)
could please on topic?
thanks kr
omer ozdemir
your using
"condvalues": ["pressure"]
which means every time attribute named pressure
change, orion trigger notification. however, update modifiygin temperature
.
please, have the subscribe context operation section @ orion documentation.
Comments
Post a Comment