Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 25

MQTT in NODE RED

LAB-IX
Steps
• MQTT IN/OUT
• JSON NODE
• DEBUG
HiveMQ Public Broker
MQTT Dashboard
HIVE MQ MQTT BROKER
• Copy server ID and port address from HIVEMQ
Set the MQTT Node with server URL and topic
name
• Create connection between host and MQTT
client
MQTT Node
MQTT Connection
• MQTT Browser client
• Create connection between host and client
• Give name
• Provide message (JSON)
• Publish
• View the message in NODERED
References
• https://www.google.com/url?sa=t&rct=j&q=&
esrc=s&source=video&cd=&cad=rja&uact=8&
ved=2ahUKEwjN7sO8_vKEAxW--jgGHbecBrYQ
z40FegQIDRAa&url=https%3A%2F%2Fwww.yo
utube.com%2Fwatch%3Fv%3D161AKGM4xjk&
usg=AOvVaw0mclf7Oya4Ep9BlA0esUyq&opi=
89978449
Exercise -I
THINGSBOARD
References
• Create ‘device’ Or Dashboard
• Get access key of the device/ Dashboard
NODE RED USING HTTP
HTTP REQUEST NODE
urlhttp://demo.thingsboard.io/api/v1/ACCESS KEY of dashboard
Automatic door and light control using
MQTT (Exercise-II)
ThingsBoard- NodeRed
Posting Data in Dashboard through HTTP | IoT Virtual La
b|
Dr.Maheswari.R| VIT (youtube.com)
References
• https://www.youtube.com/watch?v=wW_Ueq
eszEs
• HTTP Device API Reference | ThingsBoard
Community Edition
• https://www.youtube.com/watch?v=eqbTNXf
2m7s
Node red with arduino
• https://www.google.com/url?sa=t&rct=j&q=&
esrc=s&source=web&cd=&cad=rja&uact=8&v
ed=2ahUKEwiywaTGh_uEAxWazTgGHWDQC-U
QwqsBegQIDhAG&url=https%3A%2F%2Fwww.
youtube.com%2Fwatch%3Fv%3DpllzVYkOCQc
&usg=AOvVaw36PJpO8x4GEaQzG-eaGnW-&o
pi=89978449
ESP 32 with Nodered
• Node-Red - IoT Dashboard with Arduino - No C
oding Required! (youtube.com)
Nodered with Arduino Cloud
• Node-RED | Arduino Documentation

You might also like