Niimbot Label Printer Home Assistant Integration
custom_components/niimbot
directory.
action: niimbot.print
data:
payload:
- type: text
value: Hello World!
font: ppb.ttf
x: 100
y: 100
size: 40
- type: barcode
value: 12345
code: code128
x: 100
y: 100
- type: icon
value: account-cowboy-hat
x: 60
y: 120
size: 120
- type: dlimg
url: "image url"
x: 10
y: 10
xsize: 120
ysize: 120
rotate: 0
- type: qrcode
data: "qr data"
x: 140
y: 50
boxsize: 2
border: 2
color: "black"
bgcolor: "white"
width: 400
height: 240
rotate: 0
target:
device_id: your device