← 返回
效率工具 中文

gateway-notify

Set up automatic notifications when OpenClaw gateway restarts. Use when user wants to be notified of gateway startup events via any messaging channel (iMessa...
在 OpenClaw 网关重启时自动发送通知,用于在网关启动时通过任意消息渠道(如 iMessa...)提醒用户。
deemoartisan
效率工具 clawhub v1.0.5 1 版本 99917.3 Key: 无需
★ 2
Stars
📥 1,168
下载
💾 16
安装
1
版本
#latest

概述

Gateway Notify

Automatically send notifications when the OpenClaw gateway starts up.

What It Does

Creates a hook that triggers on gateway:startup events and sends a notification message to the user's preferred channel with gateway status information.

Quick Start

Run the setup script with the user's messaging channel and address:

scripts/setup_gateway_notify.sh <channel> <address>

Examples:

scripts/setup_gateway_notify.sh imessage user@example.com
scripts/setup_gateway_notify.sh whatsapp +1234567890
scripts/setup_gateway_notify.sh telegram @username

The script will:

  1. Create the hook directory at ~/.openclaw/hooks/gateway-restart-notify
  2. Generate the handler with the specified channel configuration
  3. Enable the hook in OpenClaw config
  4. Restart the gateway to activate

How It Works

The hook uses OpenClaw's internal hook system:

  • Listens for gateway:startup events
  • Collects gateway status (model, time, port)
  • Sends notification via the configured channel CLI

Supported Channels

See CHANNELS.md for channel-specific CLI commands and address formats.

Manual Setup

If you need to customize the hook, see MANUAL.md for step-by-step instructions.

版本历史

共 1 个版本

  • v1.0.5 当前
    2026-03-29 04:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 447 📥 226,568
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,909
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 148,463