Skip to content

DonHugo/sun_heat_and_ftx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

672 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Solar Heating System & TaskMaster AI

A comprehensive solar heating system with intelligent task management and real-time energy monitoring.

πŸ“‹ Product Requirements Document (PRD)

πŸ“„ Complete PRD Documentation - Comprehensive 741-line Product Requirements Document
🎫 GitHub Issue #23 - PRD Summary and Overview

Project Overview

  • Name: Sun Heat and FTX - Solar Heating System with AI Integration
  • Version: 2.0
  • Status: Active Development
  • Architecture: Raspberry Pi + Sequent Microsystems hardware + TaskMaster AI

πŸ—οΈ Project Structure

/
β”œβ”€β”€ πŸ“š docs/           - System documentation and Home Assistant configs
β”œβ”€β”€ πŸš€ python/         - Python implementation (v1, v2, v3, deployment)
β”œβ”€β”€ ⚑ taskmaster/     - TaskMaster AI integration system
β”œβ”€β”€ βš™οΈ config/         - Configuration files and examples
β”œβ”€β”€ 🏠 .vscode/        - VS Code development settings
β”œβ”€β”€ πŸ–±οΈ .cursor/        - Cursor IDE settings
└── 🐍 .venv/          - Python virtual environment

🎯 Quick Start

Solar Heating System (v3 - Recommended):

cd python/v3
source venv/bin/activate  # If virtual environment exists
python3 main_system.py

TaskMaster AI Integration:

cd taskmaster
pip install -r ../config/requirements.txt
python taskmaster_demo.py

Deployment to Raspberry Pi:

cd python/deployment
chmod +x deploy_to_pi.sh
./deploy_to_pi.sh

πŸ“š Documentation

πŸ€– OpenCode Agents

This project uses unified OpenCode agents. See .opencode/README.md for:

  • Available agents and their capabilities
  • How to invoke agents
  • Project-specific usage patterns
  • Link to comprehensive agent guide

πŸš€ Start Here (New Users)

πŸ”§ Component-Specific Guides

  • System Setup: See docs/HOME_ASSISTANT_SETUP.md
  • Real-time Energy: See docs/REALTIME_ENERGY_SENSOR_SETUP.md
  • TaskMaster AI: See taskmaster/README_TASKMASTER.md
  • Python Implementation: See python/README.md
  • Deployment: See python/deployment/README.md

πŸ“Š Advanced Features

  • Rate of Change Sensors: See docs/RATE_OF_CHANGE_SENSORS_SUMMARY.md
  • Monitoring Options: See docs/MONITORING_OPTIONS.md
  • Watchdog System: See docs/WATCHDOG_SYSTEM.md

πŸ”§ Hardware Requirements

Sequent Microsystems Boards:

  • RTD Data Acquisition: Temperature sensors
  • Building Automation V4: MegaBAS control
  • Four Relays + HV Inputs: Relay control

Installation Commands:

# RTD Data Acquisition
sudo apt-get install build-essential python-pip python-dev python-smbus git
git clone https://github.com/SequentMicrosystems/rtd-rpi.git
cd rtd-rpi/python/rtd/
sudo python3 setup.py install

# Building Automation V4
sudo apt-get install build-essential python3-pip python3-dev python3-smbus git
git clone https://github.com/SequentMicrosystems/megabas-rpi.git
cd megabas-rpi/python/
sudo python3 setup.py install

# Four Relays + HV Inputs
sudo apt-get install build-essential python3-pip python3-dev python3-smbus git
git clone https://github.com/SequentMicrosystems/4relind-rpi.git
cd 4relind-rpi/python/4relind/
sudo python3 setup.py install

πŸ“¦ Python Dependencies

pip3 install statistics numpy paho-mqtt

πŸš€ System Status

  • v1 System: ❌ DEPRECATED (moved to python/v1/)
  • v2 System: ❌ DEPRECATED (moved to python/v2/)
  • v3 System: βœ… ACTIVE (production ready)
  • TaskMaster AI: βœ… ACTIVE (integrated)
  • Home Assistant: βœ… FULLY INTEGRATED
  • Real-time Energy: βœ… IMPLEMENTED

πŸ”„ Recent Updates

  • βœ… Legacy sensors removed (32 sensors eliminated)
  • βœ… Repository reorganized (clear folder structure)
  • βœ… v3 system optimized (clean, focused codebase)
  • βœ… Documentation updated (comprehensive guides)
  • βœ… Deployment scripts (organized and updated)

πŸ“– Getting Started

  1. Read the documentation in docs/ folder
  2. Set up configuration from config/ examples
  3. Deploy v3 system using python/deployment/ scripts
  4. Configure Home Assistant using docs/ configurations
  5. Integrate TaskMaster AI from taskmaster/ folder

πŸ†˜ Support

  • Solar Heating: See python/v3/README.md
  • TaskMaster AI: See taskmaster/README_TASKMASTER.md
  • Deployment: See python/deployment/README.md
  • Documentation: See docs/README.md

About

🌞 Solar Heating System with TaskMaster AI Integration - Intelligent temperature monitoring, automated control, and AI-powered optimization for solar heating systems. Features Sequent Microsystems hardware, MQTT communication, Home Assistant integration, and comprehensive data logging. See PRD: #23

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors