Skip to content

Instantly share code, notes, and snippets.

@WolfwithSword
Created December 19, 2022 01:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WolfwithSword/3dd5fa7ae458fa738984b764d98fe20b to your computer and use it in GitHub Desktop.
Save WolfwithSword/3dd5fa7ae458fa738984b764d98fe20b to your computer and use it in GitHub Desktop.
Example MQTT Payload Report - Bambulab X1C - 2022-12-18
{
"print": {
"ams": {
"ams": [
{
"humidity": "3",
"id": "0",
"temp": "18.2",
"tray": [
{
"bed_temp": "0",
"bed_temp_type": "0",
"drying_temp": "0",
"drying_time": "0",
"id": "0",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": 0,
"tag_uid": "0000000000000000",
"tray_color": "F3F3F3FF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFL01",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
{
"bed_temp": "0",
"bed_temp_type": "0",
"drying_temp": "0",
"drying_time": "0",
"id": "1",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": 0,
"tag_uid": "0000000000000000",
"tray_color": "FFFFFFFF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFL01",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
{
"bed_temp": "0",
"bed_temp_type": "0",
"drying_temp": "0",
"drying_time": "0",
"id": "2",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": 0,
"tag_uid": "0000000000000000",
"tray_color": "141414FF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFL01",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
{
"bed_temp": "0",
"bed_temp_type": "0",
"drying_temp": "0",
"drying_time": "0",
"id": "3",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": 0,
"tag_uid": "0000000000000000",
"tray_color": "FF1717FF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFL00",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
}
]
}
],
"ams_exist_bits": "1",
"insert_flag": true,
"power_on_flag": false,
"tray_exist_bits": "f",
"tray_is_bbl_bits": "f",
"tray_now": "255",
"tray_read_done_bits": "f",
"tray_reading_bits": "0",
"tray_tar": "255",
"version": 4
},
"ams_rfid_status": 0,
"ams_status": 0,
"bed_target_temper": 0,
"bed_temper": 15,
"big_fan1_speed": "0",
"big_fan2_speed": "0",
"chamber_temper": 20,
"command": "push_status",
"cooling_fan_speed": "0",
"fail_reason": "0",
"fan_gear": 0,
"force_upgrade": false,
"gcode_file": "",
"gcode_file_prepare_percent": "0",
"gcode_start_time": "0",
"gcode_state": "IDLE",
"heatbreak_fan_speed": "0",
"hms": [],
"home_flag": 256,
"hw_switch_state": 0,
"ipcam": {
"ipcam_dev": "1",
"ipcam_record": "disable",
"resolution": "720p",
"timelapse": "disable"
},
"lifecycle": "product",
"lights_report": [
{
"mode": "on",
"node": "chamber_light"
},
{
"mode": "flashing",
"node": "work_light"
}
],
"mc_percent": 0,
"mc_print_error_code": "0",
"mc_print_stage": "1",
"mc_print_sub_stage": 0,
"mc_remaining_time": 0,
"mess_production_state": "active",
"nozzle_target_temper": 0,
"nozzle_temper": 16,
"online": {
"ahb": false,
"rfid": false
},
"print_error": 0,
"print_gcode_action": 0,
"print_real_action": 0,
"print_type": "",
"profile_id": "",
"project_id": "",
"sdcard": true,
"sequence_id": "2021",
"spd_lvl": 2,
"spd_mag": 100,
"stg": [],
"stg_cur": -1,
"subtask_id": "",
"subtask_name": "",
"task_id": "",
"upgrade_state": {
"ahb_new_version_number": "",
"ams_new_version_number": "",
"consistency_request": false,
"dis_state": 0,
"err_code": 0,
"force_upgrade": false,
"message": "",
"module": "null",
"new_version_state": 2,
"ota_new_version_number": "",
"progress": "0",
"sequence_id": 0,
"status": "IDLE"
},
"upload": {
"file_size": 0,
"finish_size": 0,
"message": "Good",
"oss_url": "",
"progress": 0,
"sequence_id": "0903",
"speed": 0,
"status": "idle",
"task_id": "",
"time_remaining": 0,
"trouble_id": ""
},
"wifi_signal": "-42dBm",
"xcam": {
"allow_skip_parts": false,
"buildplate_marker_detector": true,
"first_layer_inspector": true,
"halt_print_sensitivity": "medium",
"print_halt": true,
"printing_monitor": true,
"spaghetti_detector": true
},
"xcam_status": "0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment