thomassorensen2650 / node-red-contrib-mqtt-sparkplug-plus

A node that makes it simple to implement MQTT Sparkplug in Node-Red
23 stars 7 forks source link

Primary SCADA buffering #2

Closed kumaravel2312 closed 2 years ago

kumaravel2312 commented 2 years ago

Hi, on the instructions for the mqtt-sparkplug-broker, it says

"Enable Store Forward This will enable store forward if the Primary SCADA is offline

Destination This is the name of the Primary SCADA. If store forward is enabled and the STATE/[PRIMARY SCADA NAME] is OFFLINE, then data will be buffered until connection is reestablished."

I have setup the context but what does it mean by Primary SCADA? If I input a value (name) in the destination, the mqtt-sparkplug-device node never connects to my mqtt server and says destination offline.

Could you please point me in the right direction?

image

image

thomassorensen2650 commented 2 years ago

You can find the Sparkplug specification here: Sparkplug B

You need a complient Sparkplug B destination that sets a STATE/[WHATEVER NAME YOU DEFINE] to ONLINE before it will send data (this is all part of the Sparkplug specification) . If you don't have a destination system that supports that (e.g. Ignition, OSISoft PI or another system that supports this functionally) then you can't buffer this way, and you should keep that open unchecked.