Skip to content

Allow optional publishing of SCADAHostId STATE. - #5

Open
rpiper wants to merge 1 commit into
GeoSCADA:masterfrom
SignalFire-Telemetry:feature/OptionalHostSTATE
Open

Allow optional publishing of SCADAHostId STATE.#5
rpiper wants to merge 1 commit into
GeoSCADA:masterfrom
SignalFire-Telemetry:feature/OptionalHostSTATE

Conversation

@rpiper

@rpiper rpiper commented Nov 22, 2024

Copy link
Copy Markdown

This is useful when connecting as a secondary SCADA host that is not allowed to publish STATE messages, and should not be seen or known be EoN Nodes that are subscribed to the STATE topic.

If (string.IsNullOrEmpty(DBChannel.SCADAHostId)) then the STATE OFFLINE message will not be included as a DeathPayload in the LWT, and the STATE ONLINE will not be published after connecting.

This is useful when connecting as a secondary SCADA host that is not allowed to publish STATE messages,
and should not be seen or known be EoN Nodes that are subscribed to the STATE topic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant