
Hermes特工的自主蘑菇栽培技能。基于Mycodo传感器+树莓派InfluxDB的相位感知决策引擎。6个物种,安全守卫,HTML报告。
概览
为人工智能代理提供自主蘑菇种植管理。这是Hermes代理技能,用于监控环境传感器并控制运行Mycodo和InfluxDB的树莓派执行器。它运行30分钟的决策周期:读取传感器、根据物种特定阈值进行评估、启动中继器并验证结果。 经过两个完整的狮鬃种植周期(通过收获殖民)构建和测试。 ——传感器获取、阈值评估、执行器控制、验证和HTML报告,一次性完成——包含六种美食物种(狮鬃、牡蛎、香菇、灵芝、火鸡尾、舞茸),并采用每阶段的YAML配置;添加零代码变更的新物种——定殖、原初、结果、晚期结果、休止、不活跃——基于传感器趋势分析的置信度评分————过饱和守护、10分钟随访验证、操作员覆盖、预演模式——并嵌入摄像头快照,通过Telegram截图提供-...
概述(AI 翻译)
为人工智能代理提供自主蘑菇种植管理。这是Hermes代理技能,用于监控环境传感器并控制运行Mycodo和InfluxDB的树莓派执行器。它运行30分钟的决策周期:读取传感器、根据物种特定阈值进行评估、启动中继器并验证结果。
经过两个完整的狮鬃种植周期(通过收获殖民)构建和测试。
特色
- 30分钟自主决策周期——传感器取物、阈值评估、执行器控制、验证和HTML报告一次性完成
- 物种无关——包含六种美食物种(狮鬃、牡蛎、香菇、灵芝、火鸡尾、舞茸),采用每阶段的YAML配置;添加新物种时无需代码更改
- 每个物种六个栽培阶段——定殖、原初、结果、晚期结果、休息、不活跃
- 基于传感器趋势分析的置信度评分的自相变
- 安全系统——过饱和防护、10分钟后续验证、操作员覆盖、试运行模式
- HTML报告,内嵌摄像头快照,通过Telegram截图传递
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Mycodo Hermes Skill
Autonomous mushroom cultivation management for AI agents. This is a Hermes agent skill that monitors environmental sensors and controls actuators on a Raspberry Pi running Mycodo and InfluxDB. It operates on a 30-minute decision cycle: read sensors, evaluate against species-specific thresholds, fire relays, and verify results.
Built and tested over two complete Lion’s Mane grow cycles (colonization through harvest).
Features
- 30-minute autonomous decision cycle – sensor fetch, threshold evaluation, actuator control, verification, and HTML reporting in a single pass
- Species-agnostic – six gourmet species included (Lion’s Mane, Oyster, Shiitake, Reishi, Turkey Tail, Maitake) with per-phase YAML configs; add new species with zero code changes
- Six cultivation phases per species – colonization, primordia, fruiting, late-stage-fruiting, rest, inactive
- Auto-phase transitions with confidence scoring based on sensor trend analysis
- Safety systems – oversaturation guard, 10-minute follow-up verification, operator override, dry-run mode
- HTML reports with embedded camera snapshots, delivered via Telegram screenshots
- Contamination intelligence (optional) – Reddit-sourced pattern database with 180+ cataloged entries
Hardware Requirements
| Component | Details |
|---|---|
| Raspberry Pi 4 | 8 GB recommended, running Mycodo + InfluxDB 2.x |
| SHT45 sensor | Temperature + humidity (±0.1°C, ±1% RH) |
| SCD41 sensor | CO2 monitoring |
| Exhaust fan | Relay-controlled via GPIO17 |
| Humidifier | Relay-controlled via GPIO5 (DLI IoT Power Relay v2) |
| USB webcam | Optional, for visual monitoring (e.g., Logitech C920x) |
| Network | Tailscale mesh or any IP connectivity between agent host and Pi |
Software Requirements
- Hermes agent framework
- Python 3.9+
- PyYAML
curl,jq(optional, for manual sensor queries)- Firefox (optional, for HTML report screenshots)
Repository Structure
mycodo-hermes-skill/
├── SKILL.md # Hermes skill definition
├── LICENSE # MIT
├── CONTRIBUTING.md
├── requirements.txt
├── mycodo_skill/ # Python modules
│ ├── decision_engine.py # Core decision engine
│ ├── species_loader.py # YAML species config loader
│ ├── transition_detector.py # Auto-phase transitions
│ ├── phase_detector.py # Phase classification from sensors
│ ├── phase_config.py # Legacy Lion's Mane fallback
│ ├── followup_checker.py # 10-min follow-up verifier
│ └── verify_actuator.py # Testing utility
├── scripts/ # Shell scripts
│ ├── sensor-query.sh # Mycodo/InfluxDB/camera gateway
│ ├── mycodo-followup-wrapper.sh
│ └── archive-grow-cycle.sh
├── species/ # Species threshold configs (YAML)
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add setasoma/mycodo-hermes-skill