For the Industrial IoT plugin role to monitor
devices through HTTP requests, you must first create an HTTP connector and then add the
devices to Security Center.
Procedure
-
From the Config Tool homepage, open the Plugins
task.
-
Select the Industrial IoT plugin role from the entity browser.
-
Click the Devices tab and click Add a
device (
).
The
Add a device dialog box opens.
-
Enter the following information:
- Name
- A unique name used to identify this device in your system.
- Type
- (Optional) The device type to apply as a model for this device.
Device types define the common properties, such as protocol, states,
data points, and actions, shared by a group of devices. Using a
device type simplifies your configuration work. Device types are
defined in the Device types page of the
Industrial IoT plugin role.
NOTE: If you select
None, you must manually configure all
properties for the device in Security Center. If this is your
first device, you can complete its configuration and create the
device type from it.
- Protocol
- Select HTTP Server.
The dialog box expands to show the rest of the information you must enter.
-
Enter the rest of the information:
- HTTP connector
- The connector to use for the devices to send HTTP requests to the
plugin role (the HTTP server).
- Device ID
- The unique ID used to communicate with the device. If you don't know
what ID to use, click Generate random ID to
have the system generate a unique ID for you and configure your
device with it.
- Device connection URL
- The URL that this device must use in all HTTP requests to send data
point values to the plugin role (the HTTP server).
IMPORTANT: You must copy this URL (

) and replace the string
CONNECTOR_API_KEY
with the API key you saved when
creating the HTTP
connector.
The request uses
localhost
as the host, but you might
have to change it to point to the computer on which the
plugin is installed. The thus completed URL is what the
devices must use to send the HTTP requests to the plugin
role.
The requests must be made using HTTP
POST, and have the content type set to
JSON.
-
Click Add.
The device is added to the list of devices.
-
Click Apply.
Results
The device is displayed in the entity browser under
the Industrial IoT plugin.