Node-RED
#5
Install Mosquitto (MQTT) 

Eclipse Mosquitto™ is an open source (EPL/EDL licensed) message broker that implements the MQTT protocol versions 3.1 and 3.1.1. MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for "Internet of Things" messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino.

1) Install
sudo apt-get update

sudo apt-get install mosquitto

2) Configure Password
cd /etc/mosquitto/

mosquitto_passwd -c [output file name] [your username]
[your password]

sudo nano mosquitto.conf
Append this string at the bottom of the file.
Code:
password_file /etc/mosquitto/mqttPINE64pass


3) Manually Start/Stop (Default Auto Start)

sudo /etc/init.d/mosquitto start
sudo /etc/init.d/mosquitto stop


4) Receive and send from Node-Red
   


Messages In This Thread
Node-RED - by klliew - 10-15-2016, 08:55 AM
RE: Node-RED - by MarkHaysHarris777 - 10-15-2016, 09:08 AM
RE: Node-RED - by klliew - 10-15-2016, 09:13 AM
RE: Node-RED - by MarkHaysHarris777 - 10-15-2016, 09:37 AM
RE: Node-RED - by klliew - 10-15-2016, 07:43 PM
RE: Node-RED - by SvdSinner - 12-14-2016, 07:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Node-RED neeeds 0 3,022 07-07-2018, 07:58 PM
Last Post: neeeds
  Mesh node Madroxprime 1 4,985 09-30-2017, 07:08 PM
Last Post: Mpoint

Forum Jump:


Users browsing this thread: 1 Guest(s)