AWS SiteWise
7 min
review the aws sitewise integration guide docid\ dnuxdqfn7nn8alaibl0mq overview aws sitewise integration enables an edge system connection with amazon aws iot sitewise supported communication directions outbound publish data from edge to aws iot sitewise inbound subscribe to data from aws iot sitewise variable definitions variable details name name for the connector region aws region see aws iot sitewise endpoints and quotas https //docs aws amazon com/general/latest/gr/iot sitewise html to learn more access key aws access key secret key access aws secret access key subscribe interval time between fetching inbound messages (in seconds) number of batch messages maximum amount of outbound messages sent in one batch throttling limit maximum throughput counted in messages per second high precision timestamps (offsetinnanos) the aws iot sitewise connector supports high precision timestamps in the standard devicehub payload you can provide a timestamp object containing both timeinseconds and offsetinnanos fields this enables nanosecond level precision for asset property values sent to aws iot sitewise payload format to use high precision timestamps, include the timestamp object in your payload { "datatype" "float64", "description" "", "deviceid" "c250eebf 2611 47f8 b8b9 a27f084da3d7", "devicename" "sim", "metadata" {}, "registerid" "fdd88267 aabd 4118 a2ee 24e2d89cefb5", "success" true, "tagname" "tag1", "timestamp" { "timeinseconds" 1765387245162, "offsetinnanos" 0 }, "value" 0} where timeinseconds is the main timestamp in seconds (unix epoch time) offsetinnanos (optional) specifies a nanosecond offset for higher precision set to 0 if not needed considerations high precision timestamps allow for more accurate event ordering and data analysis in time sensitive applications high precision timestamps also allow for data transformation use analytics to convert devicehub standard timestamps, enrich data, or filter records before sending to aws iot sitewise note the following timeinseconds and offsetinnanos both map directly to the batchputassetpropertyvalue in aws iot sitewise offsetinnanos defaults to 0 when omitted configurations variable detail required name connector name yes region geographic area where amazon web services resources are hosted yes access key id unique identifier in aws iot sitewise used for authentication and, enabling secure and authorized access to the sitewise service for applications and entities yes secret access key a confidential authentication credential in aws iot sitewise used to securely access and interact with the sitewise service yes subscribe interval defines the time in seconds between consecutive data update notifications for a subscribed asset property specifies the frequency at which the system checks and receives updates on the specified property within the iot sitewise platform no number of batch messages the quantity of grouped data transmissions no throttling limit set a limit on the number of outbound messages per second ensures that no messages are lost when sending data to a server that has restrictions on the rate of incoming messages no persistent storage if enabled, messages in the outbound queue are stored on disk if there are interruptions in connection or power loss, messages are retained and eventually sent when the connection is restored no queue mode select the sequence of data transfer fifo or lifo fifo (first in first out) sends the earliest message first lifo (last in first out) sends the last message first no compatibility validation this information for reference more products and versions may be supported provided they are compatible with the supported version as mentioned above product version date aws amazon com aws sdk for go v2 (v1 21 0) 2023 07 31