Plugins Controlling Plugins

Video Transcript

00:06
Hopefully, by now, you know that CUS plugins
00:08
offer a great no-code option for integrating
00:12
third-party devices into your design.
00:14
Pick from our growing library,
00:16
drop it into your design, connect, and you’re done.
00:19
Easy single-device control.
00:22
But you may not realize the power that
00:24
CUS brings to the table by bridging the
00:27
functionality between plugins.
00:29
Think about it:
00:30
basically, plugins talking to other plugins through CUS,
00:34
and maybe in ways that they were not even originally intended for,
00:38
but ultimately opening up the possibilities for creating
00:41
new intelligent automations for the users—all of this in a no-code,
00:46
drag-and-drop environment.
00:49
Each plugin has API access points called control pins,
00:52
whose input and output data can be connected to or from other things,
00:57
including CES things and other plugin ends.
01:00
Combine that capability with some simple control logic blocks,
01:03
and you can create some pretty cool automations.
01:07
Let’s look at an example.
01:08
In our conference room, we’re using the Space T occupancy sensor.
01:12
We’re controlling it using the Space T plugin that we got from Asset Manager.
01:17
It has an LED here in the current info tab that
01:21
turns on when someone enters the room.
01:24
So, let’s see how we could use that data to control other plugins as well.
01:28
We’ll use some simple control logic down here to convert
01:31
the true/false state of the LED to a couple of triggers
01:34
to signify if the room is occupied or vacant.
01:38
From here, we’ve wired it so that when a person enters the conference room,
01:41
we trigger a lights-on preset from our ETC lighting controller plugin,
01:46
and we trigger a lights-off preset when no one’s home.
01:50
See? Plugins talking to plugins.
01:53
We’ve also done similar exercises for the LG display and Romy Shades,
01:58
each time connecting them to occupancy data.
02:02
Now, let’s see it in action.
02:03
When we see our subject enter the room,
02:05
it lights up the occupancy sensor’s LED,
02:08
which in turn turns on our lights, boots the display,
02:11
and brings our shades down.
02:13
And we’re all set for the next meeting just by walking in
02:17
—achieved without a single line of code.
02:19
Thanks for watching.
02:20
We’ll see you next time.