Edge store and forward w/periodic data collection

What options are there for reliably collecting periodic data with an edge device while using store and forward? Basically, I’d like to have the functionality of transaction groups but on an edge device using store and forward to minimize data loss.

Current options that I see:

  • Tag Historian + Gateway Network connection
    • Enable tag history on tags of interest. Set sample mode to periodic.
    • Send data via gateway network to central gateway.
    • Use system.historian.queryRawPoints on a timer script to consume data on central gateway.
    • Insert data from historian into custom tables.
  • MQTT Transmission + MQTT Recorder
    • Set up Records for tags of interest in MQTT Transmission.
    • Use a timer script to query Recorder tables and insert into custom tables on central gateway.

Is Tag Historian reliable enough to do this? I also noticed when using system.historian.queryRawPoints that many of the timestamps were 00:00, which obviously causes issues when trying to record historian data into my own custom tables.

Edge doesn't support anything like transaction groups. The closest you can get is to use gateway messaging. You'd be completely on your own with a bespoke in-memory store and forward.

Buy a carefully trimmed standard license and deploy that instead. Really.

Understood about edge not supporting transaction groups. Why would Tag Historian or MQTT Recorder not be applicable for this? My understanding is that both of those support store and forward via the gateway network/MQTT Transmission.

It isn't store and forward like Standard has. It is not record-based at all. It even has a different name: Sync Services.

Would scripting writes into the historian on the Edge gateway work for this? Or are the sync services prone to data loss? Just trying to understand why this wouldn’t work for periodic data collection.

MQTT Recorder seems like the next best option, given that it allows for the creation of records.

Perhaps you should try.