Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report attribute KO depuis version 3.1e #53

Open
bbghes opened this issue Dec 5, 2022 · 0 comments
Open

Report attribute KO depuis version 3.1e #53

bbghes opened this issue Dec 5, 2022 · 0 comments

Comments

@bbghes
Copy link

bbghes commented Dec 5, 2022

Bonjour,

Je viens d'acquerir un module Develco IOMZB-110 disposant de 4 entrées et 2 sorties.

Les sorties fonctionnent correctement sur une version 3.21 (PiZigate V2) avec retour des états.
Par contre l'état des entrées ne remonte qu'une seul 1 fois.

Disposant d'une PiZigate V1 en version 3.1d, j'ai testé ce module et les 4 entrées remontent bien leur état.
J'ai flashé la version 3.1e sur la Pizigate V1 et j'ai le même résultat que sur la V2 en Version 3.21.

Pouvez-vous m'aider à identifer ce qui a changé depuis la version 3.1e qui bloque le flux retour.

Je suis en mode raw sur un logiciel spécifique.

Voici une trame du flux Attribute report qui pose problème :

Frame 54: 56 bytes on wire (448 bits), 56 bytes captured (448 bits) on interface /tmp/wiresharkRx_ttyUSB0, id 0
    Interface id: 0 (/tmp/wiresharkRx_ttyUSB0)
    Encapsulation type: IEEE 802.15.4 Wireless PAN (104)
    Arrival Time: Jan 1, 1970 01:17:38.601568000 CET
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1058.601568000 seconds
    [Time delta from previous captured frame: 0.008416000 seconds]
    [Time delta from previous displayed frame: 0.008416000 seconds]
    [Time since reference or first frame: 26.271712000 seconds]
    Frame Number: 54
    Frame Length: 56 bytes (448 bits)
    Capture Length: 56 bytes (448 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: wpan:zbee_nwk:zbee_aps:zbee_zcl]
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xe0fe
    Frame Control Field: 0x8861, Frame Type: Data, Acknowledge Request, PAN ID Compression, Destination Addressing Mode: Short/16-bit, Frame Version: IEEE Std 802.15.4-2003, Source Addressing Mode: Short/16-bit
    Sequence Number: 45
    Destination PAN: 0xb35d
    Destination: 0x0000
    Source: 0xe0fe
    [Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
    [Origin: 1]
    FCS: 0x3c24 (Correct)
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xe0fe
    Frame Control Field: 0x0248, Frame Type: Data, Discover Route: Enable, Security Data
    Destination: 0x0000
    Source: 0xe0fe  
    Radius: 30
    Sequence Number: 89
    Extended Source: Develco_00:42:00:05:38 (00:15:bc:00:42:00:05:38)]
    [Origin: 1]
    ZigBee Security Header
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 112
    Frame Control Field: Data (0x00)
    Destination Endpoint: 1
    Cluster: Binary Input (Basic) (0x000f)
    Profile: Home Automation (0x0104)
    Source Endpoint: 112
    Counter: 185
ZigBee Cluster Library Frame, Command: Report Attributes, Seq: 57
    Frame Control Field: Profile-wide (0x18)
    Sequence Number: 57
    Command: Report Attributes (0x0a)
    Attribute Field, Boolean: 0x01
        Attribute: Present Value (0x0055)
        Data Type: Boolean (0x10)
        0000 0001 = Boolean: True
Attribute Field
      Attribute: Status Flags (0x006f)
      Data Type: 8-Bit Bitmap (0x18)
      Status Flags: 0x00, In Alarm Status: False, Fault Status: False, Overridden Status: False, Out of Service Status: False

FRAME :
0000 61 88 37 5d b3 00 00 fe e0 48 02 00 00 fe e0 1e
0010 65 28 ef 20 01 00 38 05 00 42 00 bc 15 00 00 58
0020 ee 71 c9 eb c3 3c f0 d1 f3 99 db 60 28 f3 c5 f2
0030 ca 8f 8d 06

PAYLOAD :
0000 00 01 06 00 04 01 74 bb 18 3b 0a 00 00 10 01

Merci d'avance

@bbghes bbghes changed the title No report attribute on V2 Report attribute KO depuis version 3.1e Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant