无法注册rasphberry pi3累积

时间:2019-04-03 03:03:42

标签: cumulocity

enter image description here无法将raspberry pi3注册到网站,我已经安装了代理程序并重新启动并签入了站点,但是没有运气。 下面有更多详细信息 我在raspberrypi上运行Raspberry Pi Desktop。 我已经通过运行以下命令安装了累积代理(完整详细信息,如https://cumulocity.com/guides/devices/raspberry-pi/中所述)。

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

我获取了设备的序列号,并在https://agdemo.eu-latest.cumulocity.com中进行了注册,由于它们,我看到等待连接的消息

软件详细信息  Linux raspberrypi 4.14.79-v7 +#1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU / Linux  Raspberry Pi桌面(https://downloads.raspberrypi.org/rpd_x86_latest) 硬件细节 Raphberry Pi Rc-A-752 3 B +型 CPU信息 硬件:BCM2835 修订:a020d3 序列号:00000000a3fb6364 记忆体资讯 1 GB RAM enter image description here

[屏幕截图]

Cumulocity.properties agent status log

3 个答案:

答案 0 :(得分:1)

引导凭据不是您的个人凭据。

您可以按照文档中的说明进行操作:https://cumulocity.com/guides/device-sdk/rest#step-0-request-device-credentials

从那里出发:

  

设备将连接到Cumulocity并重复发送其唯一ID。为此,Cumulocity提供了可通过与支持部门联系来查询的静态凭据。

这些是您需要的引导凭据。

答案 1 :(得分:1)

您不需要设置引导凭据。默认凭据包含在代理程序实现中。仅在.properties文件中设置主机属性就足够了。要重试,还请删除device.properties文件(如果存在)。该文件由代理成功注册后生成。

答案 2 :(得分:0)

对不起,我不允许添加评论。 您能否使用java来提供调试日志配置来运行代理,以获取详细信息并发布日志。

$ cd /usr/share/cumulocity-rpi-agent
$ java -cp 'cfg/*:lib/*' -Dlogback.configurationFile=cfg/logback-debug.xml c8y.lx.agent.Agent