mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-28 09:11:11 -07:00
New recipe installing /usr/sbin/gfhome.py and /etc/gfhome.conf.sample (copied to /data/etc/gfhome.conf on first run). The runner signs the machine in with its fused identity, opens the WSS control channel with a held client reference (a clean disconnect is impossible through ws_connect), and drives the GFUIService dispatch table itself - minus print - so the service's camera homing sequence (settings -> hunt -> lid image -> corner move -> lid image) runs against the real hardware Machine. The service ends the sequence silently, so completion is a hunt plus at least one motion followed by a configurable quiet window; the lens is then re-referenced against the hall sensor for a deterministic Z. Lid/e-stop are checked before the session, print actions are refused, and exit codes distinguish configuration and connection failures from an incomplete homing. Installed in both images; invoked by the grblHAL controller for $H when homing_mode = gfcloud in /data/forgefirm.conf.