Info |
---|
Google IoT Core was retired in the summer of 2023. Clearblade IoT Core provides a drop-in replacement for the MQTT Server endpoint. As a result, Clearblade IoT Core works with Cirrus Link's Google Cloud Injector and the Google Cloud. More information is available here: https://iot.clearblade.com. |
The Google Cloud Injector module provides the ability to push Tag data to a Cloud Clearblade IoT Core. The settings configuration for this module are located under the Configure tab of the Ignition Gateway web UI. Once in the configuration section there are four tabs: General, Cloud IoT Core, Sets, and Tag Agents. Each of these tabs is described in detail in the following sections.
...
The first tab contains the general settings for the Google Cloud Injector module.
Image Removed
Image Added
The general configurations options available on this tab are listed below:
...
The next tab is the list of Cloud IoT Core endpoints that the module should will connect to to push tag data.
Image Removed
. This is where data from the Tag Agents will be pushed.
Image Added
One or more Cloud IoT Core endpoints can be configured on this tab. The configuration options for a Cloud IoT Core connection are listed below.
...
- Setting Name
- This is a friendly name of the Cloud Clearblade IoT Core used Core used to easily identify it. This must also be unique.
- Enabled
- Whether or not this Injector Setting is enabled to push data to the endpoint
- MQTT Endpoint URL
- GCP Project ID
- The Google Cloud Platform project under which this device is provisioned
- GCP Cloud Region
- The Google Cloud Platform cloud region under which this device is provisioned
- GCP Registry ID
- The Google Cloud Clearblade Platform registry ID under which this device is provisioned
- GCP Device ID
- The Google Cloud Clearblade Platform device ID under which this device is provisioned
- Private Key File
- The private key file associated with the public key provisioned for the device in Google Cloud Platformin Clearblade Registry
- The key needs to be in PKCS8 format
- Algorithm
- The algorithm type used by the key file
- Set
- The Set this Cloud IoT Core Setting is associated with
...
- Store & Forward Enabled
- Whether to enable Store & Forward capbilities capabilities for this endpoint
- Store & Forward Type
- The type of the Store & Forward mechanism options: In_Memory and Disk_Backed (available in release 4.0.17 and higher)
- Data stored with an In_Memory Store & Forward will not be persisted across a module configuration change, module disable/enable, module restart or power loss
- Data stored with a Disk_Backed Store & Forward will persist across a module configuration change, module disable/enable, module restart or power loss
- Message Capacity - deprecated in 4.0.19
- The Maximum maximum number of messages to store before dropping the oldest historical messages
- History Max Size
- The maximum number of megabytes history can use before dropping the data
- In_Memory Store & Forward will use the Ignition Java Heap memory
- History Max Age - added in 4.0.19
- The maximum number of minutes to store history before dropping the data
- Flush Period
- The period of time to wait (in milliseconds) between sending when flushing messages
Advanced
- Port
- TCP Port number to use. Default is 8883
- Proxy Type
- The proxy type if a proxy server is being used. Default is NONE
- Options are NONE, HTTP, HTTPS
- Proxy Hostname
- The Proxy Hostname if a proxy server is being used
- Proxy Port
- The Proxy port number if a proxy server is being used
- Keep Alive
- The MQTT Keep Alive timeout for the MQTT Connection
- Max Message Size
- The maximum message size allowed for an MQTT message before the message will be broken up into smaller messages
- Max Throughput
- Maximum throughput per second in bytes. The modules will throttle messages to prevent exceeding this max limit. Default is 524,288
- Session Expiration
- The number of minutes before the session token expires. Default is 1440
Advanced Store & Forward
Image Added
- H2 Database Port
- TCP Port to connect to H2 Database for Disk_Backed Store & Forward
Clicking on the "Create new Cloud IoT Core Setting..." link will bring up the following form for adding a new Cloud Clearblade IoT Core endpoint.
Image Added
Image Removed
Image Added
Image Added
Sets
The Sets tab contains a list of Google Cloud Sets. Each set represents a grouping of Cloud Clearblade IoT Core endpoints. When a set is referenced by a Tag Agent the Agent will push Tag data to all Cloud Clearblade IoT Core endpoints contained within that Set. The Sets are disjoint, meaning that a single Cloud Clearblade IoT Core endpoint cannot endpoint cannot be in more than one set. Out of the box the Google Cloud Injector Cloud Injector module will have one "Default" set defined.
Image Removed
Image Added
Additional Sets can be configured for situations where multiple Tag Agents will need to push to different Cloud IoT Core endpoints. The configuration options for Sets are listed below.
Main
Image AddedName- This is the friendly name of the set used to easily identify it.
- Description
- This is a friendly description of the set.
- Push Policy
- This defines which endpoints to push to. If PUSH_TO_ALL is selected, every endpoint that is part of this set will receive all messages. If PUSH_TO_ANY is selected, only one of the endpoints that is part of this set will receive any given message. PUSH_TO_ANY is useful when adding endpoint configurations to increase the throughput of the Injector.
Clicking on the 'Create new Google Cloud Set...' link will bring up the following form to add a new Set.
...
Image Added
Tag Agents
Tag Agents are the workers within Google Cloud Injector that monitor tag events, convert them to a JSON representation, and push them to one or more Cloud Clearblade IoT Core endpoints. Out Out of the box the Google Cloud Injector module will have one "default" Tag Agent defined.
Image Removed
Image Added
Tag Agents are configured to point to a single folder. All Tags within that folder will be monitored by the Tag Agent.
Agent Settings
- Name
- A unique name for the tag agent.
- Enabled
- Sets whether the Tag Agent is enabled or disabled. If disabled, the Tag Agent will not run and no data will be pushed to any configured endpoints.
- Tag Provider Name
- The name of the Tag provider containing the tags.
- Tag Path
- An optional folder path under the Tag provider where the root folder of the Tags can be found.
- Push Trigger
- The trigger to use when pushing data. EVENT_DRIVEN (default) means to push on change events. PERIODIC means to push all data on a periodic basis.
- Tag Pacing Period
- The buffer period, in milliseconds, that Tag events will be aggregated into a single payload before pushing.
- Convert UDTs
- Whether to convert UDT members to normal Tags before publishing. If enabled the Tags representing the UDT member will retain their member path prefixed by the UDT Instance name.
- Publish UDT Definitions
- This can only be set if 'Convert UDTs' is false
- Whether or not to
include definitions - Definitions in the the NBIRTH
message - Optimize UDTs
- This can only be set if 'Convert UDTs' is false
- Whether or not to 'convert UDTs' only for DATA messages.
- Set
- The Set of Cloud Clearblade IoT Core endpoints that the Tag Agent will push to.
- Auto-discover Tags
- Whether newly added tags should be dynamically scanned and their values pushed. This field is disabled by default. It should remain disabled while manually editing tags and/or their configurations. It should only typically be enabled in systems where tags are created in real time.
Sparkplug Settings
- Group ID
- An ID representing a logical grouping of MQTT Edge Of Network (EoN) Nodes and Devices into the infrastructure.
- Edge Node ID
- An ID that uniquely identifies the MQTT Edge Of Network (EoN) Node within the infrastructure.
- Device ID
- An optional ID that uniquely identifies a Device within the infrastructure.
...
Clicking on the 'Create new Tag Agent Settings..' link will bring up the following form to add a new Tag Agent.
Image Added
Image Added
Image Removed