Skip to content

JSON Configuration

Martin Patfield edited this page Nov 10, 2025 · 4 revisions

Using the Homebridge Config UI is the easiest way to set up this plugin. However, if you wish to do things manually then you will need to add the following to your Homebridge config.json:

{
  "name": "Easy MQTT",
  "accessories": [
    {
      "info": {
        "id": "string",
        "name": "string",
        "type": "string",
        "group": "string",
        "manufacturer": "string",
        "model": "string",
        "serialNumber": "string",
        "version": "string"
      },
      "mqtt": {
        "broker": "string",
        "username": "string",
        "password": "string",
        "options": "string",
        "onConnect": [
          {
            "topic": "string",
            "message": "string",
          }
          
        ]
      },
      "history": {
        "enabled": true,
        "disableRepeatLastData": false,
        "size": 4032,
      },
      "customCharacteristics": [
        {
          "uuid": "string",
          "name": "string",
          "getTopic": "string",
          "units": "string",
        }
        
      ],
      "resetOnRestart": false,
      "disableLogging": false,
      … // See Topics & Values below for additional attributes for each accessory type
  ],
  "verbose": false,
  "platform": "HomebridgeEasyMQTT"
}

Clone this wiki locally