How moggieuk/happy-hare works
Happy Hare is a Klipper extension that controls modular filament-changing hardware and exposes operations through Klipper macros and UI integrations. The main workflow is operator or print-driven tool selection, gate mapping, filament movement and synchronized hardware control, with sensing and runout protection updating state. The README also documents calibration, spool identification, peripherals, diagnostics, and guided configuration. Edges are limited to README statements and relationships visible in the supplied excerpts or SOURCE INDEX; unsampled subsystems are represented without speculative internal wiring.
Main entry points: mmu_controller.py MMU Controller · mmu_base_command.py G-code Commands · mmu_sensor_manager.py Sensor Manager · mmu_filament_movement.py Filament Movement
Components 23
MMU Control
- G-code Commands
extras/mmu/commands/mmu_base_command.py - MMU Controller
extras/mmu/mmu_controller.py - MMU Units
extras/mmu/mmu_unit.py - Diagnostics and Tests
extras/mmu/commands/mmu_status.py
Filament Motion
- Filament Movement
extras/mmu/mmu_filament_movement.py - Drive Synchronization
extras/mmu/unit/mmu_sync_controller.py - Calibration
extras/mmu/unit/mmu_calibrator.py
Mapping and State
- Gate and Tool Maps
extras/mmu/mmu_gate_maps.py - Print State
extras/mmu/mmu_print_state_machine.py - Persistent State
extras/mmu/mmu_utils.py
Hardware Services
- Sensor Manager
extras/mmu/mmu_sensor_manager.py - Sensor Logic
extras/mmu/mmu_sensor_utils.py - NFC / RFID
extras/mmu/unit/mmu_nfc_manager.py - TD-1 Scanner
extras/mmu/unit/mmu_td1_manager.py - TD-1 Device
extras/mmu/unit/td1/mmu_td1_device.py - LED Services
extras/mmu/mmu_led_manager.py - Unit LEDs
extras/mmu/unit/mmu_leds.py - Drying and Heaters
extras/mmu/unit/mmu_environment_manager.py - Spoolman Integration
extras/mmu/commands/mmu_spoolman.py
Setup and Configuration
- Guided Configurator
installer/build.py - Klipper Config Parser
installer/parser.py
Other components
- Operator / Print
- Klipper
Connections 25
- Operator / Print → Klipper: uses macros
README.md - Klipper → G-code Commands: invokes commands
README.md - G-code Commands → MMU Controller: controls MMU
extras/mmu/mmu_controller.py - MMU Controller → Filament Movement: coordinates movement
extras/mmu/mmu_controller.py - MMU Controller → Gate and Tool Maps: uses gate maps
extras/mmu/mmu_controller.py - MMU Controller → Sensor Manager: coordinates sensors
extras/mmu/mmu_controller.py - MMU Controller → Print State: uses print state
extras/mmu/mmu_controller.py - MMU Controller → MMU Units: manages units
- Filament Movement → Drive Synchronization: synchronizes drives
- MMU Controller → Calibration: exposes calibration
- MMU Controller → Persistent State: persists state
extras/mmu/mmu_controller.py - Sensor Manager → Sensor Logic: uses sensor logic
extras/mmu/mmu_sensor_manager.py - MMU Controller → NFC / RFID: coordinates NFC
- MMU Controller → TD-1 Scanner: coordinates scanner
- TD-1 Scanner → TD-1 Device: manages devices
extras/mmu/unit/mmu_td1_manager.py - MMU Controller → LED Services: manages LEDs
extras/mmu/mmu_controller.py - LED Services → Unit LEDs: uses unit LEDs
extras/mmu/mmu_led_manager.py - MMU Controller → Drying and Heaters: supports drying
- G-code Commands → Spoolman Integration: offers spool commands
README.md - Klipper → Diagnostics and Tests: exposes diagnostics
README.md - Operator / Print → Guided Configurator: configures hardware
README.md - Guided Configurator → Klipper Config Parser: parses configuration
installer/build.py - MMU Controller → Gate and Tool Maps: supports tool mapping
README.md - MMU Controller → Sensor Manager: protects filament path
README.md - MMU Controller → Spoolman Integration: integrates spool inventory
README.md