beaglebone上的mqtt客户端

时间:2013-09-13 17:48:42

标签: debian mqtt angstrom-linux beagleboneblack

有人在mqtt-client上移植了一些BeagleBone black以进行长期运行? 我正处于起步阶段,我正在寻找在此设备上使用mqtt client的正确,(最简单)方法。

我正在寻找3种方式:

  1. 从Beaglebone上的Debian开始,并在此发行版上使用std pkg
  2. eclipse-paho
  3. 上移植像angstrom distro这样酷且稳定的库
  4. 在默认环境中使用node.js mqtt client
  5. 一些建议?

    谢谢!

2 个答案:

答案 0 :(得分:1)

它比 - 仅仅是一个MQTT客户端更多 - 但是你见过nodeRed吗? Node.js的可视化编程环境,专为“连接物联网”而设计。它在我的BBB上运行良好,并愉快地与在同一平台上运行的mosquitto进行对话。

答案 1 :(得分:0)

Eclipse Paho,mosquitto,HiveMQ都是在beaglebone上运行MQTT的好方法。您需要占用空间最小的东西,因为它是一个具有良好RAM /处理能力的小型设备。

如果您在Debian上运行Beaglebone,我真的建议使用mosquitto - 他们有自己的Debian存储库,而mosquitto是一个非常好的开源,实现MQTT的简单方法。您可以在此处或使用简单的Google搜索查找链接。

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-debian-8

https://mosquitto.org/download/
https://mosquitto.org/2013/01/mosquitto-debian-repository/

实施例: http://docs.gadgetkeeper.com/display/docs/Realtime+temperature+monitoring+with+BeagleBone+Black+and+MQTT+protocol

http://www.microdev.it/wp/en/2017/03/12/mqtt-with-beaglebone-and-esp8266-mosquitto-installation-on-beaglebone/