Plugins

Install Plugin

Installed Plugins

Loading...

Plugin Development

Create a ZIP with:

  • manifest.json — plugin metadata
  • check.js — server-side check (optional)
  • widget.js — client-side widget (optional)

manifest.json example:

{
  "id": "my-plugin",
  "name": "My Plugin",
  "version": "1.0.0",
  "type": ["check", "widget"],
  "configSchema": [
    {"key": "apiUrl", "label": "API URL", "type": "string", "required": true}
  ]
}

check.js contract:

module.exports.run = async (device, config) => {
  // config is per-device config from plugin_device_config
  // return { alive: true, latencyMs: 42, extra: {} }
  return { alive: true, latencyMs: 10 };
};