Skip to content

Latest commit

 

History

History
105 lines (97 loc) · 2.97 KB

File metadata and controls

105 lines (97 loc) · 2.97 KB

FlashForge 5M (Pro) API

⚠️ Important Update: A cross-platform TypeScript rewrite is now available here, offering more features, bug fixes, and support for additional printers. This repository will receive minimal updates.


This API enables robust local network control for FlashForge 5M & 5M Pro printers. It was built by reverse-engineering the LAN communication used by Orca-FlashForge, restoring functionality that previous APIs lost after firmware updates (v2.7.X – v3.1.5). By communicating directly over LAN, it avoids FlashCloud entirely — resulting in significantly lower latency.

💡 Some API-exposed features, such as door-sensor data, may not yet be implemented in the printer hardware.

Features

Feature Description
Auto Discovery Automatically discover printers on your Local Network (LAN mode required)
File Upload Upload GCode/3MF, auto-level option, print after upload
Job Control Pause, resume, or stop current print jobs
Temperature Control Adjust print bed & nozzle temperatures
Fan Control Manage fans and filtration
Z-Axis Offset Adjustment Adjust Z-axis offset
Speed Override Modify print speed percentage
LED Control Toggle printer LEDs on or off
Job Retrieval Access recent jobs (last 10) and full local file list
Thumbnail Retrieval Retrieve thumbnail previews for local files
Detailed Printer Information Read S/N, lifetime filament usage, runtime, etc.
Current Job Details Track filename, layer, filament usage (mm/g), time remaining
Raw Command Execution Send G-code/M-code commands directly to the printer