Skip to content

Instantly share code, notes, and snippets.

View unlucio's full-sized avatar

Luciano Colosio unlucio

View GitHub Profile
@unlucio
unlucio / README.MD
Created July 25, 2025 08:45 — forked from davidino/README.MD
Integration HA Spoolman

Spoolman Filament Auto-Updater

Purpose

The scripts and configurations provided here are designed to automatically update the remaining filament in Spoolman when a print is completed. This integration enhances the filament tracking experience by linking your 3D printing setup with Spoolman.

Instructions

1. Install Required Dependencies

function mouseup(evt) {
var contentList = this.cont.list;
var [start, end] = [contentList.indexOf(_lastItemSelected), contentList.indexOf(this)].sort();
if (_isDD) {
return;
}
if (evt.shiftKey == true) {
for (var i = start; i <= end ; i++) {