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

[GH-ISSUE #691] [Bug Report] Beim Linken eines zweiten Smart Plug (beide über HA) erhalte ich einen Fehler 50 #457

Closed
opened 2026-05-07 00:10:27 +02:00 by BreizhHardware · 1 comment

Originally created by @maziggy on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/691

Originally assigned to: @maziggy on GitHub.

Beim Linken eines zweiten Smart Plug (beide über HA) erhalte ich einen Fehler 500.

Screenshot

Bug Report Screenshot

Reporter Contact

Email: manuelw@filaman.app

System Information
{
  "generated_at": "2026-03-13T13:12:04.075527",
  "app": {
    "version": "0.2.2b3",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.17.0-8-generic",
    "platform_version": "#8-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 21:44:46 UTC 2025",
    "architecture": "x86_64",
    "python_version": "3.13.12"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Berlin"
  },
  "database": {
    "archives_total": 2,
    "archives_completed": 2,
    "printers_total": 1,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 2
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": false,
      "state": "unknown",
      "firmware_version": "01.09.01.00",
      "wifi_signal": -49,
      "reachable": false,
      "ams_unit_count": 1,
      "ams_tray_count": 3,
      "has_vt_tray": true,
      "external_camera_configured": true,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": null,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "20.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.3",
    "energy_tracking_mode": "print",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "notification_language": "de",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "per_printer_mapping_expanded": "false",
    "date_format": "eu",
    "time_format": "system",
    "default_printer_id": "1",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "ha_enabled": "true",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "embedded",
    "prometheus_enabled": "false",
    "include_beta_updates": "false",
    "bed_cooled_threshold": "35.0",
    "ftp_timeout": "30",
    "preferred_slicer": "bambu_studio",
    "spoolman_enabled": "false",
    "spoolman_sync_mode": "manual",
    "spoolman_disable_weight_sync": "false",
    "spoolman_report_partial_usage": "true"
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [
    {
      "index": 1,
      "enabled": true,
      "mode": "print_queue",
      "model": "C12",
      "model_name": "P1S",
      "has_target_printer": true,
      "has_bind_ip": true,
      "running": true,
      "pending_files": 0
    }
  ],
  "integrations": {
    "notification_providers": [],
    "spoolman": {
      "enabled": true,
      "reachable": true
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 524288,
    "wal_size_bytes": 4124152
  },
  "dependencies": {
    "fastapi": "0.135.1",
    "uvicorn": "0.41.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.48",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.5",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.3"
  },
  "log_file": {
    "size_bytes": 1689901,
    "size_formatted": "1.6 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "enp2s0",
        "subnet": "x.x.1.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 2
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Mar 13, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/691 Originally assigned to: @maziggy on GitHub. Beim Linken eines zweiten Smart Plug (beide über HA) erhalte ich einen Fehler 500. ### Screenshot ![Bug Report Screenshot](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/screenshots/e9beffbcf53f490f90768b8bc6110b06.png) <details> <summary>Reporter Contact</summary> Email: manuelw@filaman.app </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-03-13T13:12:04.075527", "app": { "version": "0.2.2b3", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.17.0-8-generic", "platform_version": "#8-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 21:44:46 UTC 2025", "architecture": "x86_64", "python_version": "3.13.12" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Berlin" }, "database": { "archives_total": 2, "archives_completed": 2, "printers_total": 1, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 2 }, "printers": [ { "index": 1, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": false, "state": "unknown", "firmware_version": "01.09.01.00", "wifi_signal": -49, "reachable": false, "ams_unit_count": 1, "ams_tray_count": 3, "has_vt_tray": true, "external_camera_configured": true, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": null, "nozzle_rack_count": 0 } ], "settings": { "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "20.0", "currency": "EUR", "energy_cost_per_kwh": "0.3", "energy_tracking_mode": "print", "check_updates": "true", "check_printer_firmware": "true", "notification_language": "de", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "per_printer_mapping_expanded": "false", "date_format": "eu", "time_format": "system", "default_printer_id": "1", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "ha_enabled": "true", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "embedded", "prometheus_enabled": "false", "include_beta_updates": "false", "bed_cooled_threshold": "35.0", "ftp_timeout": "30", "preferred_slicer": "bambu_studio", "spoolman_enabled": "false", "spoolman_sync_mode": "manual", "spoolman_disable_weight_sync": "false", "spoolman_report_partial_usage": "true" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [ { "index": 1, "enabled": true, "mode": "print_queue", "model": "C12", "model_name": "P1S", "has_target_printer": true, "has_bind_ip": true, "running": true, "pending_files": 0 } ], "integrations": { "notification_providers": [], "spoolman": { "enabled": true, "reachable": true }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "homeassistant": { "enabled": true } }, "database_health": { "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 524288, "wal_size_bytes": 4124152 }, "dependencies": { "fastapi": "0.135.1", "uvicorn": "0.41.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.48", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.5", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.3" }, "log_file": { "size_bytes": 1689901, "size_formatted": "1.6 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "enp2s0", "subnet": "x.x.1.0/24" } ] }, "websockets": { "active_connections": 2 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/0820b61b7c4d4c3294937cb3369db634.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:10:27 +02:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@maziggy commented on GitHub (Mar 13, 2026):

Please don't open duplicate issues.

<!-- gh-comment-id:4054842957 --> @maziggy commented on GitHub (Mar 13, 2026): Please don't open duplicate issues.
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#457
No description provided.