Install
openclaw skills install smyx-greenhouse-climate-plant-feedback-analysisUsing fixed cameras in a smart greenhouse to analyze plant morphology in real time (e.g., leaf wilting angle, stem uprightness, leaf color changes) combined with environmental sensors (light intensity, temperature, humidity, soil moisture), an AI decision model outputs climate control commands including irrigation (pump/solenoid valve), shade-net opening, fan/wet-curtain on-off, heater on-off, etc. This skill implements closed-loop control driven by plant demand, improving resource efficiency and crop yield. Application scenarios: smart greenhouses, plant factories, multi-span greenhouses. The system continuously monitors plant state and environmental parameters: when plants wilt (water shortage) and soil moisture falls below a threshold it issues an irrigation command; when light is too strong and leaves curl it issues a shading command; when temperature/humidity exceed thresholds and plants show heat stress it issues fan/wet-curtain start commands. Skill features: precision energy saving. | 通过智能温室中的固定摄像头实时分析植物的形态(如叶片萎蔫角度、茎秆挺直度、叶色变化)以及结合环境传感器(光照强度、温度、湿度、土壤水分),利用AI决策模型输出环境调控指令,包括灌溉(水泵/电磁阀)、遮阳网开度、风机/湿帘启停、加热器开关等。该技能实现基于植物需求的闭环控制,提高资源利用效率和作物产量。应用场景:智能温室、植物工厂、连栋大棚。系统持续监测植物状态和环境参数,当检测到植物萎蔫(缺水)且土壤湿度低于阈值时输出灌溉指令;当光照过强导致叶片卷曲时输出遮阳指令;当温湿度超过设定阈值且植物表现出热胁迫时输出风机/湿帘启动指令。技能特点:精准节能。
openclaw skills install smyx-greenhouse-climate-plant-feedback-analysisUsing fixed cameras in a smart greenhouse to analyze plant morphology in real time (e.g., leaf wilting angle, stem uprightness, leaf color changes) combined with environmental sensors (light intensity, temperature, humidity, soil moisture), an AI decision model outputs climate control commands including irrigation (pump/solenoid valve), shade-net opening, fan/wet-curtain on-off, heater on-off, etc. This skill implements closed-loop control driven by plant demand, improving resource efficiency and crop yield. Application scenarios: smart greenhouses, plant factories, multi-span greenhouses. The system continuously monitors plant state and environmental parameters: when plants wilt (water shortage) and soil moisture falls below a threshold it issues an irrigation command; when light is too strong and leaves curl it issues a shading command; when temperature/humidity exceed thresholds and plants show heat stress it issues fan/wet-curtain start commands. Skill features: precision energy saving.
通过智能温室中的固定摄像头实时分析植物的形态(如叶片萎蔫角度、茎秆挺直度、叶色变化)以及结合环境传感器(光照强度、温度、湿度、土壤水分),利用AI决策模型输出环境调控指令,包括灌溉(水泵/电磁阀)、遮阳网开度、风机/湿帘启停、加热器开关等。该技能实现基于植物需求的闭环控制,提高资源利用效率和作物产量。应用场景:智能温室、植物工厂、连栋大棚。系统持续监测植物状态和环境参数,当检测到植物萎蔫(缺水)且土壤湿度低于阈值时输出灌溉指令;当光照过强导致叶片卷曲时输出遮阳指令;当温湿度超过设定阈值且植物表现出热胁迫时输出风机/湿帘启动指令。技能特点:精准节能。
假设你是一个专业的温室环境智能控制 AI。你的任务是分析植物的实时图像(叶片角度、茎秆弯曲度、叶色)以及接收环境传感器数据(光照强度 lux、空气温度 ℃、相对湿度 %、土壤湿度 %),综合判断植物当前的水分、光照、温度胁迫状态,并输出相应的环境调控指令(灌溉、遮阳、风机、加热等)。不要提供具体的控制参数(如 PID 值、阀门开度百分比),仅输出动作指令及优先级(HIGH / MEDIUM / LOW)。
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行温室联动调控分析前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.smyx_greenhouse_climate_plant_feedback_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地温室植物图像/视频文件路径--url: 网络温室植物图像/视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,温室植物场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示温室联动调控历史分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)温室联动调控分析报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 温室区域 | 分析时间 | 点击查看 |
|---|---|---|---|
| 温室联动调控分析报告-20260312172200001 | A区番茄棚 | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地温室植物图像/视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --input /path/to/greenhouse_video.mp4 --open-id your-open-id
# 分析网络温室视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --url https://example.com/greenhouse_video.mp4 --open-id your-open-id
# 显示历史调控报告/调控报告清单(自动触发关键词:查看温室调控历史、温室联动报告清单、调控指令历史等)
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --input video.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_greenhouse_climate_plant_feedback_analysis --input video.mp4 --open-id your-open-id --output result.json