Sending messages GCP Console to Niagara
This procedure describes the steps to send messages from GCP to Niagara.
Connection is established between GCP and Niagara.
- Navigate to Config > Drivers > AbstractMqttDriverNetwork > GcpMqttDevice and double-click Points.MqttClientDriverPointManager window opens.

- To add MqttStringSubscribePoint click New..A New window opens.

- Select MqttStringSubscribePoint from
the drop-down list and click OK.Another New window opens.

- Enter the following parameters:
- Name: Enter the name to be given to the point.
- Topic: Enter the topic name as /devices/device_name/commands/#, Enter the device name set in GCP console,
- Click OK. Navigate to AX Property Sheet of the point created.
- Right click on device, Actions > Subscribe All.
- Go to GCP Console, IoT Core > Devices and select the correct device in which the point was set.
- Select Send Command. Select Text. Type the command to send.
- Input subfolder (Topic) in subfolder window. Click Send Command.
- Return to Niagara console and view the AX property Sheet of the device. Expand Points and the output of the subscribe point should be the text or message sent from the console.