Side note…. I set out on the same path as you last night…
Good news:
Bad News: I need a filament runout sensor…