Index
|
Prev
|
Next
Setting up station to connect to GCP
The following steps describe how to prepare your
Niagara
station to connect it to GCP Platform.
Prerequisites:
New Registry is created GCP.
You are working in
Workbench
and your connected station is open.
The
abstractMqttDriver
palette is open.
To create a new
AbstractMqttDriverNetwork
, expand
Config
>
Drivers
, and double-click
Drivers
to open the
Driver Manager
view.
In the
Driver Manager
view, click
New
, select
AbstractMqttDriverNetwork
from the drop-down list, and click
OK
.
In the open
abstractMqttDriver
palette, expand the
Devices
folder.
Drag the
GcpMqttDevice
component to your
AbstractMqttDriverNetwork
in the Nav tree and click
OK
.
Expand
GcpMqttDevice
, and double-click
authenticator
.
Gcp Authenticator Property sheet opens.
Configure the following parameters:
Broker Endpoint
: Enter
mqtt.googleapis.com
as broker endpoint.
Client ID
: It is auto-populated when you connect to GCP.
Broker Port
: Enter
8883
as the port number.
Expand
Gcp Iot Parameters
and configure the following parameters:
Project ID
: Enter ID of project created in GCP .
Cloud Region
: Enter the Cloud region of registry created in GCP console.
Registry ID
: Enter the ID of GCP Registry created.
Device ID
: Enter the ID of the device created in GCP console.
To save the configuration, click
Save
.
Related Links
Abstract MQTT Driver with GCP Authenticator (Parent Topic)
Index
|
Prev
|
Next