1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[PR #32] [MERGED] 0.1.6b #915

Closed
opened 2026-05-07 00:14:56 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/32
Author: @maziggy
Created: 12/28/2025
Status: Merged
Merged: 12/28/2025
Merged by: @maziggy

Base: mainHead: 0.1.6b


📝 Commits (10+)

  • 866f483 0.1.6b
  • 3ffe032 - Fix total print hours to include all prints
  • 0200f69 - Show detailed printer status stages on printer cards
  • 0da5de0 - Printer cards now shows heater states
  • ef68804 - Added printer auto discovery to add printer modal
  • 288a495 - Fix dual nozzle temperature display for H2D printers
  • 929c4c8 - Fix total print hours calculation in set_total_hours to include all
  • 7622d2a - Fix total print hours calculation in set_total_hours to include all
  • 01989b7 - Fix A1/P1 camera streaming with extended timeouts and lower FPS cap
  • 11a6bb2 Key Discovery

📊 Changes

51 files changed (+16429 additions, -9339 deletions)

View changed files

📝 .github/ISSUE_TEMPLATE/bug_report.yml (+11 -0)
📝 .pre-commit-config.yaml (+1 -0)
📝 CHANGELOG.md (+29 -0)
📝 README.md (+5 -10)
📝 backend/app/api/routes/archives.py (+239 -1)
📝 backend/app/api/routes/camera.py (+150 -13)
backend/app/api/routes/discovery.py (+169 -0)
📝 backend/app/api/routes/maintenance.py (+142 -85)
📝 backend/app/api/routes/printers.py (+24 -6)
📝 backend/app/api/routes/projects.py (+884 -38)
📝 backend/app/api/routes/settings.py (+283 -115)
📝 backend/app/api/routes/smart_plugs.py (+132 -20)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/core/database.py (+157 -90)
📝 backend/app/main.py (+10 -3)
📝 backend/app/models/project.py (+40 -4)
backend/app/models/project_bom.py (+50 -0)
📝 backend/app/models/smart_plug.py (+9 -5)
📝 backend/app/schemas/project.py (+112 -0)
📝 backend/app/schemas/smart_plug.py (+6 -0)

...and 31 more files

📄 Description

New Features (0.1.6b)

Smart Plugs

  • Tasmota device discovery - Auto-detect network and scan for Tasmota devices. Supports devices with/without authentication.
  • Switchbar quick access - Sidebar widget for controlling smart plugs from anywhere. Shows real-time status and power consumption.

Timelapse

  • Timelapse editor - Trim, speed adjustment (0.25x-4x), and music overlay with FFmpeg server-side processing.

Printer Discovery & Cards

  • Docker subnet scanning - Auto-detect Docker environment and enable subnet input for discovering printers
  • Printer model mapping - Show friendly names (X1C, H2D, P1S) instead of raw SSDP codes
  • Detailed status stages - Show heater states and print status stages on printer cards
  • Dual nozzle temperature - Fixed display for H2D printers

Archives & Projects

  • AMS filament preview - Reprint modal shows filament comparison (type + color match indicators)
  • File type badges - GCODE (green) or SOURCE (orange) badges on archive cards
  • Project filament colors - Display filament swatches from assigned archives
  • BOM filter - "Hide done" toggle for completed items
  • Projects in backup/restore - Include projects, BOM items, and attachments
  • Attachment validation - File type validation for project attachments

Maintenance

  • Custom maintenance types - No longer auto-assign to all printers; manual per-printer assignment
  • Delete printer options - Choose to keep or delete archives when deleting a printer

UI Improvements

  • Project card design - Enhanced with gradients, shadows, and glow effects
  • Confirmation modals - Replace browser confirm dialogs with styled modals
  • Default timelapse speed - Changed from 2x to 1x

Bug Fixes

  • Notifications sent when printer offline - Fixed notification module
  • Camera stream stopping - Increased timeouts, added auto-reconnection with exponential backoff
  • A1/P1 camera streaming - Fixed with extended timeouts and lower FPS cap; removed deprecated -stimeout option
  • Attachment uploads not persisting - Fixed SQLAlchemy JSON column mutation detection
  • Total print hours calculation - Now includes all prints, not just completed
  • Mock state bug - Fixed in test fixtures

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/32 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 12/28/2025 **Status:** ✅ Merged **Merged:** 12/28/2025 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `main` ← **Head:** `0.1.6b` --- ### 📝 Commits (10+) - [`866f483`](https://github.com/maziggy/bambuddy/commit/866f4835a30bb649ae5f591b3b2a644ba55180a4) 0.1.6b - [`3ffe032`](https://github.com/maziggy/bambuddy/commit/3ffe0326359581fa093137fd3ccce4d9529b99ea) - Fix total print hours to include all prints - [`0200f69`](https://github.com/maziggy/bambuddy/commit/0200f69ba34d81bea4aac57d16eb6b8999d87939) - Show detailed printer status stages on printer cards - [`0da5de0`](https://github.com/maziggy/bambuddy/commit/0da5de0f46fb5ae73d1cd14e3642b16b1fc3006e) - Printer cards now shows heater states - [`ef68804`](https://github.com/maziggy/bambuddy/commit/ef68804fa99e1da4c0612f11370b43d368ed2f4b) - Added printer auto discovery to add printer modal - [`288a495`](https://github.com/maziggy/bambuddy/commit/288a49504123b10a0688285f16be4827ade05c47) - Fix dual nozzle temperature display for H2D printers - [`929c4c8`](https://github.com/maziggy/bambuddy/commit/929c4c8cd609fa476f6a560863f7c8ee10d8e8d5) - Fix total print hours calculation in set_total_hours to include all - [`7622d2a`](https://github.com/maziggy/bambuddy/commit/7622d2ae5c5a6e1016b6d8c26851da2fde101e1e) - Fix total print hours calculation in set_total_hours to include all - [`01989b7`](https://github.com/maziggy/bambuddy/commit/01989b71829a82add19d26cab8e0bbba35f76bf7) - Fix A1/P1 camera streaming with extended timeouts and lower FPS cap - [`11a6bb2`](https://github.com/maziggy/bambuddy/commit/11a6bb282a5d1a723656b99e5bc1b2af414d08f9) Key Discovery ### 📊 Changes **51 files changed** (+16429 additions, -9339 deletions) <details> <summary>View changed files</summary> 📝 `.github/ISSUE_TEMPLATE/bug_report.yml` (+11 -0) 📝 `.pre-commit-config.yaml` (+1 -0) 📝 `CHANGELOG.md` (+29 -0) 📝 `README.md` (+5 -10) 📝 `backend/app/api/routes/archives.py` (+239 -1) 📝 `backend/app/api/routes/camera.py` (+150 -13) ➕ `backend/app/api/routes/discovery.py` (+169 -0) 📝 `backend/app/api/routes/maintenance.py` (+142 -85) 📝 `backend/app/api/routes/printers.py` (+24 -6) 📝 `backend/app/api/routes/projects.py` (+884 -38) 📝 `backend/app/api/routes/settings.py` (+283 -115) 📝 `backend/app/api/routes/smart_plugs.py` (+132 -20) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/core/database.py` (+157 -90) 📝 `backend/app/main.py` (+10 -3) 📝 `backend/app/models/project.py` (+40 -4) ➕ `backend/app/models/project_bom.py` (+50 -0) 📝 `backend/app/models/smart_plug.py` (+9 -5) 📝 `backend/app/schemas/project.py` (+112 -0) 📝 `backend/app/schemas/smart_plug.py` (+6 -0) _...and 31 more files_ </details> ### 📄 Description New Features (0.1.6b) Smart Plugs - Tasmota device discovery - Auto-detect network and scan for Tasmota devices. Supports devices with/without authentication. - Switchbar quick access - Sidebar widget for controlling smart plugs from anywhere. Shows real-time status and power consumption. Timelapse - Timelapse editor - Trim, speed adjustment (0.25x-4x), and music overlay with FFmpeg server-side processing. Printer Discovery & Cards - Docker subnet scanning - Auto-detect Docker environment and enable subnet input for discovering printers - Printer model mapping - Show friendly names (X1C, H2D, P1S) instead of raw SSDP codes - Detailed status stages - Show heater states and print status stages on printer cards - Dual nozzle temperature - Fixed display for H2D printers Archives & Projects - AMS filament preview - Reprint modal shows filament comparison (type + color match indicators) - File type badges - GCODE (green) or SOURCE (orange) badges on archive cards - Project filament colors - Display filament swatches from assigned archives - BOM filter - "Hide done" toggle for completed items - Projects in backup/restore - Include projects, BOM items, and attachments - Attachment validation - File type validation for project attachments Maintenance - Custom maintenance types - No longer auto-assign to all printers; manual per-printer assignment - Delete printer options - Choose to keep or delete archives when deleting a printer UI Improvements - Project card design - Enhanced with gradients, shadows, and glow effects - Confirmation modals - Replace browser confirm dialogs with styled modals - Default timelapse speed - Changed from 2x to 1x --- Bug Fixes - Notifications sent when printer offline - Fixed notification module - Camera stream stopping - Increased timeouts, added auto-reconnection with exponential backoff - A1/P1 camera streaming - Fixed with extended timeouts and lower FPS cap; removed deprecated -stimeout option - Attachment uploads not persisting - Fixed SQLAlchemy JSON column mutation detection - Total print hours calculation - Now includes all prints, not just completed - Mock state bug - Fixed in test fixtures --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:14:56 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#915
No description provided.