【发布时间】:2016-01-29 09:26:58
【问题描述】:
我们正在尝试将 Orion、Cygnus 和 Ckan 整合在一起。 为了实现这一点,我已按照以下步骤操作:
- 使用 Fiware Ckan 信息安装和配置 Cygnus(Cygnus 启动并运行)
- 登录 Ckan 并获取 API 密钥并在 Cygnus 设置中进行配置
- 猎户步:
queryUpdate = 追加数据
{
"contextElements": [{
"type": "Room",
"isPattern": "false",
"id": "26JanRoom",
"attributes": [{
"name": "temperature",
"type": "float",
"value": "888"
}]
}],
"updateAction": "APPEND"
}
subscribeContext = 使用上面创建的实体 id 订阅(我们的 Cygnus 主机作为参考 "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 = 更新数据
{
"contextElements": [{
"type": "Room",
"isPattern": "false",
"id": "26JanRoom",
"attributes": [{
"name": "temperature",
"type": "float",
"value": "111"
}]
}],
"updateAction": "UPDATE"
}
我们期望在 Cygnus 端收到一些通知,但没有从 Orion 发送任何消息 (orion.lab.fi-ware.org:1026/)
您能帮我们解决这个问题吗?
谢谢kr
奥马尔·奥兹德米尔
【问题讨论】:
标签: fiware-orion fiware-cygnus