Skip to content

JSON SCADA MQTT Client #44

Answered by riclolsen
barsicepy asked this question in Q&A
Sep 13, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi,

You need to configure a driver instance and run the driver process with a parameter if the instance is not 1. If you need just one instance, keep it as 1. Driver instances are counted separately for each driver type. So you can have instance 1 for MQTT and instance 1 for IEC104 at the same time.

Use this in the command prompt to see logs (stop MQTT driver service first).

cd \json-scada\src\mqtt-sparkplug
c:\json-scada\platform-windows\nodejs-runtime\node.exe index.js

If your instance is 2, run with a parameter

c:\json-scada\platform-windows\nodejs-runtime\node.exe index.js 2

When it works you need to recreate the Windows service accordingly (with the parameter if needed).

Best regards,

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@barsicepy
Comment options

@riclolsen
Comment options

@barsicepy
Comment options

@riclolsen
Comment options

Answer selected by riclolsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants