# Mqtt broker on odroid

**URL:** <https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766>\
**Category:** General\
**Created:** [30 November 2020 17:18 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766 "2020-11-30T17:18:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yawstick1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yawstick1/32/11419_2.png) [@yawstick1](https://discourse.nodered.org/u/yawstick1)\
**Post date:** [30 November 2020 17:18 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/1 "2020-11-30T17:18:13Z")

</div>

I just got one of the odroid n2+ boards and installed node red on it. it appears there are some issues with installing the MQTT broker. Curious if anyone else has got this going

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [30 November 2020 21:39 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/2 "2020-11-30T21:39:58Z")

</div>

Does `node-red-contrib-aedes` work for you?  
I have tried it, and although it doesn't provide as many features as Mosquito, it has enough for most user cases, and is extremely easy & quick to setup.

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [30 November 2020 22:10 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/3 "2020-11-30T22:10:18Z")

</div>

My MQTT broker (mosquitto version 1.4.15) runs flawlessly on an Odroid c1+, Ubuntu 18.04.4 LTS.

---

<div class="post-metadata">

**Author:** ![yawstick1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yawstick1/32/11419_2.png) [@yawstick1](https://discourse.nodered.org/u/yawstick1)\
**Post date:** [3 December 2020 14:35 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/4 "2020-12-03T14:35:29Z")

</div>

Turns out this whole MQTT broker thing works a lot better if you have mosquito installed. I have been running node-red et al on a raspberry pi for quite some time. It was pretty pain free setting it up and I was just following the footsteps which were pretty well documented. Odroid is not so well documented and it had been so long since I had set up the raspberry that I had forgotten the details. I was getting could not connect to the MQTT server on localhost but was able to connect to the one on the raspberry. I'm using the node-red-contrib-aedes and once I installed Mosquito the errors went away.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [3 December 2020 14:50 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/5 "2020-12-03T14:50:04Z")

</div>

> [@yawstick1](#):
>
> node-red-contrib-aedes

I think if you have installed mosquitto then you should remove the aedes node, otherwise you are trying to run two MQTT brokers.  
Personally I can't see that aedes has any advantages anyway, mosquitto is usually so easy to install. Presumably also aedes runs in the node-red process rather than a separate process as mosquitto does which may be a factor on lower performance hardware.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 February 2021 14:50 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766/6 "2021-02-01T14:50:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
