Skip to content

Model Printer received unknown fields: ['job_queue_count'] #29

Description

@jabdoa2

Thanks for the SDK. It works really well and I wish Prusa would offer something like that :-).

When running prusactl printer list on my Core One+ I get this warning:

16:34:19 [warning  ] Model Printer received unknown fields: ['job_queue_count']
16:34:19 [debug    ] Full JSON                      json='{"printer_model": "COREONE", "supported_printer_models": ["COREONEOAK"], "printer_type_compatible": ["COREONE", "COREONEOAK"], "printer_state": "PRINTING", "last_online": 1774625658.0931087, "job_info": {"origin_id": 177, "id": 175, "path": "/usb/TMP_04~3.BGC", "hash": "-lats4ReqHUAnrzVGLC9Yjtf7Pk.", "start": 1774594678, "progress": 93.0, "preview_url": "/app/teams/370507/files/-lats4ReqHUAnrzVGLC9Yjtf7Pk./preview", "state": "PRINTING", "model_weight": 146.53, "weight_remaining": 10.25709999999998, "print_height": 49, "total_height": 67.6, "display_name": "xxx.bgcode", "lifetime_id": "xxx-xxx-xxx-xxx-xxxxxxxx", "time_printing": 27016, "time_remaining": 1860}, "temp": {"temp_nozzle": 250.3, "temp_bed": 84.9, "target_nozzle": 250.0, "target_bed": 85.0}, "axis_z": 49.0, "speed": 100, "nozzle_diameter": 0.4, "enclosure": {"present": false}, "tools": {"1": {"temp": 250.3, "active": true, "hardened": false, "material": "PETG", "high_flow": true, "nozzle_diameter": 0.4}}, "connect_state": "PRINTING", "job_queue_count": 1, "allowed_functionalities": ["files", "filament", "queue", "lazy_file_protocol", "fw_update", "fw_update_path", "bgcode", "dialogs", "tool_mapping", "set_tool_params", "set_enclosure_params", "set_hostname", "old_job_info", "set_addon_params"], "uuid": "xxx-xxx-xxx-xxx-xxxxxxx", "name": "xxx", "location": "xxx", "created": 1771204047, "printer_type": "7.1.0", "printer_type_name": "Prusa CORE One", "team_id": 370507, "team_name": "xxxx", "firmware": "6.5.3+12780", "disabled": {"monitoring": true, "auto_printing": true, "auto_harvesting": true}, "filament": {"material": "PETG"}, "rights_r": true, "rights_w": true, "rights_u": true}'
16:34:19 [info     ] Found printers                 count=1

I also get some warning with printer show (redundant to #21):

prusactl printer show --debug
[...]
16:05:08 [warning  ] Model NetworkInfo received unknown fields: ['wifi_mac', 'wifi_ipv4']
16:05:08 [debug    ] Full JSON                      json='{"wifi_ssid": "xxx", "wifi_mac": "xxx", "wifi_ipv4": "xxx", "hostname": "xxx", "lan_mac": "xxx", "lan_ipv4": "xxx"}'
16:05:08 [warning  ] Model Printer received unknown fields: ['chamber']
16:05:08 [debug    ] Full JSON                      json='{"state": "PRINTING", "job_info": {"origin_id": 177, "id": 175, "path": "/usb/TMP_04~3.BGC", "hash": "-lats4ReqHUAnrzVGLC9Yjtf7Pk.", "start": 1774594678, "progress": 87.0, "preview_url": "/app/teams/370507/files/-lats4ReqHUAnrzVGLC9Yjtf7Pk./preview", "state": "PRINTING", "model_weight": 146.53, "weight_remaining": 19.04889999999999, "print_height": 27, "total_height": 67.6, "display_name": "tmp_0.4n_0.2mm_PETG_COREONE_7h38m.bgcode", "lifetime_id": "83a178ee-e6a4-4423-bae1-29196308fa37", "time_printing": 25266, "time_remaining": 3540}, "time_delta": 0, "network_info": {"wifi_ssid": "xxx", "wifi_mac": "xxx", "wifi_ipv4": "xxx", "hostname": "xxx", "lan_mac": "1xxx", "lan_ipv4": "xxx"}, "prusalink_api_key": "xxx", "api_key": "xxx", "last_online": 1774623907.9097483, "axis_z": 27.6, "temp": {"temp_nozzle": 250.1, "temp_bed": 85.1, "target_nozzle": 250.0, "target_bed": 85.0}, "flow": 100, "speed": 100, "sheet_settings": [], "inaccurate_estimates": false, "nozzle_diameter": 0.4, "enclosure": {"present": false, "enabled": false}, "chamber": {"temp": 39.2, "target_temp": 35.0, "fan_1_rpm": 0, "fan_2_rpm": 0}, "tools": {"1": {"temp": 250.1, "active": true, "hardened": false, "material": "PETG", "high_flow": true, "nozzle_diameter": 0.4}}, "printer_model": "COREONE", "supported_printer_models": ["COREONEOAK"], "connect_state": "PRINTING", "printer_state": "PRINTING", "allowed_functionalities": ["files", "filament", "queue", "lazy_file_protocol", "fw_update", "fw_update_path", "bgcode", "dialogs", "tool_mapping", "set_tool_params", "set_enclosure_params", "set_hostname", "old_job_info", "set_addon_params"], "support": {"stable": "6.5.3", "prerelease": "6.5.3-RC", "current": "6.5.3+12780", "release": "stable", "latest": "6.5.3", "release_url": "https://github.com/prusa3d/Prusa-Firmware-Buddy/releases/tag/v6.5.3", "state": "supported"}, "decision_maker": "firmware", "printer_type": "7.1.0", "fw_printer_type": "7.1.0", "printer_type_name": "Prusa CORE One", "flags": {"job_queue": 1774572782.527853, "last_info_event": 1774622056.5750642}, "max_filename": 165, "printable_extension": ["bgcode", "bgc", "bg", "gcode", "gco", "g"], "name": "core-one", "firmware": "6.5.3+12780", "appendix": true, "created": 1771204047, "location": "xxx", "sn": "xxx", "uuid": "xxx", "team_id": 370507, "team_name": "xxx", "is_beta": false, "filament": {"material": "PETG"}, "organization_id": "xxxx", "rights_r": true, "rights_w": true, "rights_u": true, "prusaconnect_api_key": "xxx", "groups": [], "owner": {"id": 361944, "first_name": "xxx", "last_name": "xxx", "public_name": "xxx", "avatar": "auth/xxx.jpg"}}'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions