>> We have a special episode of
the IoT Show where Ugan is coming back.
Last time it was about introducing the IoT Plug and Play bridge,
today it's about showing how it works as an IoT edge module.
If you don't understand anything of what I just said,
you have to watch the episode.
If you understand what that means,
I don't even have to tell you what to do.
That's today on the IoT Show.
[MUSIC]
>> Hi, everyone. Welcome to the IoT Show.
I'm Olivier, your host.
Today Ugan is back on the IoT Show to
tell us more about the IoT Plug and Play bridge.
Ugan, thanks for coming to the show today. How are you.
>> Hey, Olivier, I'm doing well, how are you?
>> Fantastic. Tell me Ugan,
for those who have not seen the first episode,
first shame on them.
They have to go and watch it.
But can you give us a short introduction of yourself again?
>> Yeah, I'm Ugan. I'm a Program Manager on
the Azure agent platform team on the sensors and
connected team working on the IoT Plug and Play bridge.
>> Nice. In that first episode with you,
you came and introduced the IoT Plug and Play bridge.
We'll send people to watch the video, but,
short can you tell us what is the IoT Plug and Play bridge?
>> Yeah. The IoT Plug and Play bridge is
a really low code way to integrate
existing legacy brownfield devices into
the IoT Plug and Play ecosystem and
service them as IoT Plug and Play devices.
>> To sum it up, for people
who are not familiar with Plug and Play as well,
Plug and Play is that solution,
the last to have devices declared the capabilities to the Cloud,
to IoT Hub and IoT Central and other services like Digital twins.
The bridge allow us to very easily
transform existing infrastructure you were saying,
such as what? Modbus? Serials? Others?
>> You could take Modbus or Serial devices and if,
they're already attached to an IoT edge gateway,
then you'd be able to connect the bridge and
then servers those as IoT Plug and Play devices.
Those would be able to work with anything like Azure,
IoT Central or IoT Hub.
>> Nice. Last time I remember,
I think I teased you at the end asking you how about having
an IoT Edge module format for the IoT Plug and Play bridge?
You told me that your team was working on that.
Today you're here to tell us more about
this IoT Edge module version of the IoT Plug and Play bridge.
>> Yeah, exactly. Recently we've
added support for the IoT Edge runtime.
Now you'll be able to run your bridge
not only as a native application,
but also as an IoT Edge module.
>> Why would someone want to do that?
>> Sure. We have a pre-recorded demo.
I'll walk you through how we actually connect
to legacy Modbus device attached
to an IoT Edge gateway as an IoT Plug and Play device to IoT Hub.
>> Okay. Let's look at a demo and see
how you're taking advantage of IoT Edge here.
>> Yeah. In this demo, what we'll do,
is we actually have a DL 303 environmental sensor.
It's a Modbus device. Nothing's been done to it.
It's just Legacy Device.
Then we connect over Modbus TCP to the IoT Plug and Play bridge.
The Plug and Play bridge does
the work to actually translate the Modbus
addresses into IoT Plug and Play compliant messages.
Those get transferred over the IoT Edge runtime to an IoT Hub.
The IoT Hub we'll be able to see the device show
up as a Plug and Play component of the bridge module.
It's super powerful because if you think about it,
you'll be able to configure the bridge from the Cloud to add
any existing devices as Plug and Play devices.
It really meshes together
the IoT Edge and IoT Plug and Play ecosystems.
>> Under native version with
no IoT Edge runtime support and module,
when you wanted to add a new device,
did you have to do some manual operation,
recompile the code or something like that?
>> Yeah. In the native version of the bridge,
there was actually a configuration JSON that you'd have to go
and manually update on the device itself.
But with the IoT Edge runtime support,
you'll actually be able to configure that from the Cloud.
>> Okay.
>> Awesome. I'll walk you through the rest of the demo.
First will go into the setup,
and then we'll go into the actual demo itself.
In terms of setting up the IoT Plug and Play bridge,
it's pretty similar to a lot of the
other, I'll pause for a second.
Though in terms of setting up the IoT Plug and Play bridge,
it's very similar to any other IoT Edge custom module.
You clone our repo,
build it as a module,
and upload it to a container registry.
Here we can see the bridge showing in
our own Azure container registry.
Then what we do is we actually update
the deployment manifest of our IoT Edge device
to connect to this container registry so that they can
consume the bridge image and deploy it.
Within the deployment manifests itself,
we also have the option to actually configure the ridge.
This is super powerful because we have to add any new devices.
We actually just configure it
within the IoT Edge deployment manifests itself.
Here we're going through the Modbus parameters and mapping them
to IoT Edge or IoT Plug and Play interfaces.
We have various things like TCP host and port addresses and
things like that that are mapped to
the specific CO two detector that we have.
Then we actually just identify
it as a IoT Plug and Play device with
DL 670 and then we go through all the different properties,
telemetry and commands that can be
mapped through the Modbus addresses.
Then we go ahead and we'll build
this IoT Edge solution and deploy it.
Now we can see the Play and
Play bridge running as an IoT Edge module
with the module identity.
Here we have a real life version of the demo running.
We actually have in our dev leads office a Modbus device running.
It's sensing environmental data just as like
21.7 degrees Celsius within the ambient temperature.
CO two levels and humidity.
What the bridge does is it's actually connected via
the IoT Edge runtime to
an IoT Edge gateway that's connected to this Modbus device.
Then the bridge will do the work to actually
read the Modbus addresses on this device,
read this temperature reading, and then can
translate that to an IoT Hub compliant message.
You actually see here that is
21.7 degrees Celsius is read into the IoT Hub as a temperature,
all in Plug and Play compliant messages.
Then on the side you will actually see within
the developer console that the bridge is running as Module 19.
>> Nice. Ugan, that's a project that is open-source.
Everything is available on GitHub.
>> Exactly. Everything is open source and you'll be able
to get everything off the GitHub.
>> Yeah. We have actually a link that we're going to bring up
here that is aka.ms/IoTShow/IoTPnPBridgeEdge.
Let's make sure it shows up. Yes, there you go.
This link actually will send nothing to the documentation.
We're seeing that you are actually building the module and then
no showing how to make it in a demo
available in a container registry.
Is that's something that will be
available in the Azure marketplace at some point.
>> Yeah. We do have plans to actually upload
the bridge as an Azure
marketplace modules sometime in the feature.
>> Nice. Ugan, fantastic demo, great feature.
I think it makes transforming
your existing brownfield infrastructure
of devices into IoT Plug and Play once.
I really love the bridge.
I'm going to play more with that.
Ugan, hope you're going to come again on the show.
Assert time was even more for the bridge.
>> Awesome, see you soon.
>> See you soon, bye.
[MUSIC]