Skip to content

[Bug] Print history and timelapse videos not complete #1752

@leepfrog-ger

Description

@leepfrog-ger

Home Assistant Version

2025.12.0

Bambu Lab Integration Version

2.2.16

Describe the bug

I recently started enabling the downloading/caching of timelapse videos from my P1S printer.
However it is not always working. This means that some timelapses that were recorded show up in the ha-bambulab file picker - others don't. Those that are not present in the integration show up as expected when checking on the printer itself (through bambu studio).
On further checking I noticed that also the print history is missing some entries.

I was not yet able to make out if there are any specific circumstances that lead to missing entries.

My printer is not always powered on, but after a print job has been completed it will generally be on for dozens more minutes/hours.

I am not sure how the download is working in the background (how and when it is scheduled). Knowing that for P1S these downloads can take minutes, maybe something is (silently) failing or timing out?
However missing entries stay missing even if new ones appear.

If there are no initial leads or ideas I can check - could you provide details when such a download should be happening so I can enable debug logging and wait for it to happen and also watch my wifi logs at that point in time?

To Reproduce

no reliable repro

Expected Behaviour

Print history and timelapses are complete

What device are you using?

P1S

Diagnostic Output

diag output

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2025.12.0",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.9",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.12.51-haos",
"container_arch": "amd64",
"supervisor": "2025.12.2",
"host_os": "Home Assistant OS 16.3",
"docker_version": "28.3.3",
"chassis": "vm",
"run_as_root": true
},
"custom_components": {
"hacs": {
"documentation": "https://hacs.xyz/docs/use/",
"version": "2.0.5",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"bambu_lab": {
"documentation": "https://github.com/greghesp/ha-bambulab",
"version": "2.2.16",
"requirements": [
"beautifulsoup4"
]
}
},
"integration_manifest": {
"domain": "bambu_lab",
"name": "Bambu Lab",
"codeowners": [
"greghesp",
"AdrianGarside"
],
"config_flow": true,
"dependencies": [
"device_automation",
"ffmpeg",
"frontend",
"http",
"lovelace",
"mqtt",
"websocket_api"
],
"documentation": "https://github.com/greghesp/ha-bambulab",
"iot_class": "local_push",
"issue_tracker": "https://github.com/greghesp/ha-bambulab/issues",
"requirements": [
"beautifulsoup4"
],
"ssdp": [
{
"st": "urn:bambulab-com:device:3dprinter:1"
}
],
"version": "2.2.16",
"is_built_in": false,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 1.8306076526641846e-05
},
"redacted-entry-id": {
"wait_import_platforms": -0.27503939089365304,
"wait_base_component": -0.0008412939496338367,
"config_entry_setup": 0.28442666796036065
}
},
"data": {
"config_entry": {
"created_at": "2025-08-01T17:19:02.238439+00:00",
"data": {
"device_type": "P1S",
"serial": "REDACTED"
},
"discovery_keys": {},
"disabled_by": null,
"domain": "bambu_lab",
"entry_id": "redacted-entry-id",
"minor_version": 1,
"modified_at": "2025-12-04T20:04:08.456701+00:00",
"options": {
"access_code": "REDACTED",
"auth_token": "REDACTED",
"developer_lan_mode": false,
"disable_ssl_verify": false,
"email": "REDACTED",
"enable_firmware_update": false,
"force_ip": false,
"host": "redacted",
"local_mqtt": true,
"name": "3DP-01P-027",
"print_cache_count": 100,
"region": "Europe",
"timelapse_cache_count": 30,
"usage_hours": 502.4900000000001,
"username": "REDACTED"
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"subentries": [],
"title": "REDACTED",
"unique_id": null,
"version": 2
},
"pushall": {
"print": null
},
"get_version": {
"info": null
},
"device_state": {
"temperature": {
"bed_temp": 0,
"target_bed_temp": 0,
"chamber_temp": 0,
"nozzle_temps": {
"0": 0,
"1": 0
},
"target_nozzle_temps": {
"0": 0,
"1": 0
}
},
"lights": {
"chamber_light": "unknown",
"chamber_light2": "unknown",
"heatbed_light": "unknown",
"work_light": "unknown",
"chamber_light_override": "",
"chamber_light2_override": ""
},
"info": {
"serial": "REDACTED",
"device_type": "P1S",
"wifi_signal": 0,
"wifi_sent": "2025-12-05T20:37:34.743192",
"hw_ver": "unknown",
"sw_ver": "unknown",
"online": false,
"new_version_state": 0,
"mqtt_mode": "local",
"nozzle_diameters": {
"0": null,
"1": null
},
"nozzle_types": {
"0": null,
"1": null
},
"usage_hours": 502.4900000000001,
"extruder_filament_state": false,
"door_open": false,
"airduct_mode": false,
"_ip_address": "redacted",
"_force_ip": false
},
"upgrade": {
"upgrade_progress": 0,
"new_version_state": 0,
"new_ver_list": []
},
"print_job": {
"print_percentage": 0,
"gcode_state": "unknown",
"gcode_file": "",
"gcode_file_downloaded": "",
"subtask_name": "",
"remaining_time": 0,
"current_layer": 0,
"total_layers": 0,
"print_error": 0,
"print_weight": 0,
"ams_mapping": [],
"_ams_print_weights": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"_ams_print_lengths": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"print_length": 0,
"print_bed_type": "unknown",
"file_type_icon": "mdi:file",
"print_type": "",
"_printable_objects": {},
"_skipped_objects": [],
"_gcode_file_prepare_percent": -1,
"_loaded_model_data": false,
"_ftpRunAgain": false,
"_ftp_download_percentage": 100
},
"fans": {
"_aux_fan_speed_percentage": 0,
"_aux_fan_speed": 0,
"_aux_fan_speed_override": 0,
"_chamber_fan_speed_percentage": 0,
"_chamber_fan_speed": 0,
"_chamber_fan_speed_override": 0,
"_cooling_fan_speed_percentage": 0,
"_cooling_fan_speed": 0,
"_cooling_fan_speed_override": 0,
"_heatbreak_fan_speed_percentage": 0,
"_heatbreak_fan_speed": 0
},
"speed": {
"_id": 2,
"name": "standard",
"modifier": 100
},
"stage": {
"_id": 255,
"_print_type": "",
"description": "idle"
},
"ams": {
"_nozzle_tray_index": {
"0": 0,
"1": 0
},
"_nozzle_ams_index": {
"0": 0,
"1": 0
},
"data": {}
},
"external_spool": [
{
"empty": true,
"idx": "",
"name": "",
"type": "",
"sub_brands": "",
"color": "00000000",
"nozzle_temp_min": 0,
"nozzle_temp_max": 0,
"_remain": -1,
"k": 0,
"tag_uid": "",
"tray_uuid": "",
"tray_weight": 0,
"_active": false,
"_index": 0
},
{
"empty": true,
"idx": "",
"name": "",
"type": "",
"sub_brands": "",
"color": "00000000",
"nozzle_temp_min": 0,
"nozzle_temp_max": 0,
"_remain": -1,
"k": 0,
"tag_uid": "",
"tray_uuid": "",
"tray_weight": 0,
"_active": false,
"_index": 1
}
],
"hms": {
"_errors": {
"Count": 0
}
},
"print_error": {},
"camera": {
"recording": "",
"resolution": "",
"timelapse": "",
"_fired_camera_disabled_event": false
},
"home_flag": {
"_value": 0,
"_sw_ver": "",
"_device_type": "",
"_fired_missing_sdcard_event": false
},
"extruder": {
"_active_nozzle_index": 0
},
"extruder_tool": {},
"chamber_image": {},
"cover_image": {},
"pick_image": {
"_image_last_updated": "2025-12-05T20:37:34.743267"
},
"print_fun": {
"_value": "",
"_encryption_enabled": false,
"_int_value": 0,
"_fired_encryption_enabled_event": false
}
},
"feature_support": {
"AUX_FAN": false,
"CHAMBER_FAN": false,
"CHAMBER_TEMPERATURE": false,
"K_VALUE": false,
"AMS": false,
"AMS_DRYING": false,
"AMS_FILAMENT_REMAINING": false,
"AMS_HUMIDITY": false,
"AMS_READ_RFID_COMMAND": false,
"AMS_SWITCH_COMMAND": false,
"AMS_TEMPERATURE": false,
"CAMERA_RTSP": false,
"CAMERA_IMAGE": true,
"DOOR_SENSOR": false,
"PROMPT_SOUND": false,
"CHAMBER_LIGHT_2": false,
"DUAL_NOZZLES": false,
"EXTRUDER_TOOL": false,
"FIRE_ALARM_BUZZER": false,
"HEATBED_LIGHT": false,
"HYBRID_MODE_BLOCKS_CONTROL": false,
"MQTT_ENCRYPTION_FIRMWARE": false,
"AIRDUCT_MODE": false
}
},
"issues": []
}

Log Extracts

Need details when a download would normally happen (push? pull? fixed schedule?) so I can generate them

Other Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions