diff --git a/PLAN.md b/PLAN.md
index 6d7cdedd2..27cb52dd9 100644
--- a/PLAN.md
+++ b/PLAN.md
@@ -58,7 +58,7 @@ Variables use `{variable_name}` syntax (Python format strings).
### Common Variables (all events):
- `{timestamp}` - Current date/time
-- `{app_name}` - "BambuTrack"
+- `{app_name}` - "Bambuddy"
---
@@ -104,7 +104,7 @@ maintenance_due:
body: "{printer}:\n{items}"
test:
- title: "BambuTrack Test"
+ title: "Bambuddy Test"
body: "This is a test notification. If you see this, notifications are working!"
```
diff --git a/README.md b/README.md
index 8f05d5055..24e230ca3 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@ TESTERS NEEDED!!!
Since I only have X1C and H2D devices, I'm not able to test the application with other Bambu Lab models. Collaborate today and help the project to support the whole Bambu Lab printer family!
-
+
@@ -188,7 +188,7 @@ Since I only have X1C and H2D devices, I'm not able to test the application with
### Network Requirements
- Bambu Lab printer with **LAN Mode** enabled
-- Printer and Bambusy server must be on the same local network
+- Printer and Bambuddy server must be on the same local network
- Ports used: 8883 (MQTT/TLS), 990 (FTPS)
### Supported Printers
@@ -203,8 +203,8 @@ Since I only have X1C and H2D devices, I'm not able to test the application with
```bash
# Clone the repository
-git clone https://github.com/maziggy/bambusy.git
-cd bambusy
+git clone https://github.com/maziggy/bambuddy.git
+cd bambuddy
# Create and activate virtual environment
python3 -m venv venv
@@ -246,8 +246,8 @@ sudo apt install python3 python3-venv python3-pip nodejs npm git
#### Step 2: Clone the Repository
```bash
-git clone https://github.com/maziggy/bambusy.git
-cd bambusy
+git clone https://github.com/maziggy/bambuddy.git
+cd bambuddy
```
#### Step 3: Set Up Python Environment
@@ -300,22 +300,22 @@ Open http://localhost:8000 in your browser.
Create a systemd service for automatic startup:
```bash
-sudo nano /etc/systemd/system/bambusy.service
+sudo nano /etc/systemd/system/bambuddy.service
```
Add the following content (adjust paths as needed):
```ini
[Unit]
-Description=Bambusy Print Archive
+Description=Bambuddy Print Archive
After=network.target
[Service]
Type=simple
User=YOUR_USERNAME
-WorkingDirectory=/home/YOUR_USERNAME/bambusy
-Environment="PATH=/home/YOUR_USERNAME/bambusy/venv/bin"
-ExecStart=/home/YOUR_USERNAME/bambusy/venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
+WorkingDirectory=/home/YOUR_USERNAME/bambuddy
+Environment="PATH=/home/YOUR_USERNAME/bambuddy/venv/bin"
+ExecStart=/home/YOUR_USERNAME/bambuddy/venv/bin/uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
Restart=always
RestartSec=10
@@ -327,31 +327,31 @@ Enable and start the service:
```bash
sudo systemctl daemon-reload
-sudo systemctl enable bambusy
-sudo systemctl start bambusy
+sudo systemctl enable bambuddy
+sudo systemctl start bambuddy
# Check status
-sudo systemctl status bambusy
+sudo systemctl status bambuddy
# View logs
-sudo journalctl -u bambusy -f
+sudo journalctl -u bambuddy -f
```
### Running with Docker (Coming Soon)
```bash
docker run -d \
- --name bambusy \
+ --name bambuddy \
-p 8000:8000 \
- -v bambusy_data:/app/data \
- -v bambusy_archive:/app/archive \
- maziggy/bambusy:latest
+ -v bambuddy_data:/app/data \
+ -v bambuddy_archive:/app/archive \
+ maziggy/bambuddy:latest
```
-### Updating Bambusy
+### Updating Bambuddy
```bash
-cd bambusy
+cd bambuddy
git pull origin main
# Activate virtual environment
@@ -374,7 +374,7 @@ cd ..
### Enabling LAN Mode on Your Printer
-To connect Bambusy to your printer, you need to enable LAN Mode:
+To connect Bambuddy to your printer, you need to enable LAN Mode:
1. On your printer, go to **Settings** > **Network** > **LAN Mode**
2. Enable **LAN Mode** (this requires Developer Mode to be enabled first)
@@ -382,7 +382,7 @@ To connect Bambusy to your printer, you need to enable LAN Mode:
4. Find your printer's **IP Address** in network settings
5. Find your printer's **Serial Number** in device info
-### Adding a Printer in Bambusy
+### Adding a Printer in Bambuddy
1. Go to the **Printers** page
2. Click **Add Printer**
@@ -397,7 +397,7 @@ The printer should connect automatically and show real-time status.
### Environment Variables
-Bambusy can be configured using environment variables or a `.env` file in the project root. Copy `.env.example` to `.env` and adjust as needed:
+Bambuddy can be configured using environment variables or a `.env` file in the project root. Copy `.env.example` to `.env` and adjust as needed:
```bash
cp .env.example .env
@@ -407,12 +407,12 @@ cp .env.example .env
|----------|---------|-------------|
| `DEBUG` | `false` | Enable debug mode (verbose logging, SQL queries) |
| `LOG_LEVEL` | `INFO` | Log level when DEBUG=false (`DEBUG`, `INFO`, `WARNING`, `ERROR`) |
-| `LOG_TO_FILE` | `true` | Write logs to `logs/bambutrack.log` |
+| `LOG_TO_FILE` | `true` | Write logs to `logs/bambuddy.log` |
**Production (default):**
- INFO level logging
- SQLAlchemy and HTTP library noise suppressed
-- Logs written to `logs/bambutrack.log` (5MB rotating, 3 backups)
+- Logs written to `logs/bambuddy.log` (5MB rotating, 3 backups)
**Development (`DEBUG=true`):**
- DEBUG level logging (verbose)
@@ -499,7 +499,7 @@ When a scheduled print is ready to start:
### K-Profiles (Pressure Advance)
-K-profiles store pressure advance (Linear Advance) settings for different filament and nozzle combinations. Bambusy lets you view and manage these settings directly on your printers.
+K-profiles store pressure advance (Linear Advance) settings for different filament and nozzle combinations. Bambuddy lets you view and manage these settings directly on your printers.
#### Viewing K-Profiles
@@ -513,7 +513,7 @@ K-profiles store pressure advance (Linear Advance) settings for different filame
#### Dual-Nozzle Printers (H2 Series)
-For dual-nozzle printers (H2D, H2C, H2S), Bambusy automatically detects the nozzle configuration and displays:
+For dual-nozzle printers (H2D, H2C, H2S), Bambuddy automatically detects the nozzle configuration and displays:
- **Left/Right columns** showing profiles for each extruder
- **Extruder filter** to show profiles for one extruder only
- **Extruder selector** when adding new profiles
@@ -535,7 +535,7 @@ The nozzle count is auto-detected from MQTT temperature data when the printer co
4. For dual-nozzle printers, select Left or Right extruder
5. Enter the K-value and click **Save**
-**Note:** Filaments must first be calibrated in Bambu Studio to appear in the dropdown. Bambusy reads the filament list from existing K-profiles on the printer.
+**Note:** Filaments must first be calibrated in Bambu Studio to appear in the dropdown. Bambuddy reads the filament list from existing K-profiles on the printer.
#### Filtering and Search
@@ -545,7 +545,7 @@ The nozzle count is auto-detected from MQTT temperature data when the printer co
### Smart Plug Integration
-Bambusy supports Tasmota-based smart plugs for automated power control. This is useful for:
+Bambuddy supports Tasmota-based smart plugs for automated power control. This is useful for:
- Automatically turning on your printer when a print starts
- Safely turning off the printer after it cools down
- Energy savings by powering off idle printers
@@ -597,7 +597,7 @@ Use cases:
#### Power Monitoring & Alerts
-For Tasmota plugs with energy monitoring (e.g., Sonoff S31), Bambusy can alert you when power consumption exceeds a threshold:
+For Tasmota plugs with energy monitoring (e.g., Sonoff S31), Bambuddy can alert you when power consumption exceeds a threshold:
1. Enable **Power Alert** in the plug settings
2. Set the **Power Threshold** in watts (e.g., 200W)
@@ -618,7 +618,7 @@ Each plug card shows:
### Push Notifications
-Bambusy can send push notifications when print events occur. Notifications are useful for monitoring prints remotely without checking the app constantly.
+Bambuddy can send push notifications when print events occur. Notifications are useful for monitoring prints remotely without checking the app constantly.
#### Supported Providers
@@ -713,7 +713,7 @@ Common variables available for all events: `{timestamp}`, `{app_name}`
### Spoolman Integration
-Bambusy integrates with [Spoolman](https://github.com/Donkie/Spoolman) for filament inventory management. When enabled, AMS filament data syncs with your Spoolman server, allowing you to track remaining filament across all your spools.
+Bambuddy integrates with [Spoolman](https://github.com/Donkie/Spoolman) for filament inventory management. When enabled, AMS filament data syncs with your Spoolman server, allowing you to track remaining filament across all your spools.
#### Prerequisites
@@ -745,7 +745,7 @@ When connected:
#### How Syncing Works
-Bambusy matches AMS spools to Spoolman spools using the **tray UUID** - a unique 32-character identifier that Bambu Lab assigns to each original spool. This ensures consistent matching across different printer models.
+Bambuddy matches AMS spools to Spoolman spools using the **tray UUID** - a unique 32-character identifier that Bambu Lab assigns to each original spool. This ensures consistent matching across different printer models.
**What gets synced:**
- Remaining filament weight (from AMS sensor)
@@ -768,7 +768,7 @@ Bambusy matches AMS spools to Spoolman spools using the **tray UUID** - a unique
- This is normal behavior - they don't have Bambu Lab tray UUIDs
**Connection issues:**
-- Verify the Spoolman URL is accessible from your Bambusy server
+- Verify the Spoolman URL is accessible from your Bambuddy server
- Check that no firewall is blocking port 7912 (or your custom port)
- Ensure Spoolman is running and healthy
@@ -778,22 +778,22 @@ Bambusy matches AMS spools to Spoolman spools using the **tray UUID** - a unique
1. Add CallMeBot to your contacts: +34 644 51 95 23
2. Send "I allow callmebot to send me messages" via WhatsApp
3. You'll receive an API key
-4. Enter your phone number (with country code) and API key in Bambusy
+4. Enter your phone number (with country code) and API key in Bambuddy
**ntfy:**
1. Choose a unique topic name (e.g., `my-printer-alerts-xyz123`)
2. Subscribe to it on your phone using the ntfy app or web interface
-3. Enter the topic name in Bambusy (server defaults to ntfy.sh)
+3. Enter the topic name in Bambuddy (server defaults to ntfy.sh)
**Pushover:**
1. Create an account at [pushover.net](https://pushover.net/)
2. Create an application to get an API token
-3. Enter your user key and app token in Bambusy
+3. Enter your user key and app token in Bambuddy
**Telegram:**
1. Message @BotFather on Telegram to create a bot
2. Get your chat ID by messaging @userinfobot
-3. Enter the bot token and chat ID in Bambusy
+3. Enter the bot token and chat ID in Bambuddy
**Email:**
1. Configure your SMTP server settings
@@ -805,12 +805,12 @@ Bambusy matches AMS spools to Spoolman spools using the **tray UUID** - a unique
1. In your Discord server, go to channel settings > Integrations > Webhooks
2. Click "New Webhook" and customize the name/avatar if desired
3. Copy the webhook URL
-4. Paste the webhook URL in Bambusy
+4. Paste the webhook URL in Bambuddy
**Webhook (Generic):**
1. Enter any URL that accepts POST requests
2. Optionally add custom headers (e.g., Authorization tokens)
-3. Bambusy sends JSON payloads with event details
+3. Bambuddy sends JSON payloads with event details
4. Useful for integrating with custom systems, Home Assistant, IFTTT, etc.
## Tech Stack
@@ -824,7 +824,7 @@ Bambusy matches AMS spools to Spoolman spools using the **tray UUID** - a unique
## Project Structure
```
-bambusy/
+bambuddy/
├── backend/
│ └── app/
│ ├── api/routes/ # API endpoints
@@ -835,7 +835,7 @@ bambusy/
├── frontend/ # React application
├── static/ # Built frontend + images
├── archive/ # Stored 3MF files
-└── bambusy.db # SQLite database
+└── bambuddy.db # SQLite database
```
## API Documentation
@@ -884,27 +884,27 @@ Contributions are welcome! Please feel free to submit a Pull Request.
### Database errors
-The SQLite database (`bambusy.db`) is created automatically. If you encounter issues:
+The SQLite database (`bambuddy.db`) is created automatically. If you encounter issues:
```bash
# Backup and reset database
-mv bambusy.db bambusy.db.backup
+mv bambuddy.db bambuddy.db.backup
# Restart the application - a new database will be created
```
### View server logs
-Bambusy writes logs to `bambutrack.log` in the application directory (rotating, max 5MB × 3 files).
+Bambuddy writes logs to `bambuddy.log` in the application directory (rotating, max 5MB × 3 files).
```bash
# View live log file
-tail -f bambutrack.log
+tail -f bambuddy.log
# If running directly with verbose output
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --log-level debug
# If running as systemd service
-sudo journalctl -u bambusy -f
+sudo journalctl -u bambuddy -f
```
### Smart plug not responding
@@ -913,13 +913,13 @@ sudo journalctl -u bambusy -f
2. **Test via browser** - Visit `http:///cm?cmnd=Power` to test directly
3. **Check Tasmota web interface** - Access `http://` to verify Tasmota is running
4. **Authentication** - If Tasmota has a password set, configure it in the plug settings
-5. **Firewall** - Ensure port 80 is accessible between Bambusy server and the plug
+5. **Firewall** - Ensure port 80 is accessible between Bambuddy server and the plug
### Auto power-off not working
1. **Check plug is linked** - The plug must be linked to a printer for automation
2. **Verify automation is enabled** - Check the Enabled, Auto On, and Auto Off toggles
-3. **Temperature mode issues** - If using temperature mode, ensure the printer is still connected so Bambusy can read the nozzle temperature
+3. **Temperature mode issues** - If using temperature mode, ensure the printer is still connected so Bambuddy can read the nozzle temperature
### Scheduled print not starting
@@ -927,7 +927,7 @@ sudo journalctl -u bambusy -f
2. **Verify smart plug** - If using auto power-on, ensure the smart plug is configured and working
3. **Check queue status** - Look at the queue page for error messages
4. **Time zone issues** - Scheduled times are in your local time zone; ensure your system clock is correct
-5. **View logs** - Check `bambutrack.log` for detailed error messages
+5. **View logs** - Check `bambuddy.log` for detailed error messages
### Print queue shows "Failed to start"
@@ -939,7 +939,7 @@ Common causes:
### Timelapse not attaching automatically
**The Problem:**
-When printers run in **LAN-only mode** (disconnected from Bambu Cloud), they cannot sync time via NTP. This causes the printer's internal clock to drift significantly (sometimes days or weeks off). Bambusy matches timelapses by comparing the print completion time with the timelapse file's modification time - when the printer's clock is wrong, this matching fails.
+When printers run in **LAN-only mode** (disconnected from Bambu Cloud), they cannot sync time via NTP. This causes the printer's internal clock to drift significantly (sometimes days or weeks off). Bambuddy matches timelapses by comparing the print completion time with the timelapse file's modification time - when the printer's clock is wrong, this matching fails.
**Symptoms:**
- "Scan for Timelapse" shows "No matching timelapse found"
@@ -947,7 +947,7 @@ When printers run in **LAN-only mode** (disconnected from Bambu Cloud), they can
- Printer shows incorrect date/time in its settings
**Workaround - Manual Selection:**
-When automatic matching fails, Bambusy now offers manual timelapse selection:
+When automatic matching fails, Bambuddy now offers manual timelapse selection:
1. Right-click the archive and select **"Scan for Timelapse"**
2. If no match is found, a dialog appears showing all available timelapse files on the printer
diff --git a/backend/app/api/routes/settings.py b/backend/app/api/routes/settings.py
index 691fefbda..359cf716b 100644
--- a/backend/app/api/routes/settings.py
+++ b/backend/app/api/routes/settings.py
@@ -408,7 +408,7 @@ async def export_backup(
pass # Skip files that can't be read
zip_buffer.seek(0)
- filename = f"bambusy-backup-{datetime.now().strftime('%Y%m%d-%H%M%S')}.zip"
+ filename = f"bambuddy-backup-{datetime.now().strftime('%Y%m%d-%H%M%S')}.zip"
return StreamingResponse(
zip_buffer,
media_type="application/zip",
@@ -419,7 +419,7 @@ async def export_backup(
return JSONResponse(
content=backup,
headers={
- "Content-Disposition": f"attachment; filename=bambusy-backup-{datetime.now().strftime('%Y%m%d-%H%M%S')}.json"
+ "Content-Disposition": f"attachment; filename=bambuddy-backup-{datetime.now().strftime('%Y%m%d-%H%M%S')}.json"
}
)
diff --git a/backend/app/core/config.py b/backend/app/core/config.py
index c6f77633c..2fc9f9578 100644
--- a/backend/app/core/config.py
+++ b/backend/app/core/config.py
@@ -1,21 +1,49 @@
from pathlib import Path
from pydantic_settings import BaseSettings
+import logging
# Application version - single source of truth
APP_VERSION = "0.1.5b"
-GITHUB_REPO = "maziggy/bambusy"
+GITHUB_REPO = "maziggy/bambuddy"
+
+# Base directory for path calculations
+_base_dir = Path(__file__).resolve().parent.parent.parent.parent
+
+
+def _migrate_database() -> Path:
+ """Migrate database from old name to new name if needed."""
+ old_db = _base_dir / "bambutrack.db"
+ new_db = _base_dir / "bambuddy.db"
+
+ # If old database exists and new one doesn't, rename it
+ if old_db.exists() and not new_db.exists():
+ try:
+ old_db.rename(new_db)
+ logging.info(f"Migrated database: {old_db} -> {new_db}")
+ except Exception as e:
+ logging.warning(f"Could not migrate database: {e}. Using old location.")
+ return old_db
+
+ # If old database exists (and new one now exists too), it was migrated
+ # If only new exists, use new
+ # If neither exists, use new (will be created)
+ return new_db if new_db.exists() or not old_db.exists() else old_db
+
+
+# Determine database path (handles migration)
+_db_path = _migrate_database()
class Settings(BaseSettings):
- app_name: str = "BambuTrack"
+ app_name: str = "Bambuddy"
debug: bool = False # Default to production mode
# Paths
- base_dir: Path = Path(__file__).resolve().parent.parent.parent.parent
+ base_dir: Path = _base_dir
archive_dir: Path = base_dir / "archive"
static_dir: Path = base_dir / "static"
log_dir: Path = base_dir / "logs"
- database_url: str = f"sqlite+aiosqlite:///{base_dir}/bambutrack.db"
+ database_url: str = f"sqlite+aiosqlite:///{_db_path}"
# Logging
log_level: str = "INFO" # Override with LOG_LEVEL env var or DEBUG=true
diff --git a/backend/app/i18n/__init__.py b/backend/app/i18n/__init__.py
index 580662a72..454536897 100644
--- a/backend/app/i18n/__init__.py
+++ b/backend/app/i18n/__init__.py
@@ -33,8 +33,8 @@ EN = {
"soon": "Soon",
# Test notification
- "test_title": "BambuTrack Test",
- "test_message": "This is a test notification from BambuTrack. If you see this, notifications are working correctly!",
+ "test_title": "Bambuddy Test",
+ "test_message": "This is a test notification from Bambuddy. If you see this, notifications are working correctly!",
}
}
@@ -69,8 +69,8 @@ DE = {
"soon": "Bald",
# Test notification
- "test_title": "BambuTrack Test",
- "test_message": "Dies ist eine Testbenachrichtigung von BambuTrack. Wenn Sie dies sehen, funktionieren die Benachrichtigungen!",
+ "test_title": "Bambuddy Test",
+ "test_message": "Dies ist eine Testbenachrichtigung von Bambuddy. Wenn Sie dies sehen, funktionieren die Benachrichtigungen!",
}
}
diff --git a/backend/app/main.py b/backend/app/main.py
index f2379b14b..fcedabc79 100644
--- a/backend/app/main.py
+++ b/backend/app/main.py
@@ -29,7 +29,7 @@ root_logger.addHandler(console_handler)
# File handler - only in production or if explicitly enabled
if app_settings.log_to_file:
- log_file = app_settings.log_dir / "bambutrack.log"
+ log_file = app_settings.log_dir / "bambuddy.log"
file_handler = RotatingFileHandler(
log_file,
maxBytes=5*1024*1024, # 5MB
@@ -47,7 +47,7 @@ if not app_settings.debug:
logging.getLogger("httpcore").setLevel(logging.WARNING)
logging.getLogger("httpx").setLevel(logging.WARNING)
-logging.info(f"BambuTrack starting - debug={app_settings.debug}, log_level={log_level_str}")
+logging.info(f"Bambuddy starting - debug={app_settings.debug}, log_level={log_level_str}")
from fastapi.staticfiles import StaticFiles
from fastapi.responses import FileResponse
@@ -1062,7 +1062,7 @@ async def serve_frontend():
if index_file.exists():
return FileResponse(index_file)
return {
- "message": "BambuTrack API",
+ "message": "Bambuddy API",
"docs": "/docs",
"frontend": "Build and place React app in /static directory",
}
diff --git a/backend/app/models/notification_template.py b/backend/app/models/notification_template.py
index f485ee4d0..27543715f 100644
--- a/backend/app/models/notification_template.py
+++ b/backend/app/models/notification_template.py
@@ -84,7 +84,7 @@ DEFAULT_TEMPLATES = [
{
"event_type": "test",
"name": "Test Notification",
- "title_template": "BambuTrack Test",
+ "title_template": "Bambuddy Test",
"body_template": "This is a test notification. If you see this, notifications are working!",
},
]
diff --git a/backend/app/schemas/notification_template.py b/backend/app/schemas/notification_template.py
index 52af8bf67..cd6c5b3a3 100644
--- a/backend/app/schemas/notification_template.py
+++ b/backend/app/schemas/notification_template.py
@@ -42,7 +42,7 @@ SAMPLE_DATA: dict[str, dict[str, str]] = {
"filename": "Benchy.3mf",
"estimated_time": "1h 23m",
"timestamp": "2024-01-15 14:30",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"print_complete": {
"printer": "Bambu X1C",
@@ -50,7 +50,7 @@ SAMPLE_DATA: dict[str, dict[str, str]] = {
"duration": "1h 18m",
"filament_grams": "15.2",
"timestamp": "2024-01-15 15:48",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"print_failed": {
"printer": "Bambu X1C",
@@ -58,14 +58,14 @@ SAMPLE_DATA: dict[str, dict[str, str]] = {
"duration": "0h 45m",
"reason": "Filament runout",
"timestamp": "2024-01-15 15:15",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"print_stopped": {
"printer": "Bambu X1C",
"filename": "Benchy.3mf",
"duration": "0h 30m",
"timestamp": "2024-01-15 15:00",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"print_progress": {
"printer": "Bambu X1C",
@@ -73,19 +73,19 @@ SAMPLE_DATA: dict[str, dict[str, str]] = {
"progress": "50",
"remaining_time": "0h 41m",
"timestamp": "2024-01-15 15:00",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"printer_offline": {
"printer": "Bambu X1C",
"timestamp": "2024-01-15 14:30",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"printer_error": {
"printer": "Bambu X1C",
"error_type": "AMS Error",
"error_detail": "Filament slot 1 jammed",
"timestamp": "2024-01-15 14:30",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"filament_low": {
"printer": "Bambu X1C",
@@ -93,16 +93,16 @@ SAMPLE_DATA: dict[str, dict[str, str]] = {
"remaining_percent": "15",
"color": "Black PLA",
"timestamp": "2024-01-15 14:30",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"maintenance_due": {
"printer": "Bambu X1C",
"items": "• Nozzle cleaning (OVERDUE)\n• Carbon rod lubrication (Soon)",
"timestamp": "2024-01-15 14:30",
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
},
"test": {
- "app_name": "BambuTrack",
+ "app_name": "Bambuddy",
"timestamp": "2024-01-15 14:30",
},
}
diff --git a/backend/app/services/bambu_cloud.py b/backend/app/services/bambu_cloud.py
index b6f383ed9..cf9911ba3 100644
--- a/backend/app/services/bambu_cloud.py
+++ b/backend/app/services/bambu_cloud.py
@@ -50,7 +50,7 @@ class BambuCloudService:
"""Get headers for authenticated requests."""
headers = {
"Content-Type": "application/json",
- "User-Agent": "BambuTrack/1.0",
+ "User-Agent": "Bambuddy/1.0",
}
if self.access_token:
headers["Authorization"] = f"Bearer {self.access_token}"
diff --git a/backend/app/services/bambu_mqtt.py b/backend/app/services/bambu_mqtt.py
index f4cc68dbb..309610546 100644
--- a/backend/app/services/bambu_mqtt.py
+++ b/backend/app/services/bambu_mqtt.py
@@ -1502,7 +1502,7 @@ class BambuMQTTClient:
self._loop = loop
self._client = mqtt.Client(
callback_api_version=mqtt.CallbackAPIVersion.VERSION2,
- client_id=f"bambutrack_{self.serial_number}",
+ client_id=f"bambuddy_{self.serial_number}",
protocol=mqtt.MQTTv311,
)
diff --git a/backend/app/services/notification_service.py b/backend/app/services/notification_service.py
index 6d0cf2fd4..87eedd88c 100644
--- a/backend/app/services/notification_service.py
+++ b/backend/app/services/notification_service.py
@@ -119,7 +119,7 @@ class NotificationService:
"""Build notification title and body from template."""
# Add common variables
variables["timestamp"] = datetime.now().strftime("%Y-%m-%d %H:%M")
- variables["app_name"] = "BambuTrack"
+ variables["app_name"] = "Bambuddy"
template = await self._get_template(db, event_type)
if not template:
@@ -139,7 +139,7 @@ class NotificationService:
if db:
title, message = await self._build_message_from_template(db, "test", {})
else:
- title = "BambuTrack Test"
+ title = "Bambuddy Test"
message = "This is a test notification. If you see this, notifications are working!"
try:
@@ -287,7 +287,7 @@ class NotificationService:
msg = MIMEMultipart()
msg["From"] = from_email
msg["To"] = to_email
- msg["Subject"] = f"[BambuTrack] {subject}"
+ msg["Subject"] = f"[Bambuddy] {subject}"
msg.attach(MIMEText(body, "plain"))
if security == "ssl":
@@ -357,7 +357,7 @@ class NotificationService:
custom_field_title: title,
custom_field_message: message,
"timestamp": datetime.now().isoformat(),
- "source": "BambuTrack",
+ "source": "Bambuddy",
}
headers = {"Content-Type": "application/json"}
diff --git a/frontend/index.html b/frontend/index.html
index 7f4bed61f..8727e069a 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -3,7 +3,7 @@
- Bambusy
+ Bambuddy
diff --git a/frontend/public/img/android-chrome-192x192.png b/frontend/public/img/android-chrome-192x192.png
index a394aed35..b0a45c6c0 100644
Binary files a/frontend/public/img/android-chrome-192x192.png and b/frontend/public/img/android-chrome-192x192.png differ
diff --git a/frontend/public/img/android-chrome-512x512.png b/frontend/public/img/android-chrome-512x512.png
index 1f3509f6d..5f871b422 100644
Binary files a/frontend/public/img/android-chrome-512x512.png and b/frontend/public/img/android-chrome-512x512.png differ
diff --git a/frontend/public/img/apple-touch-icon.png b/frontend/public/img/apple-touch-icon.png
index 69e136c42..63cb2e2f6 100644
Binary files a/frontend/public/img/apple-touch-icon.png and b/frontend/public/img/apple-touch-icon.png differ
diff --git a/frontend/public/img/bambuddy_logo_dark.png b/frontend/public/img/bambuddy_logo_dark.png
new file mode 100644
index 000000000..125103460
Binary files /dev/null and b/frontend/public/img/bambuddy_logo_dark.png differ
diff --git a/frontend/public/img/bambuddy_logo_light.png b/frontend/public/img/bambuddy_logo_light.png
new file mode 100644
index 000000000..a123aa63d
Binary files /dev/null and b/frontend/public/img/bambuddy_logo_light.png differ
diff --git a/frontend/public/img/bambusy_logo_dark.png b/frontend/public/img/bambusy_logo_dark.png
deleted file mode 100644
index d026dd6ff..000000000
Binary files a/frontend/public/img/bambusy_logo_dark.png and /dev/null differ
diff --git a/frontend/public/img/bambusy_logo_light.png b/frontend/public/img/bambusy_logo_light.png
deleted file mode 100644
index 13311f9e0..000000000
Binary files a/frontend/public/img/bambusy_logo_light.png and /dev/null differ
diff --git a/frontend/public/img/favicon-16x16.png b/frontend/public/img/favicon-16x16.png
index df56b4740..1b016c05b 100644
Binary files a/frontend/public/img/favicon-16x16.png and b/frontend/public/img/favicon-16x16.png differ
diff --git a/frontend/public/img/favicon-32x32.png b/frontend/public/img/favicon-32x32.png
index a727e0122..daf516eae 100644
Binary files a/frontend/public/img/favicon-32x32.png and b/frontend/public/img/favicon-32x32.png differ
diff --git a/frontend/public/img/favicon.png b/frontend/public/img/favicon.png
index 1f3509f6d..5a513bcaf 100644
Binary files a/frontend/public/img/favicon.png and b/frontend/public/img/favicon.png differ
diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts
index e081476db..dc80dcc90 100644
--- a/frontend/src/api/client.ts
+++ b/frontend/src/api/client.ts
@@ -1166,7 +1166,7 @@ export const api = {
// Get filename from Content-Disposition header
const contentDisposition = response.headers.get('Content-Disposition');
- let filename = 'bambusy-backup.json';
+ let filename = 'bambuddy-backup.json';
if (contentDisposition) {
const match = contentDisposition.match(/filename=([^;]+)/);
if (match) filename = match[1].trim();
diff --git a/frontend/src/components/AddNotificationModal.tsx b/frontend/src/components/AddNotificationModal.tsx
index 22a0a8028..401ddc848 100644
--- a/frontend/src/components/AddNotificationModal.tsx
+++ b/frontend/src/components/AddNotificationModal.tsx
@@ -167,7 +167,7 @@ export function AddNotificationModal({ provider, onClose }: AddNotificationModal
case 'ntfy':
return [
{ key: 'server', label: 'Server URL', placeholder: 'https://ntfy.sh', type: 'text', required: false },
- { key: 'topic', label: 'Topic', placeholder: 'my-bambutrack', type: 'text', required: true },
+ { key: 'topic', label: 'Topic', placeholder: 'my-bambuddy', type: 'text', required: true },
{ key: 'auth_token', label: 'Auth Token', placeholder: 'Optional authentication', type: 'password', required: false },
];
case 'pushover':
diff --git a/frontend/src/components/KProfilesView.tsx b/frontend/src/components/KProfilesView.tsx
index 8e1842f49..2b99e6449 100644
--- a/frontend/src/components/KProfilesView.tsx
+++ b/frontend/src/components/KProfilesView.tsx
@@ -580,7 +580,7 @@ function KProfileModal({
className="w-full px-3 py-2 bg-bambu-dark border border-bambu-dark-tertiary rounded-lg text-white placeholder-bambu-gray focus:border-bambu-green focus:outline-none resize-none"
/>
- Notes are saved in Bambusy, not on the printer
+ Notes are saved in Bambuddy, not on the printer
diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx
index b0822fe76..81865c7c4 100644
--- a/frontend/src/components/Layout.tsx
+++ b/frontend/src/components/Layout.tsx
@@ -215,8 +215,8 @@ export function Layout() {
{/* Logo */}