This integration allows to create QR Codes with static or dynamic content.
- Static content
- Dynamic content with the help of Templates
- Custom QR-Code color
- Custom QR-Code background color
- Error correction adjustment
{% if not installed %}
- Click install.
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "QR-Code".
{% endif %}
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 |
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 |