1
我试图在干舷使用orion上下文代理中显示DHT11传感器(temp &潮湿)。实体有这方面的:fiware-orion freeboard数据源配置失败
<contextElement>
<entityId type="Sala" isPattern="false">
<id>Sala1</id>
</entityId>
<contextAttributeList>
<contextAttribute>
<name>date</name>
<type>string</type>
<contextValue>2016-03-15 11:14:22</contextValue>
</contextAttribute>
<contextAttribute>
<name>humidity</name>
<type>float</type>
<contextValue>35</contextValue>
</contextAttribute>
<contextAttribute>
<name>temperature</name>
<type>float</type>
<contextValue>19</contextValue>
</contextAttribute>
</contextAttributeList>
</contextElement>
ORION服务器监听,但我可不是能从干舷仪表板数据源配置达到同类型的“萨拉”的实体:
FIWARE数据集配置
它以404失败 - 找不到任何上下文元素。我可以使用这个文本组件看到:
展望JS代码。我看到它的变量cbhost后加“/ NGSI10/contextElement”路径...
...
url = "http://"+currentSettings.cbhost+"/NGSI10/queryContext";
...
我尝试使用此路径与REST客户端的查询,不能使它发挥作用。我必须重新配置我的猎户服务器吗?
我鸵鸟政策知道如何使它工作..
任何想法?
在此先感谢。
--Daniel