From the course: Raspberry Pi Weekly

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Connect to MQTT with Node-RED

Connect to MQTT with Node-RED - Raspberry Pi Tutorial

From the course: Raspberry Pi Weekly

Connect to MQTT with Node-RED

- Hi, I'm Mark Niemann-Ross, and welcome to this week's edition of "Raspberry Pi Weekly." Every week we explore the Raspberry Pi and share useful tips. To use Node-RED with our three Raspberry Pis, the publisher, broker, and client, you need to start Node-RED on each Raspberry Pi, note the IP address, and then edit the Node-RED code on each platform. So let's go ahead and do that. I'm looking at the publisher, and I go to the Raspberry Pi menu. I go to Programming and I go up here to Node-RED, and you can see that I've started Node-RED. Take note of the http colon address that is shown at the line that says Once Node-RED has started, point a browser at, in this case it's 10.16.18.61:1880, that's an important number. And you can go ahead and leave Node-RED running. Now let's go take a look at the MQTT broker. Just like we did with the MQTT publisher, on the broker I'll go to the Raspberry Pi menu, Programming…

Contents