Skip to content

GhostTypes/ff-5mp-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

FlashForge 5m (Pro) Stock Firmware API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages