[FEATURE] Allow reference tags to receive backfill data from sources like MQTT tags

At the moment, if you have MQTT Engine connected to a device, and Ignition reference tags to reference the MQTT tags with history on, backfill data from MQTT doesn’t transfer to the reference tag if the connection to the MQTT device goes down.
If you enable history on the MQTT tag itself, then it backfills fine once connection to the MQTT device is re-established.

It would be great if this backfill data was transferred across to the tag(s) that reference it.

Idea: Allow reference tags to receive backfill data from sources like MQTT tags | Voters | Inductive Automation

5 Likes

That would be nice!

This is possible to impliment this via scripting,we have this feature working ,where the mqtt history of tag is backfilled and then is copied to any tag that references it.

This is build into Ignition now. I have tested this and seems to work perfectly.
You need to set this property on the MQTT Engine:


and this one on your reference tag provider:

So you’ve tested this with reference tags that reference mqtt tags, and the reference tags receive backfilled history in the case of a drop out?

So I updated to 4.0.9 from the Ignition modules download page and I can’t find the “Allow Back fill data”. Is there some version I’m not seeing? What version are you running of the engine and transmission?

Not built into MQTT, but built into the Ignition platform.

Exactly!!

It’s a setting on your tag provider.
I’m running 8.1.10 and 4.0.9.

OK, I’ve checked both boxes, and even restarted Ignition and still can’t get it to work. I’m just using the simulator on my desktop but running Ignition 8.1.11 and 4.0.9 of the plugins. To test it I just disabled the Engine which causes the Transmission to start storing the data. I let it sit for a bit and re-enalbed the Engine and my MQTT history fills in, but my tag referencing the MQTT tag never does.

Am I missing something else?