r/Bricklink • u/bourboqui • 6h ago
Seller Help Home Assistant BrickLink integration
I sell on BrickLink and kept logging in just to see whether anything was waiting to be picked or shipped. So I wrote an integration that uses the BrickLink API to put my store's numbers into Home Assistant, the open-source home dashboard I already use for everything else. It's free and open source, and I figured other sellers might find it useful.
What it shows (refreshed every 10 minutes by default):
Open orders, with their lots and pieces
Orders, lots and pieces waiting to be picked
Orders, lots and pieces waiting to ship
How long the oldest order to ship has been waiting
When the latest order came in
Inventory size: lots, pieces and total listed value (stockroom included)
Orders you've placed as a buyer that haven't arrived yet
What you can do with it: put the numbers on a dashboard, a wall tablet or your phone, and set up your own alerts, like "notify me when a new order comes in" or "remind me if an order has been waiting to ship for 2 days".
The details people usually ask about:
Read-only. It can't change orders, inventory or prices.
Your credentials stay with you. It uses your own API keys from BrickLink's API registration page, stored on your Home Assistant. Nothing goes to me or anyone else.
No buyer data. It doesn't read buyer names, addresses or emails.
Light on the API. It skips filed orders and uses a few hundred calls a day at the defaults.
Fits your workflow. You pick which statuses count as "to pick" and "to ship" (defaults: PAID to pick, PROCESSING or PACKED to ship).
Setting it up: you need Home Assistant (free; it runs on a Raspberry Pi, an old computer or a Home Assistant Green). Then:
In Home Assistant: Settings → Marketplace → Add from link, and paste https://github.com/bourboqui/ha-bricklink
Search the Marketplace for BrickLink and install it.
The setup screen links to BrickLink's API page and shows the IP address to enter when you create your access token.
Instructions and the full sensor list: https://github.com/bourboqui/ha-bricklink
(If you also sell on Brick Owl, there's a matching version: https://github.com/bourboqui/ha-brickowl)
It's new, so I'd love feedback. One question in particular: which order statuses do you treat as "needs picking" and "ready to ship"? I set the defaults to match how I work and want them to suit most stores out of the box. Bugs and ideas are welcome here or on GitHub.
LEGO® is a trademark of the LEGO Group, which does not sponsor, authorize or endorse this project. Not affiliated with BrickLink.