Skip to content

Homeassistant addon repository for the brother_ql_web project

Notifications You must be signed in to change notification settings

segadora/brother_ql_web_homeassistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Brother QL Web home assistant addon repository

This repository can be installed into home assistant and allow you to install a docker image with brother ql web.

Add-on documentation: https://developers.home-assistant.io/docs/add-ons

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Brother QL Web

This repository uses a fork of brother ql web by FriedrichFroebel/brother_ql_web

Configuration

Add the following code to configuration.yaml in your home assistant config folder.

rest_command:
  label_printer_print:
    url: 'http://homeassistant.local:8013/api/print/text?text={{ text }}&font_size={{ font_size }}&font_family=DejaVu%20Serif%20(Book)&label_size={{ label_size }}'
    method: GET
    content_type: 'application/json; charset=utf-8'

Then you can add scripts like the following. It prints todays date to the label

print_todays_date_on_label_maker:
  alias: 'Print: Print todays date on label maker'
  sequence:
  - action: rest_command.label_printer_print
    metadata: {}
    data:
      text: '{{ now().strftime(''%d-%m-%y %H:%M:%S'') }}'
      label_size: '17x87'
      font_size: '100'

Example of button card

button card

show_name: true
show_icon: true
type: button
name: Print label
tap_action:
  action: perform-action
  perform_action: script.print_todays_date_on_label_maker
icon: mdi:calendar
hold_action:
  action: none
grid_options:
  columns: 6
  rows: 2

About

Homeassistant addon repository for the brother_ql_web project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published