Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] HMS 07ff-7000-0002-0003 when using "Load Filament" service without AMS #1041

Open
coltography opened this issue Feb 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@coltography
Copy link

Home Assistant Version

2024.12.4

Bambu Lab Integration Version

2.1.4

Describe the bug

Tried out the load filament service and it starts as expected, but once the filament is loaded it throws the error code on the printer and sits there at 250C nozzle temperature until timing out - there isn't a "done" confirmation or anything. I suspect this might just be a limitation of how the filament is being loaded through the integration and there may not be a fix for it. I had to manually go into the menu Feeding > Load > Done to get it to complete.

I also couldn't print anything from Orcaslicer as it said the printer was busy until I manually completed the filament loading.

To Reproduce

action: bambu_lab.load_filament
target:
  device_id: #################
data:
  external_spool: true
  temperature: 250

Expected Behaviour

Load filament > complete sequence and return printer back to a printable state

What device are you using?

P1S

Diagnostic Output

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.12.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.13.0",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Vancouver",
    "os_name": "Linux",
    "os_version": "6.6.63-haos",
    "supervisor": "2025.02.1",
    "host_os": "Home Assistant OS 14.0",
    "docker_version": "27.2.0",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "midea_ac_lan": {
      "documentation": "https://github.com/wuwentao/midea_ac_lan#readme",
      "version": "v0.6.4",
      "requirements": [
        "pycryptodome",
        "midea-local==6.0.2"
      ]
    },
    "dual_smart_thermostat": {
      "documentation": "ttps://github.com/swingerman/ha-dual-smart-thermostat.git",
      "version": "0.5.5",
      "requirements": []
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.3.0",
      "requirements": [
        "pytz"
      ]
    },
    "bambu_lab": {
      "documentation": "https://github.com/greghesp/ha-bambulab",
      "version": "2.1.4",
      "requirements": [
        "cloudscraper"
      ]
    },
    "llmvision": {
      "documentation": "https://github.com/valentinfrlch/ha-llmvision",
      "version": "1.3.1",
      "requirements": []
    },
    "long_shell_command": {
      "documentation": "https://www.home-assistant.io/integrations/shell_command",
      "version": "1.0.0",
      "requirements": []
    },
    "zha_toolkit": {
      "documentation": "https://github.com/mdeweerd/zha-toolkit",
      "version": "v1.1.25",
      "requirements": [
        "aiofiles>=0.4.0",
        "pytz>=2016.10"
      ]
    },
    "sonoff": {
      "documentation": "https://github.com/AlexxIT/SonoffLAN",
      "version": "3.7.3",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    },
    "llama_conversation": {
      "documentation": "https://github.com/acon96/home-llm",
      "version": "0.3.7",
      "requirements": [
        "huggingface-hub>=0.23.0",
        "webcolors>=24.8.0"
      ]
    },
    "hass_agent": {
      "documentation": "https://github.com/hass-agent/HASS.Agent-Integration",
      "version": "2.1.0-beta1",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "alexa_media": {
      "documentation": "https://github.com/alandtse/alexa_media_player/wiki",
      "version": "5.1.0",
      "requirements": [
        "alexapy==1.29.5",
        "packaging>=20.3",
        "wrapt>=1.14.0"
      ]
    },
    "spook_inverse": {
      "documentation": "https://spook.boo",
      "version": "3.1.0",
      "requirements": []
    },
    "spook": {
      "documentation": "https://spook.boo",
      "version": "3.1.0",
      "requirements": []
    },
    "smartthinq_sensors": {
      "documentation": "https://github.com/ollo69/ha-smartthinq-sensors",
      "version": "0.39.2",
      "requirements": [
        "pycountry>=23.12.11",
        "xmltodict>=0.13.0",
        "charset_normalizer>=3.2.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "bambu_lab",
    "name": "Bambu Lab",
    "codeowners": [
      "greghesp",
      "AdrianGarside"
    ],
    "config_flow": true,
    "dependencies": [
      "device_automation",
      "http",
      "websocket_api",
      "ffmpeg",
      "mqtt",
      "frontend",
      "lovelace"
    ],
    "documentation": "https://github.com/greghesp/ha-bambulab",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/greghesp/ha-bambulab/issues",
    "requirements": [
      "cloudscraper"
    ],
    "ssdp": [
      {
        "st": "urn:bambulab-com:device:3dprinter:1"
      }
    ],
    "version": "2.1.4",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 2.4282955564558506e-05
    },
    "01JF4FJF8AA38HMSSJQYP9FGV8": {
      "wait_import_platforms": -0.42313411802751943,
      "wait_base_component": -0.0016768590430729091,
      "config_entry_setup": 1.0754949820111506,
      "config_entry_platform_setup": 0.06360695301555097
    }
  },
  "data": {
    "config_entry": {
      "created_at": "2024-12-15T06:19:57.578269+00:00",
      "data": {
        "device_type": "P1S",
        "serial": "**REDACTED**"
      },
      "discovery_keys": {},
      "disabled_by": null,
      "domain": "bambu_lab",
      "entry_id": "01JF4FJF8AA38HMSSJQYP9FGV8",
      "minor_version": 1,
      "modified_at": "2025-02-17T09:32:01.495128+00:00",
      "options": {
        "access_code": "**REDACTED**",
        "auth_token": "**REDACTED**",
        "camera_as_image_sensor": false,
        "email": "**REDACTED**",
        "host": "192.168.0.28",
        "local_mqtt": true,
        "name": "REALIZ3R",
        "region": "NorthAmerica",
        "usage_hours": 492.65999999999985,
        "username": "**REDACTED**"
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "title": "**REDACTED**",
      "unique_id": null,
      "version": 2
    },
    "push_all": {
      "ipcam": {
        "ipcam_dev": "1",
        "ipcam_record": "disable",
        "timelapse": "disable",
        "resolution": "",
        "tutk_server": "disable",
        "mode_bits": 3
      },
      "upload": {
        "status": "idle",
        "progress": 0,
        "message": ""
      },
      "net": {
        "conf": 0,
        "info": [
          {
            "ip": 469805248,
            "mask": 16777215
          }
        ]
      },
      "nozzle_temper": 250.03125,
      "nozzle_target_temper": 250,
      "bed_temper": 28.96875,
      "bed_target_temper": 0,
      "chamber_temper": 5,
      "mc_print_stage": "1",
      "heatbreak_fan_speed": "15",
      "cooling_fan_speed": "0",
      "big_fan1_speed": "0",
      "big_fan2_speed": "0",
      "mc_percent": 0,
      "mc_remaining_time": 0,
      "ams_status": 262,
      "ams_rfid_status": 6,
      "hw_switch_state": 1,
      "spd_mag": 100,
      "spd_lvl": 2,
      "print_error": 134184967,
      "lifecycle": "product",
      "wifi_signal": "-52dBm",
      "gcode_state": "IDLE",
      "gcode_file_prepare_percent": "0",
      "queue_number": 0,
      "queue_total": 0,
      "queue_est": 0,
      "queue_sts": 0,
      "project_id": "0",
      "profile_id": "0",
      "task_id": "0",
      "subtask_id": "0",
      "subtask_name": "",
      "gcode_file": "",
      "stg": [],
      "stg_cur": 24,
      "print_type": "idle",
      "home_flag": 7554323,
      "mc_print_line_number": "0",
      "mc_print_sub_stage": 0,
      "sdcard": true,
      "force_upgrade": false,
      "mess_production_state": "active",
      "layer_num": 0,
      "total_layer_num": 0,
      "s_obj": [],
      "filam_bak": [],
      "fan_gear": 0,
      "nozzle_diameter": "0.4",
      "nozzle_type": "hardened_steel",
      "cali_version": 0,
      "k": "0.0200",
      "flag3": 15,
      "upgrade_state": {
        "sequence_id": 0,
        "progress": "",
        "status": "IDLE",
        "consistency_request": false,
        "dis_state": 0,
        "err_code": 0,
        "force_upgrade": false,
        "message": "0%, 0B/s",
        "module": "",
        "new_version_state": 0,
        "cur_state_code": 2,
        "idx2": 966766737,
        "new_ver_list": []
      },
      "hms": [
        {
          "attr": 134180864,
          "code": 131075,
          "action": 0,
          "timestamp": 1738114105
        }
      ],
      "online": {
        "ahb": false,
        "rfid": false,
        "version": 625068055
      },
      "ams": {
        "ams": [],
        "ams_exist_bits": "0",
        "tray_exist_bits": "0",
        "tray_is_bbl_bits": "0",
        "tray_tar": "254",
        "tray_now": "254",
        "tray_pre": "254",
        "tray_read_done_bits": "0",
        "tray_reading_bits": "0",
        "version": 1,
        "insert_flag": true,
        "power_on_flag": false
      },
      "vt_tray": {
        "id": "254",
        "tag_uid": "0000000000000000",
        "tray_id_name": "",
        "tray_info_idx": "",
        "tray_type": "",
        "tray_sub_brands": "",
        "tray_color": "FFFFFFFF",
        "tray_weight": "0",
        "tray_diameter": "0.00",
        "tray_temp": "0",
        "tray_time": "0",
        "bed_temp_type": "0",
        "bed_temp": "0",
        "nozzle_temp_max": "0",
        "nozzle_temp_min": "0",
        "xcam_info": "000000000000000000000000",
        "tray_uuid": "00000000000000000000000000000000",
        "remain": 0,
        "k": 0.019999999552965164,
        "n": 1,
        "cali_idx": -1
      },
      "lights_report": [
        {
          "node": "chamber_light",
          "mode": "off"
        }
      ],
      "command": "push_status",
      "msg": 0,
      "sequence_id": "203"
    },
    "get_version": {
      "command": "get_version",
      "sequence_id": "20004",
      "module": [
        {
          "name": "ota",
          "project_name": "C12",
          "sw_ver": "01.07.00.00",
          "hw_ver": "OTA",
          "sn": "**REDACTED**",
          "flag": 0
        },
        {
          "name": "esp32",
          "project_name": "C12",
          "sw_ver": "01.11.32.89",
          "hw_ver": "AP04",
          "sn": "**REDACTED**",
          "flag": 0
        },
        {
          "name": "mc",
          "project_name": "P1",
          "sw_ver": "00.00.29.75",
          "loader_ver": "00.00.00.28",
          "hw_ver": "MC07",
          "sn": "**REDACTED**",
          "flag": 0
        },
        {
          "name": "th",
          "project_name": "P1",
          "sw_ver": "00.00.09.95",
          "loader_ver": "00.00.00.14",
          "hw_ver": "TH09",
          "sn": "**REDACTED**",
          "flag": 0
        }
      ],
      "result": "success",
      "reason": ""
    }
  }
}

Log Extracts

Other Information

No response

@coltography coltography added the bug Something isn't working label Feb 18, 2025
@greghesp
Copy link
Owner

greghesp commented Feb 23, 2025

How does this work if you do it from Bambu studio? If I recall, you have to acknowledge it on the printer, as it doesn't know when the filament is inserted, so you need to say done to start the purge process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants