Google Connector supports cloud to niagara communication via mqtt messages to control points remotely.

Send a point action command


  1. Go to the Google IoT Core view then choose the name of the device you want to send commands to. (make sure to use the commands topic not the config topic)


    You can change the command topic name in the connector configuration.



  2. By default we use this message template for POINT_ACTION  command. by you can use any format that meat your needs. check the connector advanced settings.
    1. This is the default command template.

      {
      	"type": "POINT_ACTION",
      	"deviceId": "AHU_01_u0SAYCUHda9VUZ5h5Z7nR",
      	"pointId": "Setpoint_v0SAYCUEtoUyS3P0df5kd",
      	"payload": {
      		"action": "SET",
      		"value": 23
      	}
      }
    2. This is the default connector point action command configuration.



  3. On the left chose send command.



  4. Then hit Send command.
  5. On the niagara you should see the point value applied successfully.



  6. And the new value sent to the cloud.

Send a send history command


You can pull historical value for any point that has a history associated by sending a SEND_HISTORY command.

  1. Add a history. extension to the point.



  2. Go to the cloud console and send the command to the device.



  3. By default we use this message template for send history command. by you can use any format that meat your needs. check the connector advanced settings.
    1. This is the default command template.

      {
      	"type": "SEND_HISTORY",
      	"deviceId": "AHU_01_u0SAYCUHda9VUZ5h5Z7nR",
      	"pointId": "Setpoint_v0SAYCUEtoUyS3P0df5kd",
      	"payload": {
      		"startDate": "2020-10-20T00:40:00.000+02:00",
      		"endDate": "2020-10-20T23:50:00.000+02:00"
      	}
      }
    2. This is the default connector send history command configuration.



  4. And you should see the messages being sent.



    To change the message format check the connector advanced setting then history message template




Send ack alarm command


You can ack alarms by sending an ACK_ALARM command to any alarm recipient device.

  1. By default we use this message template for ack alarm command. by you can use any format that meat your needs. check the connector advanced settings.
    1. This is the default command template.

      {
      	"type": "ACK_ALARM",
      	"payload": {
      		"uuid": "f698beca-c625-44ce-a8d8-5af9b9f46b1b"
      	}
      }
    2. This is the default connector send history command configuration.



  2. Go the alarms console and pick an unacked alarm id.



  3. Go to the alarm device and send the command.



  4. Go back to the console and you should see that the alarm has been acked.



Next Step


Step 6 Consume Data from IoT Core to Google BigQuery