Add barcode support to Octoprint Filament Manager plugin using its API.
Extends the Filament Manager Plugin written by malnvenshorn.
Install the Filament Manager Plugin using my fork to enable real time updates of spools in the UI. https://github.com/oschwartz10612/OctoPrint-FilamentManager/archive/master.zip
Configure a default spool profile. This will be the profile that newly scanner spools default to.
Clone the repository onto the Raspberry Pi.
git clone https://github.com/oschwartz10612/Filament-Manager-Barcodes.git
Open the directory.
cd Filament-Manager-Barcodes
Copy the service to /etc/systemd/system/
.
sudo cp scanner.service /etc/systemd/system/scanner.service
Enable the Barcode Scanner service so it runs on reboot.
sudo systemctl enable scanner.service
Plug in your barcode scanner and start scanning!