-
Notifications
You must be signed in to change notification settings - Fork 0
Adventurer 5M Pro Features
The 5M Pro model includes exclusive hardware features not present in the base 5M. This document covers camera, air filtration, and LED control specific to the Pro variant.
| Feature | 5M | 5M Pro |
|---|---|---|
| Built-in Camera | No | Yes |
| Factory LEDs | No | Yes |
| Air Filtration | No | Yes |
| TVOC Sensor | No | Yes |
| Internal Circulation Fan | No | Yes |
| External Exhaust Fan | No | Yes |
The 5M Pro includes a built-in USB camera for monitoring prints.
| Property | Value |
|---|---|
| Interface | USB (V4L2) |
| Resolution | 640x480 or 1280x720 |
| Format | MJPEG |
| Port | 8080 |
MJPEG Stream URL:
http://<printer-ip>:8080/?action=stream
Usage:
- Direct browser access
- VLC media player
- FFmpeg processing
- Integration into applications
Start or stop the camera stream via HTTP API.
Start Stream:
POST http://10.0.0.42:8898/control
Content-Type: application/json
{
"serialNumber": "SNADVA5MPROXX",
"checkCode": "12345",
"payload": {
"cmd": "streamCtrl_cmd",
"args": {
"action": "open"
}
}
}Stop Stream:
{
"cmd": "streamCtrl_cmd",
"args": {
"action": "close"
}
}{
"detail": {
"cameraStreamUrl": "http://10.0.0.42:8080/stream"
}
}The camera stack is built on standard Linux video components:
| Component | Purpose |
|---|---|
| V4L2 | Video capture driver |
| FFmpeg | Video processing |
| x264 | H.264 encoding (for cloud) |
| librtmp | RTMP streaming (cloud only) |
Note: H.264 transcoding and RTMP streaming are used for cloud recording. Local network access uses MJPEG only.
The firmware periodically captures JPEG snapshots to:
/usr/data/camera/
These are used for timelapse and cloud features.
The 5M Pro features a dual-fan air management system for filtration and ventilation.
| Fan | Purpose |
|---|---|
| Internal | Circulates air through HEPA/Carbon filter within chamber |
| External | Vents air out of chamber (rear exhaust) |
Control both fans via the circulateCtl_cmd command.
Command Format:
POST http://10.0.0.42:8898/control
Content-Type: application/json
{
"serialNumber": "SNADVA5MPROXX",
"checkCode": "12345",
"payload": {
"cmd": "circulateCtl_cmd",
"args": {
"internal": "on",
"external": "off"
}
}
}| Argument | Values | Description |
|---|---|---|
| internal | "on", "off" | Internal circulation fan |
| external | "on", "off" | External exhaust fan |
Internal Circulation (Filtration):
{
"internal": "on",
"external": "off"
}Use for filtering VOCs and particles while printing materials like ABS.
External Exhaust (Ventilation):
{
"internal": "off",
"external": "on"
}Use for venting fumes outside the enclosure.
Both Fans:
{
"internal": "on",
"external": "on"
}Maximum air exchange for rapid clearing.
Fans Off:
{
"internal": "off",
"external": "off"
}{
"detail": {
"internalFanStatus": "open",
"externalFanStatus": "close",
"chamberFanSpeed": 100
}
}The 5M Pro includes a Total Volatile Organic Compounds (TVOC) sensor.
TVOC is reported in the /detail response:
{
"detail": {
"tvoc": 0
}
}| Level | Status | Recommendation |
|---|---|---|
| 0-1 | Good | Normal operation |
| 2-3 | Moderate | Consider ventilation |
| 4+ | High | Enable filtration, check ventilation |
Note: TVOC readings are most relevant when printing materials that emit VOCs (ABS, ASA, etc.).
The 5M Pro has factory-installed chamber LEDs.
Turn On:
POST http://10.0.0.42:8898/control
Content-Type: application/json
{
"serialNumber": "SNADVA5MPROXX",
"checkCode": "12345",
"payload": {
"cmd": "lightControl_cmd",
"args": {
"status": "open"
}
}
}Turn Off:
{
"cmd": "lightControl_cmd",
"args": {
"status": "close"
}
}{
"detail": {
"lightStatus": "open"
}
}To programmatically determine if a printer is a Pro model:
POST http://10.0.0.42:8898/productLook for:
{
"product": {
"internalFanCtrlState": 1, // Pro feature
"externalFanCtrlState": 1 // Pro feature
}
}If these values are non-zero, the printer has filtration (Pro feature).
Look for:
-
cameraStreamUrlfield present -
tvocfield present -
internalFanStatus/externalFanStatusfields present
Use TCP M115:
~M115
Response contains:
Machine Type: Flashforge Adventurer 5M Pro
Note: This method is less reliable if the user has renamed the printer.
| Operation | Method |
|---|---|
| View stream | Browser: http://<ip>:8080/?action=stream
|
| Start stream |
streamCtrl_cmd with action "open" |
| Stop stream |
streamCtrl_cmd with action "close" |
| Operation | Method |
|---|---|
| Internal fan on |
circulateCtl_cmd with internal "on" |
| External fan on |
circulateCtl_cmd with external "on" |
| Both off |
circulateCtl_cmd with both "off" |
| Operation | Method |
|---|---|
| Lights on |
lightControl_cmd with status "open" |
| Lights off |
lightControl_cmd with status "close" |
| Data | Source |
|---|---|
| TVOC level |
/detail tvoc field |
| Fan status |
/detail internalFanStatus, externalFanStatus |
| Light status |
/detail lightStatus |
| Camera URL |
/detail cameraStreamUrl |