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

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

- Select MqttStringPublishPoint 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.
- Local Point: Enter the file path where the publish point is created.
- Topic: Enter the topic name as /devices/device_name/state, Enter the device name set in GCP console.
- Click OK. Navigate to AX property sheet of the point created.
- Navigate to Points > Proxy Ext > Set Value. Select any In slot and set value to desired text message. for example Hello World.
- Go to GCP Console, IoT Core > Devices and select the correct device in which the message was sent to. Select Configuration and State.
- In the Cloud Update section you should see a row with your message in base64 format.
- Click the row with the message, select text to see the message in text format.