How to connect SYMPHOLIGHT with the BACnet Gateway (Quickstart MQTT Configuration)

How to connect SYMPHOLIGHT with the BACnet Gateway

(Quickstart MQTT Configuration)


In Sympholight set a Web Server Network Interface and set the Web Server credentials:



Sympholight Workflow example defining two double values which are sent via MQTT:




Use those settings also for the Gateways MQTT configuration.
Encryption has to be activated.

Important: the default Port is 8883 (for TLS encrypted connection) and 1883 for unencrypted connection
The port can be changed in the sympholight settings file “C:\ProgramData\ecue\config\Ecue.Sympholight.Backend.json”.
Add a line like "LocalBroker:WithEncryptedTcp": "8883",




Settings for subscribing on the two example double values:

On the Gateway choose MQTT --> Files


Select the Edit button for “mqtt1.txt”

Add this to the file:


[X subscribe sympholight/slcpuload]

name = SympholightCPULoad

query = pe

format = topic:sympholight/slcpuload FLOAT32


[X subscribe sympholight/slmemoryusage]

name = SympholightMemoryUsage

query = pe

format = topic:sympholight/slmemoryusage FLOAT32


See also https://wiki.mbs-software.info/doku.php?id=mqtt&s[]=mqtt

Select the Edit button for “dispatch.txt”

Add this to the file:


# CPU load

[1630 mqtt subscribe sympholight/slcpuload]

target = 940 bac local.BI 1120


# memory usage

[1630 mqtt subscribe sympholight/slmemoryusage]

target = 940 bac local.BI 1130



Check, if the numbers (1120 and 1130 in our example)  are already existing in the file. If yes, choose other numbers, e.g. 1140, 1150.


Switch to BACnet --> Files



Select the Edit button for “bac1.txt”

Add this to the file:

[Y local.BI 1130]

name = SympholightMemoryUsage

query = pe

writecache = yes

bac_description = slmemoryusage


[Y local.BI 1120]

name = SympholightCPULoad

query = pe

writecache = yes

bac_description = slcpuload


Select the Edit button for “dispatch.txt”

Add this to the file:


# CPU load

[1630 mqtt subscribe sympholight/slcpuload]

target = 940 bac local.BI 1120


# memory usage

[1630 mqtt subscribe sympholight/slmemoryusage]

target = 940 bac local.BI 1130



Switch to MQTT --> Status

Here the new topics can be found.