Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
Status: bundled plugin direct-message channel using Synology Chat webhooks. The plugin accepts inbound messages from Synology Chat outgoing webhooks and sends replies through a Synology Chat incoming webhook.
Synology Chat ships as a bundled plugin in current OpenClaw releases, so normal packaged builds do not need a separate install.
If you are on an older build or a custom install that excludes Synology Chat, install it manually:
Install from a local checkout:
bashopenclaw plugins install ./path/to/local/synology-chat-plugin
Details: Plugins
openclaw onboardopenclaw channels addopenclaw channels add --channel synology-chat --token <token> --url <incoming-webhook-url>https://gateway-host/webhook/synologychannels.synology-chat.webhookPathopenclaw onboardopenclaw channels add --channel synology-chat --token <token> --url <incoming-webhook-url>Webhook auth details:
body.token?token=...x-synology-tokenx-webhook-tokenx-openclaw-tokenAuthorization: Bearer <token>Minimal config:
json5{ channels: { "synology-chat": { enabled: true, token: "synology-outgoing-token", incomingUrl: "https://nas.example.com/webapi/entry.cgi?api=SYNO.Chat.External&method=incoming&version=2&token=...", webhookPath: "/webhook/synology", dmPolicy: "allowlist", allowedUserIds: ["123456"], rateLimitPerMinute: 30, allowInsecureSsl: false, }, }, }
For the default account, you can use env vars:
SYNOLOGY_CHAT_TOKENSYNOLOGY_CHAT_INCOMING_URLSYNOLOGY_NAS_HOSTSYNOLOGY_ALLOWED_USER_IDSSYNOLOGY_RATE_LIMITOPENCLAW_BOT_NAMEConfig values override env vars.
SYNOLOGY_CHAT_INCOMING_URL.env.envdmPolicy: "allowlist"allowedUserIdsallowlistallowedUserIdsdmPolicy: "open"allowedUserIds: ["*"]dmPolicy: "open"allowedUserIds"*"dmPolicy: "disabled"user_idchannels.synology-chat.dangerouslyAllowNameMatching: trueopenclaw pairing list synology-chatopenclaw pairing approve synology-chat <CODE>Use numeric Synology Chat user IDs as targets.
Examples:
bashopenclaw message send --channel synology-chat --target 123456 --text "Hello from OpenClaw" openclaw message send --channel synology-chat --target synology-chat:123456 --text "Hello again"
Media sends are supported by URL-based file delivery. Outbound file URLs must use
httphttpsMultiple Synology Chat accounts are supported under
channels.synology-chat.accountsuser_idwebhookPathdangerouslyAllowInheritedWebhookPath: truechannels.synology-chatjson5{ channels: { "synology-chat": { enabled: true, accounts: { default: { token: "token-a", incomingUrl: "https://nas-a.example.com/...token=...", }, alerts: { token: "token-b", incomingUrl: "https://nas-b.example.com/...token=...", webhookPath: "/webhook/synology-alerts", dmPolicy: "allowlist", allowedUserIds: ["987654"], }, }, }, }, }
tokenallowInsecureSsl: falsedmPolicy: "allowlist"dangerouslyAllowNameMatchingdangerouslyAllowInheritedWebhookPathMissing required fields (token, user_id, text)Invalid tokenchannels.synology-chat.tokenRate limit exceededAllowlist is empty. Configure allowedUserIds or use dmPolicy=open with allowedUserIds=["*"].dmPolicy="allowlist"User not authorizeduser_idallowedUserIds© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine