MQTT connection status

hi team,

Is there any function to check mosquito MQTT connection status from ignition.

whenever the message is not published or there is a connectivity drop i need to capture it.

What MQTT module(s) are you using in Ignition?

Hi. Old thread… I’m using ignition cloud with the MQTT modules. Is there a tag that tells me if my edge device is connected? In MQTT engine, the tag “node Info/Online” is always true until I reconnect the edge device when it turns false then back to true again.

Cheers

The Node Info/Online tag should show when the Edge is on/off line. What is the Edge implementation you are using?

Hi and thanks for the reply.

At the edge, I am using a Weintek HMI (cMT3072XH2) that supports Sparkplug B, MQTT 3.1.1.

I could resort to sending a “lifebit” signal to check if the edge device is still connected. I was hoping that the MQTT module in ignition would know that the device was connected.

I’m not familiar with the Weintek HMI but I do see they have not joined the Eclipse Sparkplug Working Group and passed the TCK. So, I don’t know that their implementation is correct. Engine relies on properly implemented Sparkplug features to denote when/if an Edge Node is offline. I would guess they probably aren’t using the Will Message or something similar properly…

Hi and thanks for the reply. Understood regarding Sparkplug implementation. I guess I might have to setup a “heart beat” tag.