Add custom MQTT add-on

Hi, I’ve some issues with adding custom add-on.
I use this instruction, but I dont see any changes in my add-on list. And I cant solve this issue.

Essentially, what you’ll want to do it:

  1. Develop your add-on somewhere.
  2. Copy or symlink your add-on into ~/.mozilla-iot/addons. Your directory name needs to match your package name, so you should end up with ~/.mozilla-iot/addons/zigbee2mqtt-adapter.
    • Side point: if you have a .git directory inside your add-on, checksums will be skipped, which makes things easy.
  3. Restart your gateway. On the RPi, this would be: sudo systemctl restart mozilla-iot-gateway
  4. Browse to Settings -> Add-ons in your UI. Your add-on should show up there. You’ll need to enable it.

If things still are not working, there should be some relevant things in the log file (~/.mozilla-iot/log/run-app.log.*).

1 Like