AllMyPrinters
Alle onderwerpen
IdeeGepland

Write NFC tags for spools

Chris Team

The app can already read NFC tags on spools. The next step is writing them (OpenSpool format), so you can tag your own spools and printers like the Snapmaker U1 with Extended firmware pick up material and color automatically.

Which tags do you use (NTAG215/216 …)? Reply here.

13 reacties

Denny S.

I use NTAG215 /216 tags when I use tags, which is rare. I wish Anycubic used the OpenSpool format, but even if it's only for filament inventory use, it'll be handy.

Chris Team

Thanks Denny! Writing OpenSpool tags (NTAG215/216) is next on the list. One note: the Anycubic ACE only reads Anycubic's own tag format, so these tags won't change anything on the Kobra itself, but for your inventory (tap a tag, the spool opens) they'll work fine.

Chris Team

This is included in the next release. Open a spool → “Write to tag”, hold an NTAG215/216 to the back of your phone, and the app writes it in OpenSpool format and links it to the spool. Could you test it with your tags? I don't have any here. Just let me know here whether writing and then tapping the tag works.

Denny S.

I've seen some sites that say the ACE 2 Pro will read OpenSpool tags, so I'll try it and see what happens.
And I'll be happy to test it.

Denny S.

So I updated everything - agent, slicer, and app - and created one NFC tag for a spool of Eryone Silk Gold PLA, and it worked fine, but it really wasn't clear that it had successfully written the tag. I tapped the Write button and nothing seemed to happen, but when I backed out and then tapped the tag with my phone, it opened the correct spool. So a message saying "Tag Written" or something like that would be nice. I did see that it had linked the spool to the tag when I scrolled, but it would be nice to see a confirmation without scrolling.
I'll test some more tomorrow as I try to get my filament inventory cleaned up.
And I'll put that spool in an ACE Pro and see if it reads it. It probably won't, but can't hurt to try.

Chris Team

Thanks for testing, Denny! Good point about the confirmation. In the next version (0.9.6), after writing, the dialog stays open with a green check mark, “Tag written”, the spool it’s linked to and the tag ID, until you tap “Done”. The phone also vibrates briefly. After “Done”, the spool scrolls to its NFC tags and the new tag is highlighted. While waiting, the dialog now shows a large NFC symbol instead of a small line of text, so it’s clear the app is ready to write.
I’m curious what the ACE Pro does with the tag. Please let me know!

Denny S.

@Chris The ACE Pro ignores the tag, because of course it does. But that's okay, the tags will still help keep my inventory less of a mess. I'll have to update everything and check out the new UI, but it sounds great.

Chris Team

Denny, since Home Assistant matters to you: the AllMyPrinters agent now also runs as a Home Assistant app, and there’s a new AllMyPrinters integration for Home Assistant.

App (Home Assistant OS or Supervised): https://allmyprinters.com/en/agent/install/#ha. One button adds the repository, then install and start it. The agent shows up in the Home Assistant sidebar, no separate Docker needed.

Integration via HACS: add https://github.com/nolimitek/ha-allmyprinters as a custom repository (type Integration). With the app, Home Assistant finds it by itself. If you keep your Docker agent, update it to 0.6.2 first, then add the integration with the agent’s address and the key from Settings → Home Assistant in the agent.

You get your printers, the slots with the spools in them, all spools, filament boxes, pause/resume/cancel, light, fans, ACE drying, the camera and a picture of the model that’s printing. Everything stays on your network.

It works alongside the 3DSEARCH integration, so you can try it without removing anything. Let me know how it goes!

Denny S.· bewerkt

@Chris Wow. It's like having my very own personal IT Department. I will definitely test the new Home Assistant integration. Looks to me like the HA app would essentially be a second copy of the AllMyPrinters agent, so I won't install that unless you really want me to test it.
And, yeah, I'm keeping the Docker agent. It's nice to have options . . .

Chris Team

Glad you’ll give it a try! They aren’t alternatives, they’re two halves:

The integration is the Home Assistant side. It turns what the agent knows into entities, cards and buttons. You need it either way.
The app is just another way to run the agent itself, inside Home Assistant instead of in Docker.

So since you’re keeping your Docker agent, you only need the integration. Update the agent to the latest version, install the integration through HACS and enter the agent’s address plus the key from Settings → Home Assistant in the agent.

New since my last post: the camera is in there now. Your printer’s camera shows up as a camera entity in Home Assistant, live from the agent, so you can put it right on a dashboard next to the printer card. That works with the Docker agent too. I’ve got my Kobra S1 set up exactly like that.

I wouldn’t run the app on top of your Docker agent. You’d end up with two separate agents, each with its own printers, spools and history, and nothing syncs between them. Both would also talk to the same printers, and some printers only allow one connection at a time.

The app is mainly for people who don’t have Docker. There’s no extra machine, Home Assistant finds it by itself, it shows up in the sidebar and it’s included in Home Assistant backups. Your Docker agent keeps running while Home Assistant restarts or updates, and it works with any Home Assistant install, not just HA OS. Your setup already works, so I’d stick with it.

Denny S.

@Chris Okay. I was editing my last response as you were replying to it, confirming what I was thinking! I looked at the installation command for the app, and it looked like it would run a second copy of the agent, and I figured that would be redundant at best, and could cause conflicts, so I'll stick with the one I'm already running.

Denny S.

@Chris Also, thanks for adding the camera!

Log in om te reageren

Inhoud melden