← 返回
未分类 Key 中文

Micro-Doppler Life-Safety Engine

Detects elder falls and apnea using privacy-safe 60/77 GHz mmWave radar with real-time micro-Doppler STFT analysis for emergency alerts and response.
利用隐私安全的60/77 GHz毫米波雷达,实时进行微多普勒STFT分析,检测老年人跌倒和呼吸暂停,并在紧急情况下发出警报和响应。
spacesq spacesq 来源
未分类 clawhub v1.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 408
下载
💾 0
安装
1
版本
#latest

概述

🧓 S2-Eldercare-mmWave-Monitor: DSP & Secure Actuation Engine

S2 老年健康监测插件 (微多普勒 DSP 与安全物理致动版)

v1.1.0 | SecOps & Hardware Integration Edition (English / 中文)

Welcome to the Sensory Tentacle Series of the S2-SP-OS. This SKILL bridges high-resolution mmWave DSP with physical smart home actuation, heavily focused on user safety and zero-trust execution.

🛡️ 1. Security & Safety First (安全与执行声明)

WARNING: Automatic actuation of physical environments (e.g., unlocking doors, overriding HVAC) carries inherent real-world risks.

警告:自动触发物理环境动作(如解锁大门、强启空调)具有固有的现实世界风险。

To comply with strict SecOps and safety standards, this SKILL operates in Dry-Run (Safe Mode) by default.

为了符合严苛的安全操作规范,本插件默认运行在安全沙盒模式(Dry-Run)下

  • When S2_ENABLE_REAL_ACTUATION=False (Default), the system runs the entire DSP algorithm (STFT, Fall Detection) but intercepts all outbound HTTP REST requests to the Home Assistant API. It only prints the routing intents to the console.
  • 当环境变量为 False 时,系统将拦截所有发往物理网关的 HTTP 真实请求,仅在控制台打印模拟意图。

To enable REAL physical actuation (开启真实物理控制):

You must explicitly export the following environment variables. Do this only in a trusted local environment with user consent.

您必须显式声明以下环境变量(请仅在受信任的且获得用户授权的本地局域网环境中开启):

bash

export S2_ENABLE_REAL_ACTUATION="True"

export HA_BASE_URL="http://your-ha-ip:8123/api"

export HA_BEARER_TOKEN="your_ha_access_token"

🧮 2. The Micro-Doppler DSP Architecture (微多普勒 DSP 架构)

This module simulates and processes Frequency Modulated Continuous Wave (FMCW) data to detect falls. We use scipy.signal.stft to convert the 1D echo into a 2D Time-Frequency Spectrogram, searching for rapid negative Doppler shifts indicative of a fall.

🔌 3. The Physical Actuator (物理执行层)

When a fall is verified by the DSP engine, the system dispatches HTTP POST payloads to the S2 Message Bus (via Home Assistant):

POST /api/services/lock/unlock -> Unlocks the front door for emergency responders.

POST /api/services/light/turn_on -> Overrides sleep lighting to 100% Daylight.

⚙️ 4. Installation (依赖安装)

Ensure all dependencies (numpy, scipy, matplotlib, requests) are installed:

Bash

pip install -r requirements.txt

python skill.py

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-07 05:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 243 📥 30,642
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 455 📥 228,602
life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 56 📥 85,144