← Home

Android ยท Bluetooth LE

Fridge Labels

One tap prints a label with the current date and time on a small thermal printer, so everything in the fridge and freezer says when it went in or was opened.

Printer
NIIMBOT B1, over Bluetooth LE
App
Android, Kotlin
Printed from
The app, Tasker, or Claude
Status
Prints every day. Source is private.

The label defaults to right now: the day and date, with the time under it. That is the whole point. Stick one on a container going into the fridge, a bag going into the freezer or a jar that was just opened, and nobody has to guess how old it is later. The printer's own app takes a dozen taps to get there. This one takes one, and I use it constantly.

When a label needs to say more, a title such as THAWED goes on top.

A wide label reading Sat - Oct 31 with the time, 2:41 PM, under it.The same label with THAWED in white on a black bar across the top.A square label with the day and date and the time under it.
These are the exact bitmaps the app sends to the printer, taken from its tests.

Speaking the printer's protocol

The B1 has no public documentation, so the app implements its Bluetooth protocol directly, following the open-source niimbluelib. The tests print three real labels in full and check every packet, byte for byte, against what niimbluelib sends. That is what made it safe to change the layout code without wasting a roll finding out what broke.

Three ways to print

Custom designs

A label does not have to be a date. A design is an SVG, so Claude can draw one, and a photo, a link or an SVG file can be shared to the app from anywhere on the phone. Photos are cropped on the subject, faces first, then dithered down to the printer's black and white. Designs that print are kept in a gallery with a short id, so "print the soup one again" works.

Small things that matter by a fridge

← All projects