360 Secure SkillHub
360 安全技能中心

Red Alert (Israel)

oref-native 是 OpenClaw 专属的警报监控脚本:python 脚本以循环或 crontab 常驻运行,从 oref-alerts 代理获取以色列后方司令部当前警报,按类别与监控区域过滤后,经 openclaw message 发到 WhatsApp 群、经 openclaw tts 语音播报;声明不依赖 Home Assistant、wacli 或 Docker 监控。

shaike1
shaike1
热度 62.96
最近更新 2026-05-18 12:11:37
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流 / 日程安排

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-skill-red-alert
Metadata
name
oref-native
description
Israeli Home Front Command alerts - fully OpenClaw native. No Home Assistant. No wacli. No Docker monitor. OpenClaw handles everything: WhatsApp + TTS.

ORef Native - OpenClaw Only 🚨

Architecture

Pikud Ha-Oref API
       ↓
oref_native.py (cron every 5s)
       ↓
openclaw message → 📱 WhatsApp group
openclaw tts     → 🔊 Voice announcement

vs. Old System

Old Native
WhatsApp wacli binary openclaw message
TTS Home Assistant openclaw tts
Lights Home Assistant ❌ (not needed)
Dependencies Docker + HA + wacli OpenClaw only

Setup

# Install cron (every 5 seconds via loop)
nohup python3 /root/.openclaw/workspace/skills/oref-native/oref_native.py \
  >> /var/log/oref_native.log 2>&1 &

# Or add to crontab (restart on boot)
@reboot python3 /root/.openclaw/workspace/skills/oref-native/oref_native.py >> /var/log/oref_native.log 2>&1

Environment Variables

Variable Default Description
OREF_API_URL http://localhost:49000/current oref-alerts proxy
MONITORED_AREAS הרצליה,הרצליה - גליל ים ומרכז Comma-separated areas
WHATSAPP_GROUP_JID - WhatsApp group JID
WHATSAPP_OWNER - Personal WhatsApp number
OPENCLAW_BIN openclaw Path to openclaw binary

Alert Routing

Type WhatsApp TTS
🚀 Rockets (cat=1) ✅ ✅
✈️ Aircraft (cat=2) ✅ ✅
🔴 Infiltration (cat=10) ✅ ✅
✅ All clear (cat=13) ✅ ✅
⚠️ Pre-alert (cat=14) ❌ ✅