dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

Deconz doesn't load DDFs #7944

Closed TermnX closed 1 month ago

TermnX commented 1 month ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

I have a Raspberry pi running the Phoscon desktop image with a Raspbee2 and somehow deconz(2.28.1) doesn't load any DDFs. Not for the RaspBee, which is marked as 0x0000 and witout attributes and not for my Aqara WSDCGQ11LM temperature sensors. When i try to assign the DDF manually it tells me "failed to open "

Steps to reproduce the behavior

Not sure if reproducable as it may be due to some error with my device or a faulty imaging process. However it may also be because i start i direcly with the deCONZ execuable because the home menu shortcut doesn't work too

Expected behavior

Usually deconz should load DDFs automatically or atleast be able to open them from their native folders?

Screenshots

FailedToOpen NotRaspBee NotSensor1

Environment

deCONZ Logs

No response

Additional context

Only the Raspbee as a Coordinator and the goal is to have several of the aqara sensors

Mimiix commented 1 month ago

Hi,

The missing + shows that the devices are not paired correctly/fully paired. That probably is the reason for the DDF not loading.

What devices are this?

ebaauw commented 1 month ago

deCONZ hasn't yet read the endpoints nor simple descriptors of your devices, so technically it doesn't even know if they have a Basic cluster, where it can retrieve the manufacturer and model to match the appropriate DDF. Right click on the node and select Read Node Descriptor, Read Active Endpoints and Read Simple Descriptors. A plus sign should appear in each node, as the simple descriptors are read (cf. the Raspbee node). You probably need to wake the sensors for the reads to succeed. Then search for new devices, press the + and select the Basic cluster and read its attributes in the Cluster Info panel.

TermnX commented 1 month ago

@Mimiix these are (Xiaomi) Aqara WSDCGQ11LM temperature, humidity and pressure sensors. The way @ebaauw described for connecting the sensors fully somehow won't work for me, i just get a red blinking 'status LED' on the corresponding node (to indicate failure of these requests i guess?) If you would like to view debug-logs please tell me which logging channels i should activate

Mimiix commented 1 month ago

This seemingly is not a bug but rather something else.

Therefore I ask you to ask this question to the forums and figure out there