Skip to content

Conversation

@X-Rayven
Copy link

@X-Rayven X-Rayven commented Feb 5, 2025

Writing DDF for Xiaomi Aqara LUMI QBKG38LM

I think the DDF isn't complete done, perhaps I need some advice of you to finish it.

Additionally I want to know if there is a way to pair it with some other switch, because this is not working at the moment. At this time it is recognized as a on/off light and I thought I could pair it with a switch.

Thank you!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

Hey @X-Rayven, thanks for your pull request!

Tip

Modified bundles can be downloaded here.
Relative expire date

DDB changes

Modified

  • xiaomi/xiaomi_qbkg38lm_e1_switch.json : Aqara Smart switch without neutral wire QBKG38LM ✔️

Validation

Tip

Everything is fine !

🕟 Updated for commit 8d1c953

@manup manup changed the title Add DDF for xioami QBKG38LM DDF for Xioami QBKG38LM Mar 28, 2025
@gorynychzmey
Copy link

I found that this device don't follow group changes. I can turn it on or off as a light but can't if I turn on or off the group where it belongs.

@Smanar
Copy link
Collaborator

Smanar commented Aug 26, 2025

From here #6657
It seem to have the group cluster

Have you tried to add it to the DDF

        {
          "name": "config/group",
          "default": "auto"
        },

and perhaps something like

    {
      "bind": "groupcast",
      "config.group": 0,
      "src.ep": 1,
      "cl": "0x0006"
    },

@gorynychzmey
Copy link

gorynychzmey commented Aug 26, 2025

Currently my DDF looks like

  "schema": "devcap1.schema.json",
  "manufacturername": "$MF_LUMI",
  "modelid": "lumi.switch.b1lc04",
  "product": "Aqara Smart switch without neutral wire QBKG38LM",
  "sleeper": false,
  "status": "Gold",
  "path": "/devices/xiaomi_qbkg38lm_e1_switch.json",
  "subdevices": [
    {
      "type": "$TYPE_ON_OFF_LIGHT",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x01"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "state/alert",
          "default": "none"
        },
        {
          "name": "state/on",
          "refresh.interval": 300,
          "read": {
            "at": "0x0000",
            "cl": "0x0006",
            "ep": 0,
            "fn": "zcl:attr"
          },
          "parse": {
            "at": "0x0000",
            "cl": "0x0006",
            "ep": 0,
            "eval": "Item.val = Attr.val",
            "fn": "zcl:attr"
          }
        },
        {
          "name": "state/reachable"
        },
	{
          "name": "config/group",
          "default": "auto"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0006",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x10",
          "min": 1,
          "max": 300
        }
      ]
    },
    {
      "bind": "groupcast",
      "config.group": 0,
      "src.ep": 1,
      "cl": "0x0006"
    }
  ]
}

But nothing changed - it still doesn't follow the group's on/off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants