Skip to content

Receiving values from a secure MQTT broker

Jan W edited this page Mar 18, 2021 · 1 revision

This example shows the configuration for a simple setup in which an OpenRGB profile name (such as 'WayneTower.orp') is consumed from an MQTT server that is secured with a username and password:

// allmylightsrc.json

{
  "Sources":  [{
    "Type" : "Mqtt",
    "Server": "192.168.168.1",
    "Port": 1883,
    "Username": "Bruce",
    "Password": "Wayne",
    "Topics": {
      "Result": "profiles/wayne/enterprises"
    }
  }],
  "Sinks": [{
    "Type": "OpenRGB",
    "Server": "127.0.0.1", 
    "Port": 6742
  }]
}