Connect to Cogent
Cogent setting
Download the CogentDataHub installation package from the official Cogent website and install it according to the official documentation.
Start an EMQX broker instance locally with the start command:
./bin/emqx start
.Right-click on the Cogent icon in the system tray to open Cogent DataHub.
Open MQTT Broker and deselect
Enable MQTT Broker
.Open MQTT Client, select
Enable MQTT client connections
, clickAdd
button to add a new connection, select Sparkplug B, setType
toNon-primary application
, setHost Name/IP
tolocalhost
andPort
to1883
.
Neuron setting
Add a Sparkplug B application to the Neuron Northbound Application Manager.
Fill in the
Client ID
,Group ID
,Node ID
,Server Address
andServer Port
in Application Configuration, clickSubmit
and start the connection.Add the
Southbound devices
andGroups
to the Group list that you want to subscribe to.Click the
View Data
button on the Cogent DataHub main interface to see the test data being uploaded instantly.