After adding a new spool in spoolman, its tag needs to be written. Since it is probably not loaded at the same time, one want to write to the tag at a later time.
One could run a gcode-macro in mainsail, get a menu to chose the spool and write it.
There can be a menu in the display to chose the macro for writing it.
[ ] Make a Klipper extension/plugin?
[ ] nfc2klipper connects to klipper's unix domain socket?
[ ] Add a new action in klipper -> write spool & filament to tag
[ ] Create a gcode to invoke the action
[ ] Create a menu-config from Spoolman's data, like sm2ss that invoke the gcode above.
[ ] Make a common class for sm2ss and the menu creating code (this needs to be per active spool, not per filament)?
After adding a new spool in spoolman, its tag needs to be written. Since it is probably not loaded at the same time, one want to write to the tag at a later time.
One could run a gcode-macro in mainsail, get a menu to chose the spool and write it. There can be a menu in the display to chose the macro for writing it.