This commit is contained in:
Home Assistant Version Control
2026-10-15 13:24:00 +00:00
parent c85606c96e
commit 90d32d5573
6 changed files with 368 additions and 31 deletions
+21 -22
View File
@@ -4554,9 +4554,9 @@
and per-slot gram counters and latches the active CFS slot. On every slot change
mid-print, deducts the exact extrusion of the finished segment (used_material_length
delta x g/cm) from the Spoolman spool in the CFS Lite location matching the previous
slot color hex (only if that spool has remaining weight), accumulates grams per
slot, notifies on no-match, then re-baselines the checkpoint and advances the
latch.'
slot''s CFS Lite location (only if that spool has remaining weight), accumulates
grams per slot, notifies on no-match, then re-baselines the checkpoint and advances
the latch.'
triggers:
- trigger: state
entity_id: sensor.sparkx_i7_print_status
@@ -4647,25 +4647,25 @@
default:
- action: notify.persistent_notification
data:
title: 'Spoolman: no spool for slot color'
title: 'Spoolman: no spool for the latched slot'
message: 'Segment of {{ grams }} g from {{ old_slot }} (color #{{ color
| upper }}) could not be deducted - no Spoolman spool in the CFS Lite
location with remaining weight matches that color. Register the new
roll in Spoolman with location CFS Lite, then adjust manually if needed.'
| upper }}) could not be deducted - no Spoolman spool with remaining
weight is in that slot''s CFS Lite location. Register the new roll
in Spoolman in that location, then adjust manually if needed.'
- action: notify.mobile_app_francos_ipad
data:
title: 'Spoolman: no spool for slot color'
title: 'Spoolman: no spool for the latched slot'
message: 'Segment of {{ grams }} g from {{ old_slot }} (color #{{ color
| upper }}) could not be deducted - no Spoolman spool in the CFS Lite
location with remaining weight matches that color. Register the new
roll in Spoolman with location CFS Lite, then adjust manually if needed.'
| upper }}) could not be deducted - no Spoolman spool with remaining
weight is in that slot''s CFS Lite location. Register the new roll
in Spoolman in that location, then adjust manually if needed.'
- action: notify.mobile_app_sm_f956w
data:
title: 'Spoolman: no spool for slot color'
title: 'Spoolman: no spool for the latched slot'
message: 'Segment of {{ grams }} g from {{ old_slot }} (color #{{ color
| upper }}) could not be deducted - no Spoolman spool in the CFS Lite
location with remaining weight matches that color. Register the new
roll in Spoolman with location CFS Lite, then adjust manually if needed.'
| upper }}) could not be deducted - no Spoolman spool with remaining
weight is in that slot''s CFS Lite location. Register the new roll
in Spoolman in that location, then adjust manually if needed.'
- action: input_number.set_value
target:
entity_id: input_number.sparkx_i7_spoolman_length_checkpoint
@@ -4776,10 +4776,10 @@
alias: SparkX i7 - Filament sufficiency check at print start
description: When a print starts and stays printing for 45 s, reports how much filament
the job needs, how much has already been used and how much is left, then compares
the loaded CFS Lite spools against that. A single-colour job whose colour is in
a loaded slot is checked exactly against that slot's spool; otherwise the slicer
gives no per-colour figure, so each loaded spool is compared against the whole
job total. Always sends a notification.
the loaded CFS Lite spools against that. A single-colour job is checked exactly
against the spool in the print's active CFS slot; otherwise the slicer gives no
per-colour figure, so each loaded spool is compared against the whole job total.
Always sends a notification.
triggers:
- trigger: state
entity_id: sensor.sparkx_i7_print_status
@@ -4948,9 +4948,8 @@
{% else %}Active slot {{ aslot }} has no Spoolman spool at CFS Lite, so remaining
cannot be checked.{% endif %}
{% elif single %}No exact colour match for the print colour #{{ gcol | upper
}} in a loaded CFS slot, so the exact spool cannot be identified.{% if ns.cover
%}
{% elif single %}No active CFS slot reported for the print colour #{{ gcol
| upper }}, so the exact spool cannot be identified.{% if ns.cover %}
Would cover {{ job_g }} g: