gfhome: identity overrides from the shared config; budget from env

Non-empty gf_serial / gf_password / gf_hostname in /data/forgefirm.conf
(set from the forgectrl GF Cloud tab) are applied with set_cfg before
Machine() is built, so they beat the OCOTP fuse identity - Machine sets
its fuse values with keep_value. The --timeout default comes from
GFHOME_TIMEOUT_S when the controller provides it, so one GUI setting
governs the whole session. Docs: control-panel runbook notes.
This commit is contained in:
ScottW514
2026-08-07 20:05:49 -04:00
parent 8ba0ce84f3
commit 8cd98de605
3 changed files with 68 additions and 15 deletions
@@ -1,6 +1,8 @@
# 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.
# Machine identity (serial/password) is read from the OCOTP fuses;
# gf_serial / gf_password / gf_hostname in /data/forgefirm.conf (the
# forgectrl UI, GF Cloud tab) override it.
[SERVICE]
server_url: https://app.glowforge.com