Giter Club home page Giter Club logo

Comments (5)

Brhett avatar Brhett commented on August 15, 2024

I am not sure whether I met the same issue as Chris did. The issue happend on reading any attributes via console. e.g. "read 0 0 0"

Failed to read attribute.
org.bubblecloud.zigbee.api.cluster.impl.api.core.ZigBeeClusterException: Read Attribute 0 failed due to: org.bubblecloud.zigbee.network.impl.ZigBeeNetworkManagerException: Unable to send cluster on the ZigBee network due to: Z_NWK_NO_ROUTE(205) (null)
at org.bubblecloud.zigbee.api.cluster.impl.core.AttributeImpl.doClusterWideRead(AttributeImpl.java:176)
at org.bubblecloud.zigbee.api.cluster.impl.core.AttributeImpl.getValue(AttributeImpl.java:106)
at org.bubblecloud.zigbee.ZigBeeConsole$ReadCommand.process(ZigBeeConsole.java:1046)
at org.bubblecloud.zigbee.ZigBeeConsole.executeCommand(ZigBeeConsole.java:217)
at org.bubblecloud.zigbee.ZigBeeConsole.processInputLine(ZigBeeConsole.java:192)
at org.bubblecloud.zigbee.ZigBeeConsole.start(ZigBeeConsole.java:168)
at org.bubblecloud.zigbee.ZigBeeConsoleJavaSE.main(ZigBeeConsoleJavaSE.java:34)

from zigbee4java.

Brhett avatar Brhett commented on August 15, 2024

After merging latest code b8122b8 to original f8e051b, reading attribute failed caused by different reason.
Failed to read attribute.
org.bubblecloud.zigbee.api.cluster.impl.api.core.ZigBeeClusterException: Read Attribute 0 failed due to: org.bubblecloud.zigbee.network.impl.ZigBeeNetworkManagerException: Unable to send cluster on the ZigBee network due to: Z_MAC_NO_ACK(233) (null)
at org.bubblecloud.zigbee.api.cluster.impl.core.AttributeImpl.doClusterWideRead(AttributeImpl.java:183)
at org.bubblecloud.zigbee.api.cluster.impl.core.AttributeImpl.getValue(AttributeImpl.java:106)
at org.bubblecloud.zigbee.ZigBeeConsole$ReadCommand.process(ZigBeeConsole.java:1096)
at org.bubblecloud.zigbee.ZigBeeConsole.executeCommand(ZigBeeConsole.java:217)
at org.bubblecloud.zigbee.ZigBeeConsole.processInputLine(ZigBeeConsole.java:192)
at org.bubblecloud.zigbee.ZigBeeConsole.start(ZigBeeConsole.java:168)
at org.bubblecloud.zigbee.ZigBeeConsoleJavaSE.main(ZigBeeConsoleJavaSE.java:34)

from zigbee4java.

cdealti avatar cdealti commented on August 15, 2024

Do you have a Wireshark capture to try to understand what is happening?

from zigbee4java.

tlaukkan avatar tlaukkan commented on August 15, 2024

I got Z_MAC_NO_ACK error when I had device in the network.json saved state but not actually in the ZigBee network. Better log messages at least would be nice improvement.

from zigbee4java.

tlaukkan avatar tlaukkan commented on August 15, 2024

Confirmed that at least one reason for this is that device is read from network safe file but does not actually exist in network. As result AF_DATA_CONFIRM returns error and reports status Z_MAC_NO_ACK:

<-- AF_DATA_CONFIRM (AF_DATA_CONFIRM{Endpoint=2, Status=Z_NWK_NO_ROUTE(205), TransID=36})
Failed to read attribute.

org.bubblecloud.zigbee.api.cluster.impl.api.core.ZigBeeClusterException: Read Attribute 0 failed due to: org.bubblecloud.zigbee.network.impl.ZigBeeNetworkManagerException: Unable to send cluster on the ZigBee network due to: Z_NWK_NO_ROUTE(205) (null)

This is intended behavior as far as I can see. Closing this issue for now. Please reopen if you find contrary evidence or reasoning.

from zigbee4java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.