Skip to content

YamlCardQR

olialb edited this page Jun 8, 2026 · 1 revision

Card type cardQR

The card type cardQR can for example be used to show a QR code with an html link as easy access to a local html server.

You need to define one slot with a reference to openHAB String items, which contains the link.

Slot number OH item type slot type default value optional / Mandetory Description
1 String text - M String item with html link inside including http:// or https://

Example openHAB items:

//
// Links for QR Cards
//
String NsPanels_STRNG_Link_Mealie "Mealie Link"

Example:

cards:
  - name: LinkMealie
    title: Mealie Link
    type: cardQR
    slots:
      - class: ohItem  #Slot with a reference to a string item for the QR code contents
        type: text
        text: "Mealie Link"
        item: NsPanels_STRNG_Link_Mealie

image

Clone this wiki locally