【问题标题】:raspberry pi 3 iot agent unable to connect cumulocity platform树莓派 3 物联网代理无法连接 cumulocity 平台
【发布时间】:2018-12-20 18:38:40
【问题描述】:

我已经安装了noobs v2_4_5 in raspberry pi 3 model,配置了JAVA_HOME,启用了SSH,并设置了静态IP。我下载了 IOT 代理 cumulocity-rpi-agent-latest.deb 并使用以下 2 个命令安装

$ wget http://resources.cumulocity.com/examples/cumulocity-rpi-agent-latest.deb
$ sudo dpkg -i cumulocity-rpi-agent-latest.deb

我在cumulocity平台注册了设备。安装代理后,我应该更新位于/usr/share/cumulocity-rpi-agent/cfg 的cfg 文件cumulocity.properties。该文件需要以下内容。

host
bootstrap.tenant
bootstrap.user
bootstrap.password

我的帐户网址是 - arpita.cumulocity.com。我必须在该文件中放入什么以及我还需要做些什么来建立主动连接?代理安装后也不会生成device.properties 文件。如何进行?

【问题讨论】:

    标签: raspberry-pi3


    【解决方案1】:

    我找到了这个问题的正确答案。


    在 Cumulocity 上注册您的 raspberry Pi 3 并更新您的 cumulocity.properties 文件后,您需要启用 SPI。

    Here 是如何做到这一点的参考。

    启用 SPI 后,您会在 Cumulocity 上看到您的设备状态正在等待您接受连接。

    【讨论】:

      猜你喜欢
      • 2017-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多