简体   繁体   English

无法在IBM IoT输入节点中获取RPi设备数据

[英]Trouble getting RPi device data in IBM IoT input node

I'm having trouble getting "device" data from a Raspberry Pi to show up via an IBM IoT input node in Node-RED. 我无法从Raspberry Pi获取“设备”数据以通过Node-RED中的IBM IoT输入节点显示。 I know the data is making it into the Watson IoT cloud, since I can see it under "recent events" in the device panel. 我知道数据正在进入Watson IoT云,因为我可以在设备面板的“最近事件”下看到它。 However, I'm getting an "Imported Unrecognized Type: wiotp-credentials" error when I refresh Node-RED. 但是,刷新Node-RED时出现“导入的无法识别类型:wiotp-credentials”错误。

Any idea where I'm going wrong? 知道我哪里出错了吗?

Ok, amadain was correct. 好的,阿马丹是正确的。 I had two browsers open with NodeRed, one for bluemix and the other for a Pi ... and inadvertently cut & pasted some node information from the Pi to blumix. 我打开了两个使用NodeRed的浏览器,一个用于bluemix,另一个用于Pi ...,并且无意间将一些节点信息从Pi粘贴并粘贴到了blumix。 Once I removed the errant node, everything worked fine. 删除错误的节点后,一切正常。

I'm suspecting you imported something from a NodeRed flow on the Pi to NodeRed on bluemix? 我怀疑您从Pi上的NodeRed流中导入了一些东西到bluemix上的NodeRed吗? There are slight differences in the nodes and also credentials don't import. 节点之间略有不同,并且凭据也不会导入。 You might want to add a new IBMIOT (Input) node and then create new credentials. 您可能想要添加一个新的IBMIOT(输入)节点,然后创建新的凭证。 Take or create the API keys from your organisation-access-api keys (https://.internetofthings.ibmcloud.com/dashboard/#/access/apikeys 从您的organization-access-api密钥中获取或创建API密钥(https://.internetofthings.ibmcloud.com/dashboard/#/access/apikeys

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM