Problem with DDF for Aqara Tunable White Bulbs (ZNLDP12LM)

I tested this DDF for my Aqara bulbs (auto-generated) and although it works, some bulbs stay offline (grey in deconz) forever until I press “Read” on the basic cluster. This does not happen when I start deconz without the DDF. Is there a way to simulate/force a “Read” action while loading a DDF (deconz 2.14.1)?

May be related to:

{
  "schema": "devcap1.schema.json",
  "manufacturername": "$MF_LUMI",
  "modelid": "lumi.light.aqcn02",
  "product": "lumi.light.aqcn02",
  "sleeper": false,
  "status": "Gold",
  "path": "/devices/lumi.light.aqcn02.json",
  "subdevices": [
    {
      "type": "$TYPE_COLOR_TEMPERATURE_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",
          "description": "The currently active alert effect.",
          "default": "none"
        },
        {
          "name": "state/on",
          "refresh.interval": 5
        },
        {
          "name": "state/reachable"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0006",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x10",
          "min": 1,
          "max": 300
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0008",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x20",
          "min": 1,
          "max": 300,
          "change": "0x00000001"
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0300",
      "report": [
        {
          "at": "0x0007",
          "dt": "0x21",
          "min": 1,
          "max": 300,
          "change": "0x00000001"
        },
        {
          "at": "0x0003",
          "dt": "0x21",
          "min": 1,
          "max": 300,
          "change": "0x0000000A"
        },
        {
          "at": "0x0004",
          "dt": "0x21",
          "min": 1,
          "max": 300,
          "change": "0x0000000A"
        },
        {
          "at": "0x0008",
          "dt": "0x30",
          "min": 1,
          "max": 300
        }
      ]
    }
  ]
}

Hello, it mean you have the bad value at start, at it work after you read the attribute.
Or you have persistent bad values, and you need regulary press the “read” button ?

When I press “Read” once just after a deconz restart it’s fine after that.

Ha ?
Strange, the binding seem good, so at first return from the device it need to change the state/reachable field.

Not possible to set a defaut value for state/reachable ?

1 Like

You mean like this?
{
“name”: “state/reachable”,
“default”: true
}
Ah, looks better now… testing a bit more.

[Update] Tested a few times after restart and it’s solved, great!