Node-Red and MQTT on Raspberry Pi

Node-Red MQTT on Raspberry Pi



Node Red

A visual tool for wiring the IoT.
Gateway to The IoT. Rapidly developing popular platform device data information.

To install Node-Red

> bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
> node-red-start

After this you can access the node-red dashboard from url http://<raspberrypi ip addr>:1880

Auto Start on Reboot
> sudo systemctl enable nodered.service

Install MQTT Broker
> npm install node-red-contrib-mqtt-broker
Reference
[1] Install Node-Red 
[2] Install node-red-contrb-mqtt-broker
[3] First time mqtt-broker


MQTT Publish






Getting started install MQTT client



> sudo pip install paho-mqtt


Note:
GPIO. Stands for "General Purpose Input/Output." 
MQTT stands for "Message Queue Telemetry Transport"

Comments

Popular posts from this blog

M5Stack ESP32

Express connect to mysql

How to debug msbuild