-
Notifications
You must be signed in to change notification settings - Fork 0
Changes in Makerware Desktop 3.7.0 (from 3.4.1) #10
Description
These are the only changes in methods that I can find between versions 3.4.1 and 3.7.0:
The API version is changed from 1.1.0 to 1.4.0
New Methods:
first_contact <---someone has a sense of humor.
get_system_information
get_tool_usage_stats
get_cloud_services_info
send_thingiverse_credentials
It's possible that the current version of reprancher is failing when used with newer versions of makerbot desktop because it doesn't know how to handle these new methods.
New method details:
first_contact:
{"id":18,"jsonrpc":"2.0","method":"first_contact","params":{"machine_name":"23C1:0005:23C100053C7059011E84"}}
{"jsonrpc": "2.0", "result": "jonathan frake's beard", "id": 18}
get_system_information:
{"id":26,"jsonrpc":"2.0","method":"get_system_information","params":{"machine_name":"23C1:0005:23C100053C7059011E84"}}
{"jsonrpc": "2.0", "result": {"sound": false, "has_been_connected_to": true, "machine_name": "Replicator 29", "ip": null, "bot_type": "replicator_5", "disabled_errors": ["filament_slip"], "toolheads": {"extruder": [{"index": 0, "filament_presence": true, "tool_id": 10, "tool_present": true, "current_temperature": 24, "target_temperature": 180, "preheating": true}]}, "current_process": {"methods": [], "thing_id": 0, "extrusion_distance_mm": 2213, "id": 3, "filepath": "/home/current_thing/1 inch cube.makerbot", "elapsed_time": 0, "filament_extruded": 0, "reason": null, "progress": 0, "username": "RobListon", "print_temperatures": {"1": 0, "0": 215}, "complete": false, "start_time": null, "time_remaining": 2250, "extrusion_mass_g": 6, "time_estimation": 2250, "name": "PrintProcess", "cancellable": true, "step": "initial_heating", "error": null, "cancelled": false, "can_print_again": true}, "machine_type": "platypus", "firmware_version": {"bugfix": 1, "major": 1, "build": 305, "minor": 7}, "api_version": "1.4.0"}
, "id": 26}
get_tool_usage_stats:
{"id":29,"jsonrpc":"2.0","method":"get_tool_usage_stats","params":{"machine_name":"23C1:0005:23C100053C7059011E84"}}
{"jsonrpc": "2.0", "result": {"extrusion_time_s": 2941, "retract_count": 930, "extrusion_distance_mm": 456672, "refurb_count": 0}, "id": 29}
get_cloud_services_info:
{"id":16,"jsonrpc":"2.0","method":"get_cloud_services_info","params":{"machine_name":"23C1:0005:23C100053C7059011E84"}}
{"jsonrpc": "2.0", "result": {"lcd_username": null, "num_authorized": 1, "analytics_enabled": null, "reflector_enabled": null}, "id": 16}
send_thingiverse_credentials
{"id":33,"jsonrpc":"2.0","method":"send_thingiverse_credentials","params":{"birdwing_code":"","client_secret":"{65a1922e-e467-4ffd-9ee2-668411160b6f}","machine_name":"23C1:0005:23C100053C7059011E84","thingiverse_token":"837bfb02fa5111bc1feba50b57d30ec1","username":"ThingaverseUser"}}
{"jsonrpc": "2.0", "result": null, "id": 33}