Files
forgefirm/meta-forgefirm/recipes-forgefirm/gfhome/files/gfhome.conf.sample
T
ScottW514 cf24bf3200 gfhome: capture through forgectrl; factory-board machine config
The runner's Machine subclass fetches lid/head images from the
forgectrl snapshot endpoint - forgectrl owns the imx-media pipeline
whenever a stream client (LightBurn) is connected, so direct V4L2
grabs fail busy. Head captures request lamp=0 (the cloud's focus
analysis needs torch-off images); the HCil measure-laser LED is still
driven directly. Direct capture remains the fallback when the daemon
is unreachable.

The sample config gains the factory-board settings: the estop motion
gate stays off (the board's estop sense reads low during any motion),
and the forgectrl URL is configurable.
2026-08-07 19:13:28 -04:00

38 lines
1.0 KiB
Plaintext

# gfhome - Glowforge web-service homing configuration.
# Copied to /data/etc/gfhome.conf on first run; edit the copy.
# Machine identity (serial/password) is read from the OCOTP fuses.
[SERVICE]
server_url: https://app.glowforge.com
status_service_url: wss://status.glowforge.com
[FACTORY_FIRMWARE]
# Homing sessions never fetch factory firmware.
check: False
[LOGGING]
file: /data/log/gfhome/gfhome.log
level: INFO
save_sent_images: False
[THERMAL]
# The heater stays off during homing; thermal policy belongs to the
# motion controller.
water_heater_percent: 0
max_start_temp: 30
[MOTION]
# Extra lens half-steps applied after the hunt (0 = hall reference).
z_home_offset: 0
warm_up_delay: 0
cool_down_delay: 0
# The factory board's estop sense line reads low during any motion, so
# it must not gate motion there; enable only on hardware with a real
# e-stop circuit.
estop_halts_motion: False
[FORGECTRL]
# Camera captures fetch from the forgectrl daemon (it owns the camera
# pipeline); direct V4L2 capture is the fallback.
url: http://127.0.0.1:8080