Skip to content

Plugin file

Plugin configuration file
{
  "name": "ttn",
  "version": "1.0.0",
  "description": "Plugin for integrating Thinger.io with TTN",
  "author": "Thinger.io",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/thinger-io/plugins.git",
    "directory": "ttn"
  },
  "metadata": {
    "name": "The Things Stack",
    "description": "The Things Stack Integration",
    "image": "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/ttn-stack/img/ttn-stack-logo.png",
    "icon": "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/ttn-stack/img/ttn-stack-icon.png"
  },
  "tokens": {
    "ttn_plugin": {
      "name": "Access from TTN plugin to Thinger.io account",
      "allow": {
        "Device": {
          "*": [
            "AccessDeviceResources",
            "CreateDeviceProperty",
            "ReadDeviceProperty"
          ]
        },
        "Plugin": {
          "ttn": "*"
        }
      }
    },
    "ttn_plugin_callback": {
      "name": "Access from ttn to Uplink callback",
      "allow": {
        "Plugin": {
          "ttn": [
            "CallPluginEndpoint"
          ]
        }
      }
    }
  },
  "task": {
    "type": "docker",
    "image": "thinger/ttn-plugin",
    "port": 3000
  },
  "interface": {
    "main": {
      "proxy_to": {
        "plugin": "ttn",
        "port": 3000
      }
    }
  }
}