So openspoolman isnt working for me dont know why but it takes less time to enhance spoolman updater.
@jbhobson the enhancements i have in mind will fix your issue
So openspoolman isnt working for me dont know why but it takes less time to enhance spoolman updater.
@jbhobson the enhancements i have in mind will fix your issue
The new version adds support to set the active tray where the spool is in:
You need to change the rest command tho:
update_spool:
url: "http://192.168.2.186:8088/spools"
method: POST
headers:
Content-Type: "application/json"
payload: >
{
"name": "{{ filament_name }}",
"material": "{{ filament_material }}",
"tag_uid": "{{ filament_tag_uid }}",
"used_weight": {{ filament_used_weight | int }},
"color": "{{ filament_color }}"
"active_tray_id": "{{ filament_active_tray_id }}"
}
And if you visit the UI of spoolman updater you now will get the following:
Here you can set which spool is in which tray. You will need to add an “active_tray” field tho in spoolman on spools.
Indeed, it’s not working on Raspberry Pi4
ERROR: for spoolman-updater no matching manifest for linux/arm64/v8 in the manifest list entries
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
@marcokreeft87 Thanks for the development. Can you create an ARM64-build or how can we make it working on a Raspberry Pi?
Someone got it working on Mac. Dont know where this use was tho, here or on github.
Isnt there a way to get it to work? I wont have the time to do this till next week
Had a slight mare getting this working, but seem to have it working now!
Things I had to do:
Release 202504281416
Application/appsettings.json
file"ExternalSpoolEntity": "x1c_XXX_externalspool_external_spool"
to get it to start returning values, note this is not in the file by default at time of writingApplication/Dockerfile
to the root of the projectsudo docker build -t spoolman-updater-local .
sudo docker run -d -p 8088:8080 --name spoolman-updater-local spoolman-updater-local
for debugging you can view the logs with sudo docker logs --follow spoolman-updater-local
also really good for debugging is the API swagger page, found at http://<host-IP>:8088/swagger/index.html
- can call the endpoints directly in the way that the UI and homeassistant will.
I tried with getting docker to pull the image from their servers but that failed with logging errors in the code, and I tried cloning the repo directly but had similar problems. Am still getting to grips with C# so attempted at debugging those problems directly were failing.
Next step is to make sure that things are being updated correctly!
Tbf I only added the docker install guide so people would use that and not need the code.
The default appsettings.json is empty because the variables are different for everyone.
The docker image should work btw, I use it myself
There now is an ARM64 build of the image