Code Monkey home page Code Monkey logo

qr-code-generator's Introduction

Home Assistant integration to create a QR-Code

GitHub Release hacs

This integration allows to create QR Codes with static or dynamic content.

Features

  • Static content
  • Dynamic content with the help of Templates
  • Custom QR-Code color
  • Custom QR-Code background color
  • Error correction adjustment

{% if not installed %}

Installation

Step 1:


Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Step 2 (Don't forget):

  1. Click install.
  2. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "QR-Code".

{% endif %}

Options

Options Description Default
Name (str) Name of the QR Code. -
Content (str) Content of the QR Code. Can be a template. -
Color (str) Color of the QR Code in hex. Supports transparency (#RRGGBBAA). #000
Background color (str) Color of the background in hex. Supports transparency (#RRGGBBAA). #FFF
Scale (int) Scale of the QR Code. 10
Border (int) Thickness of the QR Code border in "QR Code boxes". 2
Error correction (str) Strength of error correction. Possible values:
L - About 7% or less errors can be corrected.
M - About 15% or less errors can be corrected.
Q - About 25% or less errors can be corrected.
H - About 30% or less errors can be corrected.
H

ATTRIBUTES

Attribute Description
text (str) Rendered content of the QR Code.
color (str) Color of the QR Code in hex.
background_color (str) Color of the background in hex.
scale (int) Scale of the QR Code.
border (int) Thickness of the QR Code border in "QR Code boxes".
error_correction (str) Strength of error correction. Possible values:
L
M
Q
H

qr-code-generator's People

Contributors

deermaximum avatar dependabot[bot] avatar iainphay avatar tjorim avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.