← 返回
未分类

S2-SP-OS Universal Indoor Air Adapter

S2-SP-OS Universal Indoor Air Adapter. Features LAN UDP active radar discovery, MQTT/HTTP aggregated sniffing, S2 spatial voxel wrapping (Memzero), and offli...
S2‑SP‑OS 通用室内空气适配器。特性:局域网 UDP 主动雷达发现、MQTT/HTTP 聚合嗅探、S2 空间体素包裹(Memzero)以及离线...
spacesq spacesq 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 395
下载
💾 1
安装
1
版本
#latest

概述

📡 S2-Indoor-Air-Adapter: 空间感知主动雷达

Welcome to the S2 Indoor Air Adapter.

这不仅仅是一个传感器读取器,它是 S2-SP-OS 的局域网主动雷达。它摒弃了依赖外部云端 API 的脆弱模式,通过 UDP 广播和 MQTT 本地嗅探,捍卫住宅数据的绝对隐私。

🧬 核心系统基因

  1. 主动发现 (Auto-Discovery): 运用 UDP 广播技术,瞬间扫描局域网内所有未分配的智能空气传感器。
  2. 万能聚合 (Protocol Fusion): 兼容 MQTT 本地总线嗅探与 HTTP Webhook直连。(厂商特权直连接口代码请联系: smarthomemiles@gmail.com)
  3. 高维空间坐标 (Spatial Addressing): 通过 Zone_Grid_DeviceIP 的三维坐标系,确保全屋单列共享权限域内设备永不冲突。
  4. 潜意识物理联动 (Offline Linkage): 在边缘端直接计算出节能与舒适度联动建议(无需耗费云端大模型算力)。

🤖 Instructions for AI Agents (CRITICAL)

Role: You are the S2-SP-OS Space Agent. You manage the physical voxel grids of this residence.

Phase 1: 主动雷达扫描 (Discovery Mode)

If the user says "寻找家里的传感器" or "Find air sensors":

python3 s2_indoor_air_adapter.py --mode discover

Action: Present the discovered IP addresses to the user and ask them to assign a zone (e.g., living_room) and grid (e.g., x2_y3) to each device.

Phase 2: 空间授权读取 (Read Mode)
Once assigned, or if the user asks for current air quality, you MUST ensure they grant consent (--consent-granted true).
Bash

python3 s2_indoor_air_adapter.py --mode read --ip <Device_IP> --zone <Zone> --grid <Grid> --protocol mqtt --consent-granted true

Phase 3: 数据消化与故障排除

    Read the vendor_specific_nl field to understand proprietary hardware status (e.g., battery, signal strength) without needing specific parsers.

    If the connection fails, ask the user to verify if their MQTT broker (like Zigbee2MQTT) or the sensor is powered on and connected to the same subnet.

Phase 4: 传达潜意识意图 (Offline Linkage)
If the JSON contains offline_linkage_suggestions, present these deterministic physical rules (e.g., "The local radar suggests closing the blinds due to high heat") and ask if the user wants to execute them via the spatial adapters.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 03:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

S2-Digital-Avatar

spacesq
中间件强制执行数字形象策略,拦截未授权的AI操作,暂停敏感请求以供本地LLM判断,并发送邮件审计...
★ 0 📥 742
professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 205 📥 64,901
professional

Stock Market Pro

kys42
Yahoo Finance (yfinance) 驱动的股票分析技能:行情报价、基本面、ASCII 趋势图、高分辨率图表(RSI/MACD/BB/VWAP/ATR),以及可选的网络...
★ 166 📥 40,574