In this lecture, I'm going to show you how to use the market in and around quiddity out nodes to interact
with an empty goroka that is installed on the Raspberry Pi on which the note read server is also installed.
So to do that, I am going to create or have created a new and quiddity example's flow.
And then I'm also using McGinity box just to simulate communication with an external device like an
E.S.P 32.
So let's have a look at the node rate flow and.
Have a look at the market, it in and out notes, these are the two notes that will be working with
this section.
I wanted to start with morbidity in and the idea is that I'm going to use my name and get it in books
here to publish something to a sample topic.
And then I want that to come over to the military in note.
Then I'll print it out in a Dipak note.
So here's my kitty in note.
I will also grab a debug node and connect it.
And then have a look inside and it in node to configure it already have a broker.
I am going to actually reset it and start from scratch.
I'm going to create a new.
And it broke a client.
Right.
So add new entity broker.
And I'm going to create a client using this properties tab let's call it and Kutty client.
On node red, dot local, and this is going to be a broker that is on localhost.
And I'm using the default port one eight eight three now, because we have set security credentials.
And if you go into the security tab and I'm going to copy over my credentials for one of my users,
I go for no red.
And here's the password.
And that's about it.
We're going to have an auto generated client I.D., so it's all good.
Click on ADD and then this note now in note has selected the appropriate Broca.
And I'm going to subscribe to a topic let's call this topic.
Take exploration's who'd read test for quality of service, Lisco for the simplest zero.
I'm going to allow output to be able to detect it.
There's a few options here, but let's keep it simple.
And for the name of this, no, let's call it an KUTY in.
All right, now for the debug node, I'm just going to print out the payload.
Actually, I'm going to print out the complete message object and call this entity a misty object.
OK, now let's deploy this simple flow and switch to the debug window and just want to get a text coming
out of the local debug notes.
So, Karen, let's go over to the box.
I don't have any publishers here, so let's create a publisher right now in lychees, which I can see
what I'm doing.
All right.
So the topic that I want to publish to is the same topic that this note is listening to.
So I'm going to copy this over to that quality of services here.
No problem.
So.
Let's publish something.
Test string.
And that came through here is the complete message object contains the topic and there's the Paillot
for switch this to Paillard only deploy again.
Stablish again.
You see that the message is coming through.
OK, easy now, let's do the same thing, but now going the opposite way around, I'm going to publish
something using an quiddity out in this flow, and then we will set a subscriber in the box to get that
message, capture it and short on the screen.