Welcome back guys to video number 7.4. We're
going to talk about the web-based mqtt clients.
So let's get started with that.
So here is mqtt.ron a
web-based mqtt client, which is developed by
me and
to verify how it works through the
web-based because in the previous video we have
just explored all the stuff by
using command line terminal. So in
this video, we're going to test with the
mqtt clients just type Here Local Host your
server name.
Right now case we have a local list and for
the port number, we need to click on the configurations and
the listeners and here we have a different types of port for example
for the TCP that we have
used 1883 in the previous video. And if there is
a SSL then we need to use the 8883 port
number for the websocket. We have a 8083
and for the skew web
sockets we have a a284 right now.
We're going to use a 283 and here we need
to mention the topics / home /
From one slash temperature. Okay,
and click on the connect and you
will see.
the dashboards two connections to topics and
click on the listeners then when we have
On the desktop using the terminal and
one is a web based. Okay now here we will.
Type the messages to the room one, which is
18.
And it will receive the
data 18. Okay, and for example, I
need to again resubscribe to
that topics control C.
BLS and
just
Again, make it temperature. Okay, and now I'm sending the
data where the web based. Okay
19 and here you will see the 19 value
there. So this is the web-based if
you don't want to use the command line
interface, but we have another option which is the
Just type the mqtt desktop.
client
and you will get the mqtt x dot app
which is a cross platform.
Client you can use it on Windows Mac Linux and
121 provider. Awesome GUI to manage
all the stuff already. I have installed it.
So I'm just going to
run that app mqttx
And here firstly we need to make a connection just click
on the plus button and type the name
local emqx broker.
And leave the client name. Yeah, we are
going to use the mqtt and here we will type the
local host and the port is 183 and
we didn't have any other stuff required here. Just click
on the connect and we're good to go with that. And if
you see here we have connected now, we need to subscribe to that topic.
Who what is the topic on?
Room one slash temperature, okay.
And we're good to go with that and click on that to
type another topic Home Room to
slash.
temperature
And the confirm okay, and we need
to come back to that dashboard and see three
connections to topics and the force subscribers.
Okay now right now I'm going to send
that again 19 and in the app, we will see
here is the 19
and for example if you want to send the
data.
To that. Hello.
The topic is required. Okay, we need to mention the
topic here home.
room one temperature
And just send it hello and we are good to go with that.
And here you will see here. This is so now from
that example. You understand that this is the bidirectional and
instant communication is happening. So in
this video, we have covered the web-based client and we
also covered the desktop client. If you are not
going to use the commands, but I will recommend you to understand
the commands because it will give you a good option to understand
how the process is working. What if
You didn't remember or memorize
the commands then these tools are good to go with you guys. Okay,
so guys in the next video. We're going to send the data
from device to the cloud. So see
you in the next video. Have a good day. Bye.