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:
You’ll want to replace the
mqtt_server with the MQTT server address of your broker.
mqtt_pass will be your MQTT broker credentials (username and password).
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: