Zlinky_TIC icon indicating copy to clipboard operation
Zlinky_TIC copied to clipboard

Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

Open cyber-g opened this issue 1 year ago • 3 comments

Hi, I try to read values using the bellows (zigpy) command line.

For information, I use a Sonoff Zigbee 3.0 Dongle Plus-E as coordinator (as shown in the table of this post: ZBDongle-E , it is an EZSP ; hence the usage of bellows)

I base my command line on this post : How to get values from a device?

Network forming and joining has been done with:

bellows -d /dev/ttyACM0 -b 115200 form
bellows -d /dev/ttyACM0 -b 115200 permit

Please note: the arguments -d /dev/ttyACM0 -b 115200 are required for my Sonoff Dongle ; and the lixee "link" button has been pushed to reset the link during the permit join command, the blue LED of the lixee turns stable as expected.

I use the following command in my case (node ID is obfuscated):

bellows -d /dev/ttyACM0 -b 115200 zcl '00:15:xx:xx:xx:xx:xx:xx' 1 1794 read-attribute 0

which asks for : Endpoint : 1 Cluster: 1794 (Metering) Attribute: 0 (Index Base)

But the command fails with the error:

Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

Is the problem related to the Lixee or should I ask my question to zigpy project ?

cyber-g avatar Aug 20 '23 16:08 cyber-g

Hi, I don't know where is the issue but I confirm that ZLinky can respond to cluster 1794 and attribute 0

fairecasoimeme avatar Aug 21 '23 09:08 fairecasoimeme

Hi, thank you for your answer.

I ran the above command several times (by "hand") and most of the times, it fails but sometimes it works providing an output like this one (the number is every time larger than the previous when the command succeeds):

0=7464438

I feel that the bellows command line application async operation does not support the communication mode of ZLinky.

Just in case it would help for my further tests, is there any specific periodicity of the Zlinky transmission ?

cyber-g avatar Aug 21 '23 23:08 cyber-g

hi, what does the error code mean ? There is no specific periodicity for transmission. This is normal that the number is every time larger than previous because this is an index.

fairecasoimeme avatar Aug 22 '23 07:08 fairecasoimeme