Introducing Garadget integration for Homebridge, using MQTT

To get started, you’ll first want to set up your Garadget to use MQTT. The easiest way to do this is to long press the button on your Garadget and connect directly to it from a Web browser. From there, you’ll be able to enable MQTT. To see more on this, please refer to this thread.

Next, install the Homebridge plugin:
npm install homebridge-garadget-mqtt -g

Then set up your Homebridge config.json file accordingly:

{
  "platform": "GaradgetMQTT",

  "mqtt_server": "mqtt://serverAddress",
  "mqtt_user": "username",
  "mqtt_pass": "password",

  "accessories": [
      {
          "name": "Garadget",
          "statusTopic": "garadget/Garadget/status",
          "commandTopic": "garadget/Garadget/command"
      }
  ]
}

You’ll want to replace the mqtt_server with the MQTT server address of your broker. mqtt_user and mqtt_pass will be your MQTT broker credentials (username and password).

The statusTopic and commandTopic are the MQTT topics you set up in your Garadget configuration page. If you don’t have these options, then simply replace the second instance of Garadget in the topic with the device name you set up, so that it looks like this:

"statusTopic": "garadget/YourDeviceName/status"
and
"commandTopic": "garadget/YourDeviceName/command"

1 Like