Edge
Edge Agent
What a Factory+ Edge Agent must do to collect data from devices and publish it over Sparkplug, and how it is configured.
An Edge Agent reads data from shop-floor devices and publishes it to Factory+ as Sparkplug B messages over MQTT.
The agent sits beside the machines it reads. Whatever protocol a device speaks, it appears to consumers in the same way, as a Sparkplug device whose metrics follow a published schema, carry Factory+ identifiers and are published only when they change.
An Edge Agent holds no configuration of its own. It reads its configuration from the Configuration Store when it starts and whenever it is told to reload. An agent can therefore be replaced, restarted or moved without losing anything.
An Edge Agent does not talk to devices directly. Each southbound connection is handled by a separate driver, which talks to the agent over the driver protocol. A new device protocol needs a new driver and no change to the agent.
graph LR
D1[Device] -- "device protocol" --> DR1[Driver]
D2[Device] -- "device protocol" --> DR2[Driver]
DR1 -- "driver protocol" --> EA[Edge Agent]
DR2 -- "driver protocol" --> EA
CS[Configuration Store] -- "configuration" --> EA
CE[Command Escalation] -- "NCMD / DCMD" --> MQ
EA -- "Sparkplug B, report by exception" --> MQ[MQTT broker]
The key words MUST, SHOULD and MAY follow RFC 2119, as described on the service specification page.
Summary of requirements
An Edge Agent:
- MUST be a Sparkplug B 3.0 edge node. It publishes NBIRTH, NDEATH, DBIRTH, DDEATH and DDATA as the Sparkplug specification requires, with the Factory+ Sparkplug conventions.
- MUST authenticate to Factory+ as its own principal.
- MUST publish under the Sparkplug address recorded for that principal.
- MUST read its configuration from the Configuration Store under the Edge Agent configuration application.
- MUST NOT depend on configuration held only on the edge device.
- MUST NOT require secrets to be stored in its configuration.
- MUST accept secrets at runtime in place of placeholders.
- MUST publish data by exception.
- MAY suppress small changes with a per-metric deadband.
- MUST publish the node metrics of the Edge_Agent schema.
- MUST answer the
Node Control/RebirthandNode Control/Reload Edge Agent Configcommands. - MUST publish metric names that follow the device’s schema, written as
/-separated paths with no leading slash. - SHOULD reach devices through drivers that use the driver protocol.
- SHOULD be ephemeral and idempotent. Starting it again with the same configuration gives the same Sparkplug output.
Identity
An Edge Agent is a principal like any other Factory+ client. It has a principal UUID and a Kerberos identity, as described under authentication. Its Sparkplug address is a group and a node. The address is held in the Configuration Store in the Sparkplug Address application, with the agent’s principal UUID as the object.
When it starts, an Edge Agent:
- asks the Auth service who it is with
GET /v2/whoami, which returns its principal UUID, - reads its Sparkplug address for that UUID from the Sparkplug Address application, as a JSON object with
group_idandnode_id, - finds the MQTT broker and the other services it needs through the Directory, and
- connects to the MQTT broker with its own credentials.
The MQTT broker lets a principal publish only under the Sparkplug address its grants allow. A publish under any other address is refused. The agent’s principal UUID is also its Sparkplug node’s Instance_UUID.
Configuration
An Edge Agent’s configuration is a single JSON document. It is held in the Configuration Store under the Edge Agent configuration application. The object UUID of the entry is the agent’s principal UUID. Each agent therefore reads exactly one entry.
GET /v2/app/aac6f843-cfee-4683-b121-6943bfdf9173/object/<agent principal UUID>
An Edge Agent MUST read this entry when it starts. It MUST read it again when it receives Node Control/Reload Edge Agent Config. It MUST publish the ETag of the entry it is using as the Config_Revision node metric. Anyone can then compare the revision an agent is running with the revision in the Configuration Store. When the agent has no configuration, it publishes the null UUID 00000000-0000-0000-0000-000000000000 as Config_Revision.
If there is no entry for the agent, or the entry cannot be used, the agent MUST still come online as a Sparkplug node with no devices. It MUST raise the Config_Unavailable or Config_Invalid alert from its node metrics. An operator can then see the problem in the node’s birth certificate without access to the agent’s logs.
The configuration is written by a user interface, a script or another service. The writer builds it from the Factory+ model: the device’s schema and the mapping from schema metrics to device addresses. That model is held per device in the Device information entry. The Edge Agent reads only its own configuration document.
Document shape
The configuration document is a framework contract. Because every writer and every agent keeps the rules below, a configuration written by one implementation runs on another implementation’s agent.
- Any tool that writes the document MUST produce the shape below.
- Any Edge Agent MUST accept that shape.
- An agent MUST ignore keys it does not recognise at every level.
- A writer MUST NOT rely on an agent acting on keys that this page does not define.
In the tables, a key marked “yes” MUST be present, and a key marked “no” MAY be left out.
The document is a JSON object with two top-level keys.
| Key | Type | Required | Meaning |
|---|---|---|---|
sparkplug | object | no | Node settings. The only key defined is compressPayload, a boolean that sets the initial value of Node Control/Payload Compression. When it is absent the agent does not compress. |
deviceConnections | array | no | One entry for each southbound connection, in the form below. When it is absent or empty the agent comes online with no devices. |
Each connection describes one driver and the devices it serves.
| Key | Type | Required | Meaning |
|---|---|---|---|
name | string | yes | The connection’s name, shown to operators and used in the Connection/<name> alert. |
uuid | string | no | The connection’s UUID. A writer SHOULD give one, because it identifies the connection across changes to its name. |
connType | string | yes | "Driver" for a connection served by a driver over the driver protocol. It is the only value the framework defines. An implementation MAY define other values for connections built into its agent. An agent MUST NOT start a connection whose type it does not support. It SHOULD raise a Connection/<name> alert for that connection. |
driverId | string | no | The connection name the driver uses on the driver protocol. When it is absent the agent uses name. |
DriverDetails | object | yes, for Driver | The driver configuration, passed to the driver unchanged on its conf topic. Its contents are defined by the driver. |
pollInt | integer | no | The polling interval for the connection’s devices, in milliseconds. When it is absent the devices are never polled. |
payloadFormat | string | yes, for Driver | The format of the data packets the driver sends. It is one of the names in Payload formats and paths. |
delimiter | string | yes, for Delimited String | The field separator, one character long. |
devices | array | yes | The Sparkplug devices served by this connection, in the form below. It MAY be empty. |
Each device is one Sparkplug device.
| Key | Type | Required | Meaning |
|---|---|---|---|
deviceId | string | yes | The Sparkplug device ID. It MUST be unique within the agent and MUST NOT contain +, # or /. |
deviceType | string | no | The UUID of the device’s top-level schema. A writer SHOULD give it. A reader of the document can then tell the device’s schema without reading its tags. The agent does not use it. |
pubInterval | integer | no | If non-zero, the agent collects changed values and publishes them as one DDATA every pubInterval milliseconds. If zero or absent, it publishes each change as it is read. |
recordToHistorian | boolean | no | If false, every metric of the device is published as transient and historians do not record it. When it is absent each metric follows its own recordToDB. |
templates | array | no | Sparkplug template definitions, each an object with a name and a value whose metrics are the template’s metrics. |
tags | array | yes | The device’s metrics, in the form below. |
Each tag is one Sparkplug metric. The tag fields come from the fields of the device schema’s metric definition. The agent therefore publishes exactly the metrics the schema describes.
| Tag key | Schema field | Required | Meaning |
|---|---|---|---|
Name | the metric’s path in the schema | yes | The metric name, such as Phases/1/Voltage, with no leading slash. |
type | Sparkplug_Type | yes | The Sparkplug type name, such as Double, Int16 or UUID. A numeric type MAY carry a BE or LE suffix, such as Int16BE. The suffix sets the byte order used to read the value from binary data. The agent removes the suffix before it publishes the metric. |
method | Method | yes | GET for a value that is read, PUT for one that is written, or a comma-separated combination such as GET,PUT. |
address | Address | no | The address on the driver that supplies the value, in the driver’s own format. A tag with no address is not read from the driver. |
path | Path | no | Where the value sits inside the data packet for that address. Its form depends on the connection’s payload format. |
value | Value | no | A fixed value, used for constants such as Schema_UUID and Instance_UUID. |
engUnit, engLow, engHigh | Eng_Unit, Eng_Low, Eng_High | no | The engineering unit and range. |
deadBand | Deadband | no | The metric’s deadband, as a number or a string. |
recordToDB | Record_To_Historian | no | Unless it is true, the metric is published as transient. |
tooltip, docs | Tooltip, Documentation | no | Descriptive text. |
The agent publishes method, address, path, the engineering unit fields, deadband, tooltip and documentation as metric properties in the birth certificate. These properties follow the Sparkplug conventions.
Every object in the schema tree contributes its Schema_UUID and Instance_UUID as constant tags. This includes the device itself. A consumer can then resolve the schema of any part of the device from its birth certificate. The device’s ISA-95 placement is written into the Device_Information/ISA95_Hierarchy metrics when the configuration is built.
Payload formats and paths
The driver protocol carries each address’s data as a binary packet. The connection’s payloadFormat tells the agent how to decode the packet. Each tag’s path picks a value out of it.
| Payload format | Packet | path |
|---|---|---|
JSON | One JSON value. | A JSONPath expression. An empty path takes value from a decoded-value packet. |
JSON (Batched) | A JSON array of objects, each giving one sample of the metric, or a single JSON object read as JSON. | A JSONPath expression applied to each item, or empty to take each item’s value. |
XML | An XML document. | An XPath expression. |
Delimited String | Text split by delimiter. | The index of the field. |
Buffer | Raw bytes. | The byte offset, optionally followed by : and a bit number for a Boolean. |
A JSON packet MAY carry a timestamp in milliseconds. A timestamp in seconds is converted to milliseconds by the agent. The packet MAY also carry a timestampNs string in nanoseconds, which takes precedence over timestamp. A value without a timestamp is stamped with the time the agent received its packet.
A connection served by a driver MUST name one of these formats. The value Defined by Protocol is reserved for connections built into an agent, which decode values themselves. A driver connection with that format gives no values. An agent SHOULD warn about such a connection when it starts.
Example
{
"sparkplug": { "compressPayload": false },
"deviceConnections": [
{
"name": "Line1_PLC",
"uuid": "0b6c3a52-4e2f-4d0b-9a77-3c2f5d1e8a40",
"connType": "Driver",
"DriverDetails": {
"baseURL": "https://plc.example.com/api",
"username": "reader",
"password": "__FPSI__5ec2e7a0-1b2c-4d3e-8f90-a1b2c3d4e5f6"
},
"pollInt": 1000,
"payloadFormat": "JSON",
"devices": [
{
"deviceId": "Line1_Spindle",
"deviceType": "2dd093e9-1450-44c5-be8c-c0d78e48219b",
"pubInterval": 0,
"recordToHistorian": true,
"templates": [],
"tags": [
{ "Name": "Schema_UUID", "type": "UUID", "method": "GET",
"value": "2dd093e9-1450-44c5-be8c-c0d78e48219b", "recordToDB": true },
{ "Name": "Instance_UUID", "type": "UUID", "method": "GET",
"value": "6f1d2c3b-8a7e-4f6d-9c5b-4a3e2d1c0b9a", "recordToDB": true },
{ "Name": "Spindle/Speed", "type": "Double", "method": "GET",
"address": "spindle", "path": "$.speed",
"engUnit": "rpm", "engLow": 0, "engHigh": 24000,
"deadBand": "0.5%", "recordToDB": true }
]
}
]
}
]
}
The schema and instance UUIDs in this example are placeholders. The keys of DriverDetails are whatever the chosen driver defines.
Device information
The Device information entry records one device’s agent, connection, schema and origin map.
The entry is held in the Configuration Store under the Device information application. The object of the entry is the device’s UUID. That UUID is a member of the Sparkplug Device class 18773d6d-a70d-443a-b29a-3f1583195290.
GET /v2/app/a98ffed5-c613-4e70-bfd3-efeee250ade5/object/<device UUID>
The Edge Agent configuration is built from this entry. A tool that manages devices writes it. A configuration generator turns the entries of every device on an agent into that agent’s configuration document. Services that need a device’s structure before its first birth also read the entry, among them Data Access and the i3X server. The Edge Agent itself never reads it.
The entry is a framework contract, like the configuration document. A reader MUST ignore keys it does not recognise at every level.
Entry shape
The entry is a JSON object.
| Key | Type | Required | Meaning |
|---|---|---|---|
node | string | yes | The principal UUID of the Edge Agent that serves the device. |
connection | string or null | yes | The UUID of the connection that serves the device. It matches the uuid of a connection in that agent’s configuration. It is null until a connection is chosen. |
sparkplugName | string | yes | The device’s Sparkplug device ID. It MUST meet the rules for deviceId above. A reader MAY use it to find the device’s UNS topics before the device has published. |
schema | string or null | yes | The UUID of the device’s top-level schema. It is null until a schema is chosen. |
originMap | object or null | yes | The device’s origin map, in the form below. It is null until the device’s metrics are configured. |
recordToHistorian | boolean | no | If false, historians record none of the device’s metrics. When it is absent each metric follows its own Record_To_Historian. |
createdAt | string | no | When the entry was created, as an ISO 8601 date and time. It is for information only. |
The origin map
The origin map is an instance of the device’s schema with this device’s values filled in. Its keys follow the properties of the schema. Inside a collection, the keys are the names chosen when the device was configured.
Each value in the origin map is read by these rules.
- The root object MUST hold
Schema_UUID, equal toschema. It MUST holdInstance_UUID, equal to the device’s UUID. - An object with a
Sparkplug_Typekey is a metric. Its keys are the fields of the Metric schema:Sparkplug_Type,Record_To_Historian,Method,Address,Path,Value,Eng_Unit,Eng_Low,Eng_High,Deadband,TooltipandDocumentation. A metric MAY also hold its ownSchema_UUIDandInstance_UUID. - An object with no
Sparkplug_Typeand aSchema_UUIDis a sub-object. A sub-object is an instance of another schema. It MUST hold anInstance_UUID. - An object with neither key is a folder. It adds a level to the metric names and has no identity of its own.
- Any other value has no meaning. Readers MUST ignore it.
A metric’s name is the keys from the root down to the metric, joined with /. A metric at Axes then X then Position then Actual is named Axes/X/Position/Actual.
Every Instance_UUID in the origin map MUST be unique within it. A writer SHOULD keep each Instance_UUID the same when it edits the map. Other services refer to parts of the device by Instance_UUID. A changed UUID breaks those references.
If a writer changes a device’s schema, it MUST also replace the origin map with one that fits the new schema, or set the map to null. The old map describes the old schema.
The device’s ISA-95 placement does not come from the origin map. An origin map MAY hold a Hierarchy-v1 object, for example at Device_Information/ISA95_Hierarchy. The generator replaces that object with the rendered placement. A reader MUST NOT take a device’s placement from its origin map.
Building the configuration
A configuration generator MUST build each device’s entry in the configuration document from its Device information, as follows.
- The device goes into the
devicesof the connection named byconnection, in the configuration of the agent named bynode. deviceIdSHOULD besparkplugName.deviceTypeis the origin map’s rootSchema_UUID, orschemawhen the origin map is null.recordToHistorianisfalseonly when the entry’srecordToHistorianisfalse.- Each metric gives one tag. The tag’s
Nameis the metric’s name. Its other keys come from the metric’s fields as the tag table shows. A metric withoutMethodgivesGET. A metric withoutRecord_To_HistoriangivesrecordToDBfalse. - Each
Schema_UUIDandInstance_UUIDin the origin map gives one constant tag of typeUUIDand methodGET, withrecordToDBtrue. The tag is named after the key, prefixed with the path of the object that holds it, such asAxes/X/Instance_UUID.
A device whose origin map is null has no metrics to publish. A generator MAY still list it, with a single Schema_UUID tag when schema is set.
When a Device information entry changes, the generator MUST rebuild the configuration of the agent it names. The agent then picks up the change as described under Keeping configuration current.
Readers
A reader MUST treat a device with no entry, or with a null origin map, as a device with no configured metrics.
Data Access walks the origin map to list a device’s metrics and to resolve dataset references. It counts a metric only if its Record_To_Historian is true. A reference names the nearest enclosing object that has an Instance_UUID and the metric’s path below that object.
The i3X server builds its object tree from the origin map. Sub-objects become branches and metrics become leaves. The server takes the device’s type from schema. It takes the device’s display name from its General Information name, or from sparkplugName if there is no name.
Device information example
{
"node": "4a1b7c2e-9d3f-4e8a-b6c5-2f1e0d9c8b7a",
"connection": "0b6c3a52-4e2f-4d0b-9a77-3c2f5d1e8a40",
"sparkplugName": "Line1_Mill",
"schema": "2dd093e9-1450-44c5-be8c-c0d78e48219b",
"createdAt": "2026-11-02T09:14:00.000Z",
"originMap": {
"Schema_UUID": "2dd093e9-1450-44c5-be8c-c0d78e48219b",
"Instance_UUID": "6f1d2c3b-8a7e-4f6d-9c5b-4a3e2d1c0b9a",
"Axes": {
"X": {
"Schema_UUID": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
"Instance_UUID": "9e8d7c6b-5a4f-4e3d-8c2b-1a0f9e8d7c6b",
"Position": {
"Actual": {
"Sparkplug_Type": "DoubleLE",
"Record_To_Historian": true,
"Method": "GET",
"Address": "axis_x",
"Path": "$.position",
"Eng_Unit": "mm",
"Eng_Low": 0,
"Eng_High": 800,
"Deadband": "0.01",
"Documentation": "Measured position of the X axis"
}
}
}
}
}
}
Here 6f1d2c3b-... is the device’s UUID. The generator turns this entry into the tags Schema_UUID, Instance_UUID, Axes/X/Schema_UUID, Axes/X/Instance_UUID and Axes/X/Position/Actual. Data Access refers to the metric as instance 9e8d7c6b-... with the metric path Position/Actual. As in the earlier example, the UUIDs are placeholders.
Secrets
Anyone with read access to the Edge Agent configuration application can read the configuration document. The document MUST NOT hold passwords or keys.
Wherever a secret belongs, the document holds a placeholder instead. A placeholder is the string __FPSI__ followed by a UUID in lower case. The UUID is written either as 36 characters with hyphens or as 32 hexadecimal characters with none, for example __FPSI__5ec2e7a0-1b2c-4d3e-8f90-a1b2c3d4e5f6. The UUID is the name of the secret. A writer SHOULD choose a new random UUID for each secret. A placeholder MAY appear in any string value, at any position. A secret can therefore form part of a longer string such as a URL.
Before it uses the configuration, an Edge Agent MUST replace every placeholder with the secret of that name. The secrets are supplied to the agent at runtime by its deployment. How they reach the agent is implementation-defined.
If a secret is missing, the agent MUST NOT pass the placeholder on as if it were the secret. It MUST raise Config_Invalid. It SHOULD wait for the missing secret to arrive and then load its configuration again, because a new agent can start before its secrets have been delivered.
Sparkplug behaviour
Births and deaths
An Edge Agent publishes its NBIRTH when it connects to the broker, with an NDEATH registered as its MQTT will. It publishes a DBIRTH for each device once the device’s driver reports that its southbound connection is up. It publishes a DDEATH when the driver reports that the connection has failed. The driver reports both through the connection lifecycle. A device’s birth and death therefore show whether data from that device is flowing, not only whether the agent is running.
Every NBIRTH and DBIRTH payload carries the Factory+ UUID 11ad7b32-1d32-4c4a-b0c9-fa049208939a in its payload uuid field. The UUID marks the payload as following the Factory+ conventions. Births carry metric names, aliases and properties. DDATA carries aliases only. The Sparkplug conventions also define the Schema_UUID and Instance_UUID metrics, transient metrics, metric properties such as engUnit, and the rebirth rules.
Timestamps
An Edge Agent publishes metric and payload timestamps in nanoseconds since the Unix epoch. This Factory+ convention departs from Sparkplug B, which uses milliseconds. A consumer tells the two apart as described in Sparkplug conventions. A value read from a device keeps the timestamp the driver gave it, at the precision the driver gave it.
Metric names
Metric names are the /-separated path of the metric in the device’s schema, with no leading slash, such as Phases/1/Voltage. An Edge Agent MUST NOT publish device metrics that the device’s schema does not define, apart from the device controls listed below.
Report by exception and deadbands
An Edge Agent MUST publish a metric’s value only when it has changed. A new value is published when:
- it is a value (not null or empty),
- it differs from the metric’s current value, and
- it differs from the last published value by at least the metric’s deadband, if the metric has one.
A deadband stops a value that wanders by small amounts from being published on every read. It is set per metric by the Deadband field of the metric schema, in one of two forms:
- a positive number, such as
0.5, which is an absolute change in the metric’s own units, or - a percentage, such as
1.5%, which is that share of the range fromEng_LowtoEng_High.
An Edge Agent MAY support deadbands. An agent that does MUST compare each new value with the last value it published, not the last value it read. A slow drift is then still published once it adds up to the deadband. A deadband applies only to numeric types.
A deadband that cannot be used MUST be treated as no deadband, and the metric then publishes every change. A deadband cannot be used if it is not a number, if it is zero or negative, or if it is a percentage without a valid range.
For example, a temperature metric with Eng_Low 0, Eng_High 200 and Deadband 1% has a deadband of 2. After the agent publishes 50.0, readings of 50.8, 51.5 and 51.9 are not published. A reading of 52.1 is published, because it differs from 50.0 by more than 2.
Polling and publishing
The Edge Agent decides how often a device is read. For each device, it asks the driver to read the device’s addresses every pollInt milliseconds with the poll message of the driver protocol. A device with no polling interval is never polled. If a device pushes data without being asked, its driver publishes the data whenever it arrives. A device can therefore combine polled and pushed data.
When a device has a non-zero pubInterval, the agent collects changed values and publishes them together every pubInterval milliseconds. Otherwise it publishes changes as they are read. An agent MAY gather values that arrive together from a driver into one DDATA. This keeps Sparkplug traffic low when a driver reports many addresses at once.
Writing to devices
A DCMD to a device metric asks the agent to write a new value to the device. The agent looks up the metric’s address and sends the value to the driver as a driver protocol write. The agent MUST write only to addresses in the driver’s current address configuration.
After a write, the agent reports the new value in DDATA. A driver confirms writes when it uses typed writes with result answers. For such a driver, the agent MUST report the value only when the driver says it was written, and MUST leave the old value in place if the write fails or is not answered.
Commands normally reach an Edge Agent through Command Escalation. Command Escalation checks that the requester may send the command before it publishes the NCMD or DCMD.
Node metrics
An Edge Agent’s NBIRTH follows the Edge_Agent schema, Edge_Agent/Edge_Agent-v1. The schema defines every metric in the table below, including the Node Control metrics. It requires Schema_UUID, Instance_UUID, Config_Revision and Alerts.
| Metric | Type | Meaning |
|---|---|---|
Schema_UUID | UUID | 15360868-2f35-4b52-990b-49329fb246fe, the Edge_Agent schema. |
Instance_UUID | UUID | The agent’s principal UUID. |
Config_Revision | UUID | The ETag of the configuration entry in use, or the null UUID if there is none. |
Alerts/Config_Unavailable/... | Alert | Active when the configuration could not be fetched. |
Alerts/Config_Invalid/... | Alert | Active when the configuration could not be used, including when a secret is missing. |
Alerts/Connection/<name>/... | Alert | Optional. One for each connection the agent could not start. <name> is the connection name with every character other than a letter, digit or underscore replaced by _. |
Node Control/Rebirth | Boolean | Command. Republish NBIRTH and a DBIRTH for every device that is up. |
Node Control/Reload Edge Agent Config | Boolean | Command. Stop, read the configuration from the Configuration Store again and start again with it. Clients send it through Command Escalation with the Reload Edge Agent Config permission. |
Node Control/Payload Compression | Boolean | Optional. Whether the agent compresses its Sparkplug payloads, from compressPayload in its configuration. |
Each alert is a set of metrics under its prefix. The set follows the Alert schema, 8853aa15-2228-4309-b98e-e086cefbc72c. For example, Alerts/Config_Invalid is published as these metrics:
Alerts/Config_Invalid/Schema_UUIDAlerts/Config_Invalid/Instance_UUIDAlerts/Config_Invalid/Type, the alert type UUIDAlerts/Config_Invalid/Active, a Boolean
Consumers find and read alerts as described in alerts and links. An Edge Agent SHOULD give each alert an Instance_UUID that stays the same across restarts. Consumers can then follow one alert over time. The reference implementation makes it a version 5 UUID in the Factory+ namespace, 11ad7b32-1d32-4c4a-b0c9-fa049208939a. The name it hashes is the string 8a4dc2f4-2f9f-45fc-b2e9-ed7b9cda6145:<agent UUID>:Alerts/<name>.
An Edge Agent MAY publish other node metrics. Examples are Node Properties/Type, which describes the implementation, and further Node Control/... commands. A consumer MUST NOT rely on metrics that the Edge_Agent schema does not define.
Device controls
Each device’s DBIRTH also carries these metrics. They are not part of the device’s schema.
| Metric | Type | Meaning |
|---|---|---|
Device Control/Rebirth | Boolean | Command. Republish this device’s DBIRTH. |
Device Control/Polling Interval | UInt16 | The device’s polling interval in milliseconds, for information. |
Device Control/Publish Interval | UInt16 | The device’s publish interval in milliseconds, for information. |
An Edge Agent MUST answer Device Control/Rebirth. It MAY publish further Device Control/... metrics, such as Device Control/Reboot. All device control metrics are transient.
The two interval metrics report the configured values. They MAY be read-only, because the configuration in the Configuration Store is the authority and a change made only on the agent would be lost on the next reload.
Keeping configuration current
The Configuration Store holds the configuration an agent should be running. Config_Revision shows the configuration it is running. Some component of the system SHOULD compare the two. When they differ, that component SHOULD ask the agent to reload by sending Node Control/Reload Edge Agent Config through Command Escalation.
The component needs a grant of the Reload Edge Agent Config permission, 6335f100-e68e-4e4d-b46d-85b42f85a036, on the agent. Which component does this is implementation-defined. Because the reload is driven from the central side, an agent that misses a change while it is offline still picks it up when it comes back.
Drivers
Each connection in the configuration is served by one driver over the driver protocol. The agent passes the driver its DriverDetails and the addresses its devices use. It asks the driver to read those addresses on each device’s polling interval, decodes the data the driver returns into metrics and sends the driver writes. Because a driver has no Factory+ identity of its own, everything it needs from Factory+ comes through the agent.
A driver MAY also list the addresses its device offers through device discovery. An operator can then choose addresses when mapping a schema to a device.
Well-known UUIDs
aac6f843-cfee-4683-b121-6943bfdf9173a98ffed5-c613-4e70-bfd3-efeee250ade58e32801b-f35a-4cbf-a5c3-2af64d3debd715360868-2f35-4b52-990b-49329fb246fe8853aa15-2228-4309-b98e-e086cefbc72cc414c68b-5014-4e46-a0b4-d5f7f8df1d9f99c54cb2-2bb9-45c8-88f9-c1a0f792cfd6633a7da3-ea2a-4e3f-8e84-35691a07465f6335f100-e68e-4e4d-b46d-85b42f85a03611ad7b32-1d32-4c4a-b0c9-fa049208939a8a4dc2f4-2f9f-45fc-b2e9-ed7b9cda6145