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