← 返回
未分类

S2 Light Perception

S2-SP-OS Light Radar. Real LAN UDP discovery and local API calls (Hue/Wiz) to create a 4sqm voxel light memzero. / S2-SP-OS 光之雷达。真实的局域网UDP发现与本地API调用,逆向推算4平米光...
S2-SP-OS Light Radar. Real LAN UDP discovery and local API calls (Hue/Wiz) to create a 4sqm voxel light memzero. / S2-SP-OS 光之雷达。真实的局域网UDP发现与本地API调用,逆向推算4平米光...
spacesq spacesq 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 457
下载
💾 1
安装
1
版本
#latest

概述

💡 S2-Light-Perception: Spatial Light Radar / 空间光之雷达

Welcome to the S2 Light Perception.

This is a 100% real network-active radar. It does not use simulated data. It uses actual UDP Broadcasts (Port 38899) and SSDP Multicast (Port 1900) to discover devices, and real local HTTP/UDP socket calls to fetch states.

这是一个100%真实的活跃网络雷达。它不使用模拟数据,而是使用真正的 UDP 广播(38899 端口)和 SSDP 组播(1900 端口)发现设备,并通过真实的本地 HTTP/UDP Socket 调用获取状态。

🧬 Core Features / 核心特性

  • Real Active Radar (真实主动雷达): Sends authentic UDP packets to scan unassigned smart lights on the LAN. / 发送真实的 UDP 数据包扫描局域网内的智能光源。
  • Zero-Dependency Native API (零依赖原生接口): Native Python socket and urllib implementation for Hue (HTTP) and Wiz (UDP) without third-party bloated libraries. / 纯原生实现 Hue 与 Wiz 协议,无第三方冗余库。
  • Memzero Voxel Wrapping (网格化封装): Encapsulates hardware states into S2 spatial memory data. / 将灯具状态彻底转化为 S2 空间记忆数据。
  • Offline Linkage (生物节律离线联动): Edge-computes lighting impacts on melatonin and suggests actions. / 边缘端自动计算光照对人体褪黑素的影响并提出联动建议。

🤖 Instructions for AI Agents (CRITICAL)

Phase 1: Scan Light Sources / 阶段 1:扫描光源

Execute a real UDP/SSDP network scan / 执行真实的 UDP/SSDP 局域网扫描:

python3 light.py --mode discover

Phase 2: Authorized Voxel Read / 阶段 2:空间授权读取
Pass the protocol (hue, wiz, or mqtt) and IP. / 传入协议与 IP。
Bash

python3 light.py --mode read --ip <DEVICE_IP> --protocol wiz --zone bedroom --grid x1_y1 --consent-granted true

Phase 3: Parsing & Insights / 阶段 3:解析与建议
If network fails (light is off or disconnected), estimated_lux will safely drop to 5. Check vendor_specific_nl for error details or hardware status. Present offline_linkage_suggestions to the user. / 如果网络调用失败,预估光照度会降至5。向用户展示离线护眼建议。

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-31 03:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,045
ai-agent

S2-Silicon-Soul-OS 硅基原生安全与意识引擎

spacesq
本地托管的OS,通过动态5维人格、情感记忆、突触衰减和双语AI心理档案,进化OpenClaw代理的潜意识。
★ 0 📥 756
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,783