Can MQTT be used on beaglebone black, a very low power computer ?

2,592 views
Skip to first unread message

questuk

unread,
Oct 14, 2013, 6:18:00 PM10/14/13
to mq...@googlegroups.com
Hi,

I am considering  using a "Beaglebone Black" for my home system that uses MQTT as they are about £38 and only use 2 wattts of power.
It looks as though it would be a great low power computer to run MQTT. http://beagleboard.org/Products/BeagleBone%20Black

At the moment I have mosquitto, running fine on a windows machine.

I have looked on the internet but cannot find the information, I did see a video on Youtube with MQTT and a Beaglebone Black using virtual reality, so it must be possible !
http://www.youtube.com/watch?v=paOvDkI76OY

Although he was using a public server as I found this in his code: client = mqtt.createClient(1883, "m2m.eclipse.org");

I currently use mosquito server, is this available in the arm linux that Beaglebone Black can use, they have adapted versions of debian and ubuntu and angstrom?

Any hints tips will be appreciated.


Regards

Gary

Florian.Pirchner

unread,
Oct 14, 2013, 6:24:08 PM10/14/13
to mq...@googlegroups.com
hi,


we installed mosquitto on beaglebone.

you can also run mqtt clients there like eclipse mihini (java, lua, c,...). we do so...

Mit besten Grüßen
Florian Pirchner
--
--
To learn more about MQTT please visit http://mqtt.org
 
To post to this group, send email to mq...@googlegroups.com
To unsubscribe from this group, send email to
mqtt+uns...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/mqtt
 
---
You received this message because you are subscribed to the Google Groups "MQ Telemetry Transport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

questuk

unread,
Oct 14, 2013, 6:36:01 PM10/14/13
to mq...@googlegroups.com
Hi Florian

Thanks for that quick response and I will read all the articles tomorrow as its late here.

But looking at it very briefly looks like i just need to install the armhf flavour of Debian, sorry new to all of this, does this mean this debian, can run any linux programs or do they have to be written especially for armhf flavour of Debian ?

Thanks

Regards

Gary

Dan Anderson

unread,
Oct 14, 2013, 6:45:58 PM10/14/13
to mq...@googlegroups.com
>I currently use mosquito server, is this available in the arm linux that Beaglebone 
>Black can use, they have adapted versions of debian and ubuntu and angstrom?

I used it on Arch Linux ARM (basic recompile).

I'm not sure about the Beagle Bone specifics, but I don't see any roadblocks.

Dan


On Mon, Oct 14, 2013 at 5:18 PM, questuk <online.a...@googlemail.com> wrote:
Hi,

I am considering  using a "Beaglebone Black" for my home system that uses MQTT as they are about £38 and only use 2 wattts of power.
It looks as though it would be a great low power computer to run MQTT. http://beagleboard.org/Products/BeagleBone%20Black

At the moment I have mosquitto, running fine on a windows machine.

I have looked on the internet but cannot find the information, I did see a video on Youtube with MQTT and a Beaglebone Black using virtual reality, so it must be possible !
http://www.youtube.com/watch?v=paOvDkI76OY

Although he was using a public server as I found this in his code: client = mqtt.createClient(1883, "m2m.eclipse.org");

I currently use mosquito server, is this available in the arm linux that Beaglebone Black can use, they have adapted versions of debian and ubuntu and angstrom?

Any hints tips will be appreciated.


Regards

Gary

Florian Pirchner

unread,
Oct 15, 2013, 3:56:09 AM10/15/13
to mq...@googlegroups.com
Hi Gary,

You are absolutely right. All you have to do is install the Debian
version from armhf.com. 
Programs do have to be compiled for the specific hardware -- but this
has already been done for software that is provided as Debian packages;
there are repositories for Armhf Debian just as there are those for
ordinary Debian. Thus, installing the mosquitto server on a Beaglebone
Black is as simple as "apt-get install mosquitto".

Best, Florian


Am 15.10.13 00:36, schrieb questuk:

questuk

unread,
Oct 15, 2013, 4:23:34 PM10/15/13
to mq...@googlegroups.com
Hi Florian and Dan

Thanks for your help, much appreciated and it helped a lot !


Regards

Gary



On Monday, 14 October 2013 23:18:00 UTC+1, questuk wrote:

Sy

unread,
Oct 19, 2013, 4:18:22 AM10/19/13
to mq...@googlegroups.com
I have two beaglebone blacks both running Angstrom.  So far I have them configure to run back to back running MySQL configured for High Availability in Multi-Master mode with my own floating IP manager.  I run Java on these, running a Java based broker would be straight forward.  I have also run the node.js mqtt client and this works fine.



On Monday, 14 October 2013 23:18:00 UTC+1, questuk wrote:
Reply all
Reply to author
Forward
0 new messages