ebaauw/homebridge-deconz

Lidl Silvercrest HG06338

Closed this issue · 23 comments

hi,

Recently I installed a new rpi but now I having trouble with my Silvercrest extension cords/powerstrip. In my 'old' setup they worked just fine.

They appear in Domoticz and from within Domoticz I can access/control them, but in the Homebridge-deconz they don't appear. In the log I see some errors. Can you help me?

regards,
Raymond

[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2: LIDL Silvercrest HG06338 v69 (3 resources)
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2: Configured Name: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2: On: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 3: Configured Name: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 3: On: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 4: Configured Name: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 4: On: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2 History: Configured Name: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2 History: History Request: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] On/Off plug-in unit 2 History: SetTime: warning: 5750 listeners
[03/05/2024, 14:37:39] [deCONZ] Phoscon-GW: error: TypeError: service.addCharacteristicDelegate is not a function
at new Light (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Light.js:132:17)
at Gateway.addAccessory (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:624:25)
at Gateway.analyseFullState (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:1137:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Gateway.poll (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:965:7)
at Gateway.heartbeat (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:357:9)

How is the cord exposed by deCONZ?

I am afraid I don't know how to look that up. I am running a headless rpi.

I will try to look it up using the REST api

Using the REST I see the following. What I see at first glance is that there is only one name whilst I configured naming for all three sockets.

image

{
"lastannounced": null,
"lastseen": "2024-05-06T12:41Z",
"manufacturername": "LIDL Silvercrest",
"modelid": "HG06338",
"name": "Bank R stekkerdoos 1 (niet uitz)",
"productid": "LIDL Silvercrest Smart USB Extension Lead",
"subdevices": [
{
"state": {
"on": {
"lastupdated": "2024-05-03T15:38:15Z",
"value": true
},
"reachable": {
"lastupdated": "2024-05-03T15:21:35Z",
"value": true
}
},
"type": "On/Off plug-in unit",
"uniqueid": "bc:33:ac:ff:fe:67:f8:78-01"
},
{
"state": {
"on": {
"lastupdated": "2024-05-03T15:46:01Z",
"value": true
},
"reachable": {
"lastupdated": "2024-05-03T15:21:35Z",
"value": true
}
},
"type": "On/Off plug-in unit",
"uniqueid": "bc:33:ac:ff:fe:67:f8:78-02"
},
{
"state": {
"on": {
"lastupdated": "2024-05-03T16:05:10Z",
"value": false
},
"reachable": {
"lastupdated": "2024-05-03T15:21:35Z",
"value": true
}
},
"type": "On/Off plug-in unit",
"uniqueid": "bc:33:ac:ff:fe:67:f8:78-03"
}
],
"swversion": "69",
"uniqueid": "bc:33:ac:ff:fe:67:f8:78"
}

rest ddffull

{
"schema": "devcap1.schema.json",
"manufacturername": [
"LIDL Silvercrest",
"_TZ3000_1obwwnmq"
],
"modelid": [
"HG06338",
"TS011F"
],
"product": "LIDL Silvercrest Smart USB Extension Lead",
"sleeper": false,
"status": "Gold",
"path": "/devices/lidl/hg06338.json",
"subdevices": [
{
"type": "$TYPE_ON_OFF_PLUGIN_UNIT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername",
"static": "LIDL Silvercrest"
},
{
"name": "attr/modelid",
"static": "HG06338"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"read": {
"at": "0x0001",
"cl": "0x0000",
"ep": "0x01",
"fn": "zcl:attr"
},
"parse": {
"at": "0x0001",
"cl": "0x0000",
"ep": "0x01",
"eval": "Item.val = Attr.val",
"fn": "zcl:attr"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "state/on",
"refresh.interval": 360,
"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"
}
]
},
{
"type": "$TYPE_ON_OFF_PLUGIN_UNIT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x02"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername",
"static": "LIDL Silvercrest"
},
{
"name": "attr/modelid",
"static": "HG06338"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"read": {
"fn": "none"
},
"parse": {
"at": "0x0001",
"cl": "0x0000",
"ep": "0x01",
"eval": "Item.val = Attr.val",
"fn": "zcl:attr"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "state/on",
"refresh.interval": 360,
"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"
}
]
},
{
"type": "$TYPE_ON_OFF_PLUGIN_UNIT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x03"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername",
"static": "LIDL Silvercrest"
},
{
"name": "attr/modelid",
"static": "HG06338"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"read": {
"fn": "none"
},
"parse": {
"at": "0x0001",
"cl": "0x0000",
"ep": "0x01",
"eval": "Item.val = Attr.val",
"fn": "zcl:attr"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "state/on",
"refresh.interval": 360,
"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"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 1,
"max": 300
}
]
},
{
"bind": "unicast",
"src.ep": 2,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 1,
"max": 300
}
]
},
{
"bind": "unicast",
"src.ep": 3,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 1,
"max": 300
}
]
}
]
}

Weird, that’s the same DDF as my extension cord, which works fine. Did you try and restart Homebridge after pairing the cord to deCONZ? What about un-exposing and re-exposing the cord using ui?

I have tried pairing and rebooting without result.

What do you mean with re-exposing using ui? I am running a headless installation.

Using the ui command line utility included with Homebridge deCONZ, see https://github.com/ebaauw/homebridge-deconz/wiki/Dynamic-Configuration

When I use the ui then the output shows both cords are not exposed (see below).

However if I use: ui put /devices/BC33ACFFFE67F878 '{"expose": true}'

the command line outputs
{
"expose": true
}

but if I then request the device information 'expose' is not updated and remains 'false'.

"BC33ACFFFE67F878": {
"expose": false,
"manufacturer": "LIDL Silvercrest",
"model": "HG06338",
"name": "Bank R stekkerdoos 1 (niet uitz)",
"resources": [
"/lights/6",
"/lights/7",
"/lights/8"
],
"type": "lights",
"zigbee": true
},
"EC1BBDFFFEAEDBA0": {
"expose": false,
"manufacturer": "LIDL Silvercrest",
"model": "HG06338",
"name": "On/Off plug-in unit 2",
"resources": [
"/lights/2",
"/lights/3",
"/lights/4"
],
"type": "lights",
"zigbee": true
}

Does ui get /accessories/BC33ACFFFE67F878 report anything?

I suppose ui put would report back "expose": true, since the request is recognised and valid, but the TypeError causes the accessory creation to fail.

Did you explicitly try and set "expose": false? That should (hopefully) cleanup any junk from when the device was only half exposed by deCONZ. Also, you shouldn't see any TypeErrors in the log, when the power cords aren't exposed.

I have removed the cord from Deconz, rebooted homebridge, added it to Deconz again but without effect.

I also explicitly set expose to false but also without effect.

ui get /accessories/BC33ACFFFE67F878 reports
ui get: localhost:33465: request 2: GET /gateways/00212EFFFF05EC7F/accessories/EC1BBDFFFEAEDBA0
ui get: error: localhost:33465: request 2: http status 404 Not Found

After reboot I see an error though when the accessory is added.

[14/05/2024, 17:25:36] [deCONZ] Phoscon-GW: On/Off plug-in unit 30: add accessory
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: logLevel: set to 2
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Serial Number: set to "BC33ACFFFE67F878"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Manufacturer: set to "LIDL Silvercrest"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Model: set to "HG06338"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Firmware Revision: set to "69"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: LIDL Silvercrest HG06338 v69 (3 resources)
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: serviceName: set to "Outlet"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Configured Name: set to "On/Off plug-in unit 30"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: Outlet In Use: set to 1
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30: wallSwitch: set to false
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 32: Name: set to "On/Off plug-in unit 32"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 32: Configured Name: set to "On/Off plug-in unit 32"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 32: Outlet In Use: set to 1
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 32: wallSwitch: set to false
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 33: Name: set to "On/Off plug-in unit 33"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 33: Configured Name: set to "On/Off plug-in unit 33"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 33: Outlet In Use: set to 1
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 33: wallSwitch: set to false
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30 History: Name: set to "On/Off plug-in unit 30 History"
[14/05/2024, 17:25:36] [deCONZ] On/Off plug-in unit 30 History: Configured Name: set to "On/Off plug-in unit 30 History"
[14/05/2024, 17:25:36] [deCONZ] Phoscon-GW: error: TypeError: service.addCharacteristicDelegate is not a function
at new Light (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Light.js:132:17)
at Gateway.addAccessory (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:624:25)
at Gateway.analyseFullState (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:1137:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Gateway.poll (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:965:7)
at Gateway.heartbeat (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:357:9)

What seems odd to me is the fact that the resources are listed as lights instead off plugs. But again that might be correct.

"BC33ACFFFE67F878": {
"expose": false,
"manufacturer": "LIDL Silvercrest",
"model": "HG06338",
"name": "On/Off plug-in unit 30",
"resources": [
"/lights/30",
"/lights/32",
"/lights/33"

],
"type": "lights",
"zigbee": true
},

What seems odd to me is the fact that the resources are listed as lights instead off plugs.

See the REST API documentation. ZIgbee devices are exposed using /lights and/or /sensors resources. Those resource names have little to do with the actual device type.

After reboot I see an error though when the accessory is added.

Everything up to the error is what I expect. I still have no clue as to what's causing the error. I'm starting to suspect a corrupted installation of Homebridge deCONZ. Could you please humour me, and double-check the micro-SD card on your Raspberry Pi: create a file (touch testfile), check that the file has been created (ls -l testfile), reboot, and double-check that the file is still there. Also, please check that there's still free space on the root filesystem, / (df).

If that passes, could you please re-install Homebridge deCONZ (through the Homebridge UI, using Manage Version on the dots of the plugin in the Plugin tab - simply choose the latest version to re-install).

After that, can you please run Homebridge in DEBUG mode, set logLevel on the gateway to 2 and re-expose the power cord while capturing the log?

ui put /devices/BC33ACFFFE67F878 '{"expose": false}'
ui put / '{"logLevel" 2}'
ui put /devices/BC33ACFFFE67F878 '{"expose": true}'

I would expect the log to look something like:

[5/14/2024, 10:13:45 PM] [deCONZ] ui request 21: GET /ping
[5/14/2024, 10:13:45 PM] [deCONZ] ui request 21: 200 OK
[5/14/2024, 10:13:45 PM] [deCONZ] ui request 22: PUT /gateways/00212EFFFF010256/devices/50325FFFFE4A9F8D/settings {"expose":true}
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: ui request: PUT devices/50325FFFFE4A9F8D/settings {"expose":true}
[5/14/2024, 10:13:45 PM] [deCONZ] ui request 22: 200 OK
...
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: request 150: GET /devices/50:32:5f:ff:fe:4a:9f:8d/ddf
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: request 150: 200 OK
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: Dining Room Plug 1: exposed by gold ddf
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: Dining Room Plug 1: add accessory
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: create Light 50325FFFFE4A9F8D
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: className: set to "Light"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: version: set to "1.0.12"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: id: set to "50325FFFFE4A9F8D"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: logLevel: set to 2
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: name: set to "Dining Room Plug 1"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: uiPort: set to 49913
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Name: set to "Dining Room Plug 1"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Serial Number: set to "50325FFFFE4A9F8D"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Manufacturer: set to "LIDL Silvercrest"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Model: set to "HG06338"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Firmware Revision: set to "70"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: LIDL Silvercrest HG06338 v70 (3 resources)
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: 3 resources: /lights/237, /lights/238, /lights/239
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: serviceName: set to "Outlet"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/237: capabilities: {}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/237: params: {"primaryService":true,"serviceName":"Outlet"}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Name: set to "Dining Room Plug 1"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Configured Name: set to "Dining Room Plug 1"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Outlet In Use: set to 1
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: wallSwitch: set to false
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/238: capabilities: {}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/238: params: {"serviceName":"Outlet"}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 2: Name: set to "Dining Room Plug 2"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 2: Configured Name: set to "Dining Room Plug 2"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 2: Outlet In Use: set to 1
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 2: wallSwitch: set to false
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/239: capabilities: {}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: /lights/239: params: {"serviceName":"Outlet"}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 3: Name: set to "Dining Room Plug 3"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 3: Configured Name: set to "Dining Room Plug 3"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 3: Outlet In Use: set to 1
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 3: wallSwitch: set to false
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1 History: Name: set to "Dining Room Plug 1 History"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1 History: Configured Name: set to "Dining Room Plug 1 History"
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1 History: fingerPrint: 0x00
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1 History: history: set to {"memorySize":0,"firstEntry":1,"lastEntry":1,"entryOffset":0,"entries":[null,null],"initialTime":1715717626}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: Service Label Index: set to 1
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 2: Service Label Index: set to 2
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 3: Service Label Index: set to 3
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: subscribe to /lights/237
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: subscribe to /lights/238
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: subscribe to /lights/239
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: request 151: POST /resourcelinks {"name":"homebridge-deconz","description":"migration","classid":1,"links":["/lights/237","/lights/238","/lights/239"]}
[5/14/2024, 10:13:45 PM] [deCONZ] Dining Room Plug 1: initialised
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: request 151: 200 OK
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: dresden elektronik deCONZ / RaspBee II gateway v2.26.3 (1 accessories for 175 devices, 3 resources)
[5/14/2024, 10:13:45 PM] [deCONZ] pi2: migration: /resourcelinks/3: 3 resources

Testfile created and it still was present after reboot.

I should have more than enough space on my SD. Here is what 'df' reports

image

reinstalling Homebridge deCONZ does not solve the issue (the issue remains).

Don't know if it is important but I am running a rpi 5 with OS Debian GNU/Linux Bookworm (12) and Node.js v20.13.1

side note: the log is filling with these lines (this was always the case) in regard to all devices which makes working with log rather impossible. Is there an option to disable this output?

: [15/05/2024, 15:18:26] [deCONZ] Toilet Beneden Consumption: Voltage: set to 12 V (from 14 V)

Is there an option to disable this output?

Set logLevel for the associated accessory to 0 (using ui).

Don't know if it is important but I am running a rpi 5 with OS Debian GNU/Linux Bookworm (12) and Node.js v20.13.1

Double-checked on a pi5: no issues here.

[May 15 17:11:32] [deCONZ] homebridge-deconz v1.0.12, node v20.13.1, homebridge v1.8.1, homebridge-lib v6.7.5
...
[May 15 17:11:32] [deCONZ] hardware: Raspberry Pi 5 1.0 (8GB)
[May 15 17:11:32] [deCONZ] os: Debian GNU/Linux 12 (bookworm) [64 bit]
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: request 24: GET /devices/bc:33:ac:ff:fe:67:f8:78/ddf
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: request 24: 200 OK
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: On/Off plug-in unit 30: exposed by gold ddf
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: On/Off plug-in unit 30: add accessory
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: create Light BC33ACFFFE67F878
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: className: set to "Light"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: version: set to "1.0.12"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: id: set to "BC33ACFFFE67F878"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: logLevel: set to 2
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: name: set to "On/Off plug-in unit 30"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: uiPort: set to 38201
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Serial Number: set to "BC33ACFFFE67F878"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Manufacturer: set to "LIDL Silvercrest"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Model: set to "HG06338"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Firmware Revision: set to "69"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: LIDL Silvercrest HG06338 v69 (3 resources)
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: 3 resources: /lights/30, /lights/32, /lights/33
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: serviceName: set to "Outlet"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/30: capabilities: {}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/30: params: {"primaryService":true,"serviceName":"Outlet"}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Configured Name: set to "On/Off plug-in unit 30"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Outlet In Use: set to 1
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: wallSwitch: set to false
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/32: capabilities: {}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/32: params: {"serviceName":"Outlet"}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 32: Name: set to "On/Off plug-in unit 32"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 32: Configured Name: set to "On/Off plug-in unit 32"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 32: Outlet In Use: set to 1
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 32: wallSwitch: set to false
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/33: capabilities: {}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: /lights/33: params: {"serviceName":"Outlet"}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 33: Name: set to "On/Off plug-in unit 33"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 33: Configured Name: set to "On/Off plug-in unit 33"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 33: Outlet In Use: set to 1
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 33: wallSwitch: set to false
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30 History: Name: set to "On/Off plug-in unit 30 History"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30 History: Configured Name: set to "On/Off plug-in unit 30 History"
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30 History: fingerPrint: 0x00
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30 History: history: set to {"memorySize":0,"firstEntry":1,"lastEntry":1,"entryOffset":0,"entries":[null,null],"initialTime":1715787962}
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 30: Service Label Index: set to 1
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 32: Service Label Index: set to 2
[15/05/2024, 17:46:02] [deCONZ] On/Off plug-in unit 33: Service Label Index: set to 3
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: error: TypeError: service.addCharacteristicDelegate is not a function
    at new Light (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Light.js:132:17)
    at Gateway.addAccessory (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:624:25)
    at Gateway.analyseFullState (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:1137:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Gateway.poll (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:965:7)
    at Gateway.heartbeat (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:357:9)
[15/05/2024, 17:46:02] [deCONZ] Phoscon-GW: request 25:

Could you please try beta v1.0.13-0. It should at least catch the TypeError, so the cord would be exposed. It also issues some warning messages with debug info, could you please log these?

the beta now exposed the cords. see the log below

[16/05/2024, 15:45:49] [deCONZ] Phoscon-GW: request 24: GET /devices/bc:33:ac:ff:fe:67:f8:78/ddf
[16/05/2024, 15:45:49] [deCONZ] Phoscon-GW: request 24: 200 OK
[16/05/2024, 15:45:49] [deCONZ] Phoscon-GW: On/Off plug-in unit 30: exposed by gold ddf
[16/05/2024, 15:45:49] [deCONZ] Phoscon-GW: On/Off plug-in unit 30: add accessory
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: create Light BC33ACFFFE67F878
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: className: set to "Light"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: version: set to "1.0.13-0"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: id: set to "BC33ACFFFE67F878"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: logLevel: set to 2
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: name: set to "On/Off plug-in unit 30"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: uiPort: set to 32947
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Serial Number: set to "BC33ACFFFE67F878"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Manufacturer: set to "LIDL Silvercrest"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Model: set to "HG06338"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Firmware Revision: set to "69"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: LIDL Silvercrest HG06338 v69 (3 resources)
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: 3 resources: /lights/30, /lights/32, /lights/33
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: serviceName: set to "Outlet"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/30: capabilities: {}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/30: params: {"primaryService":true,"serviceName":"Outlet"}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Name: set to "On/Off plug-in unit 30"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Configured Name: set to "On/Off plug-in unit 30"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Outlet In Use: set to 1
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: wallSwitch: set to false
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/32: capabilities: {}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/32: params: {"serviceName":"Outlet"}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: Name: set to "On/Off plug-in unit 32"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: Configured Name: set to "On/Off plug-in unit 32"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: Outlet In Use: set to 1
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: wallSwitch: set to false
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/33: capabilities: {}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: /lights/33: params: {"serviceName":"Outlet"}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: Name: set to "On/Off plug-in unit 33"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: Configured Name: set to "On/Off plug-in unit 33"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: Outlet In Use: set to 1
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: wallSwitch: set to false
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30 History: Name: set to "On/Off plug-in unit 30 History"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30 History: Configured Name: set to "On/Off plug-in unit 30 History"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30 History: fingerPrint: 0x00
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30 History: history: set to {"memorySize":0,"firstEntry":1,"lastEntry":1,"entryOffset":0,"entries":[null,null],"initialTime":1715867150}
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: servicesByServiceName: ["Outlet"]
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: servicesByServiceName[Outlet]: ["0","1","2"]
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: service 0: "/lights/30"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: Service Label Index: set to 1
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: service 1: "/lights/32"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: Service Label Index: set to 2
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: service 2: "/lights/33"
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: Service Label Index: set to 3
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: service NaN: undefined
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: warning: TypeError: service.addCharacteristicDelegate is not a function
    at new Light (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Light.js:136:19)
    at Gateway.addAccessory (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:624:25)
    at Gateway.analyseFullState (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:1137:20)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Gateway.poll (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:965:7)
    at Gateway.heartbeat (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:357:9)
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: subscribe to /lights/30
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: subscribe to /lights/32
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: subscribe to /lights/33
[16/05/2024, 15:45:49] [deCONZ] Phoscon-GW: request 25: GET /devices/18:fc:26:00:00:01:3c:55/ddf
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: initialised
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: remove stale characteristic undefined
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30: remove stale characteristic undefined
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 32: remove stale characteristic undefined
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 33: remove stale characteristic undefined
[16/05/2024, 15:45:49] [deCONZ] On/Off plug-in unit 30 History: remove stale characteristic undefined

Happy that the cord is now exposed. Could you please double-check in Eve, that it shows the time on/last time on under On for each outlet in the accessory view?

Unfortunately, I still have no clue as to what's going wrong. I loop over the entries in servicesByServiceName[Outlet], which are reported as 0, 1, 2 (as expected). The log shows Service Label Index is set correctly for each entry. But then, apparently, the loop iterates a fourth time (with a NaN index and an undefined entry, which obviously doesn't carry addCharacteristicDelegate().

Eve shows 'last on' for each outlet.

A for each loop should indeed not run a fourth time. Unless you run an integer loop 0 to device.count because then it will return 4 items (0, 1, 2, 3 and 4). However the cord worked on my previous rpi so I am also puzzled why this happens now.