And I just made an HTTP endpoint in golang that outputs PNG labels with small QRs just as I need them, to print out on my Bluetooth label printer.

  • BOFH666@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    10 days ago

    Please elaborate,

    The software looks ok, will install. UI looks like spoolman, no bs, just works. I like it.

    But; what’s with the label printer? Creating qr with a url to the inventory system looks handy.

    I always have to dig thru gmail for order confirmations when I want to know where stuff was bought. This looks like a great solution for a first world problem.

    • rcmd@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      10 days ago

      I keep track of lots of vintage devices in my basement, these lay on a CD shelf with narrow walls, and I want to keep track of their maintenance status, i.e. when did I charge the battery last time.

      This little printer is pretty handy for labeling tasks, with one noticeable problem: the resolution is quite low, so I cannot afford printing full length domain name on such a tiny label. What I ended up with is writing my own microservice that puts fake http://i.nv/ domain in front of inventory ID. That domain is provided by DNSMASQ that I run on my server, and there’s also NGINX listening for that domain and doing 302 onto an actual Homebox page.

      Homebox sends URL parameters to the specified endpoint, and given that information it is possible to construct any label of any shape or form, it only needs to be a PNG image.

        • rcmd@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          10 days ago

          Surprisingly, it works! I just checked it on my microservice, indeed now QRs are smaller. This is a lifesaver tip, thanks a bunch!

  • CocaineShrimp@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 days ago

    Fellow homebox user here. As an aside: I’ve got a storage room with a bunch of shelves and bins. For each bin, I’ve suck labels on them (using a label maker or sharpie + painters tape), and an NFC tag. Each box in Homebox has its own location, and each NFC tag is a direct link to its instance in Homebox.

    It’s much easier to categorize larger quantities of things that aren’t as valuable as vintage media. Ie. hygiene products, off-season clothing, etc…

  • Moonrise4846@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    How did you manage to make it lookup by inventory id? Normally it puts the whole uid in there which is much to big for the QR. Can you use Homebox qr search feature with your proxy?

    • rcmd@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 days ago

      Homebox supports the https://<hostname>/a/<inventory_id> shorthand and does a 302 jump for you. Otherwise yes, I would have implemented the API search in a microservice.