Bon j’avance un peu mais peu … … j’ai l’impression que le soucis se trouve sur la commande info statut qui ne remonte pas …
Lorsque je coupe le courant et le rallume j’ai les logs suivantes :
[2021-03-05 21:18:03][DEBUG] : {"devices":{"84:2e:14:ff:fe:40:5c:a9":{"1":{"8":[{"value":"255","cluster_name":"Level control"}],"0":{"1":{"value":"80","cluster_name":"Basic"}}}}}}
[2021-03-05 21:18:03][DEBUG] : Search attribut for 84:2e:14:ff:fe:40:5c:a9 logicalId : 1::8::0 => 255
[2021-03-05 21:18:03][DEBUG] : Search attribut for 84:2e:14:ff:fe:40:5c:a9 logicalId : 1::0::1 => 80
[2021-03-05 21:18:26][DEBUG] : {"devices":{"84:2e:14:ff:fe:40:5c:a9":{"1":{"768":{"color":{"value":"#ff004b","cluster_name":"Color Control"},"7":{"value":"153","cluster_name":"Color Control"}}}}}}
[2021-03-05 21:18:26][DEBUG] : Search attribut for 84:2e:14:ff:fe:40:5c:a9 logicalId : 1::768::color => #ff004b
[2021-03-05 21:18:26][DEBUG] : Search attribut for 84:2e:14:ff:fe:40:5c:a9 logicalId : 1::768::7 => 153
et dans la log zigbeed
[2021-03-05 21:29:07][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x08\x00\x90 \x01\x01\x00'\x00\xe4[_\x00\x00\x07\x18\x01
\x00\x00 \xff\x90 \x1d" length=27 fcs=199>
[2021-03-05 21:29:07][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 8, 'srcaddr': 0x0990, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 39, 'securityuse': 0, 'timestamp': 6249444, 'transseqnumber': 0, 'len': 7, 'data': b'\x18\x01
\x00\x00 \xff'}
[2021-03-05 21:29:07][INFO] : handle_message incomingMsg
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0008] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=1 command_id=Command.Report_Attributes>
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0008] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=255>)]]
[2021-03-05 21:29:07][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.general_command] Cluster: <zigpy.zcl.clusters.general.LevelControl object at 0xb49c1590> ClusterId: 0x0008 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=1 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=255>)]],)
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0008] Attribute report received: current_level=255
[2021-03-05 21:29:07][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.attribute_updated] Received an attribute update 0=255 on cluster 8
[2021-03-05 21:29:07][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x00\x00\x90 \x01\x01\x00$\x00\xf4[_\x00\x00\x07\x18\x02
\x01\x00 P\x90 \x1d' length=27 fcs=113>
[2021-03-05 21:29:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 8, 0, 255))
[2021-03-05 21:29:07][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 0, 'srcaddr': 0x0990, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 36, 'securityuse': 0, 'timestamp': 6249460, 'transseqnumber': 0, 'len': 7, 'data': b'\x18\x02
\x01\x00 P'}
[2021-03-05 21:29:07][INFO] : handle_message incomingMsg
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=2 command_id=Command.Report_Attributes>
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=80>)]]
[2021-03-05 21:29:07][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb51efa70> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=2 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=80>)]],)
[2021-03-05 21:29:07][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 8, 0, 255)) completed
[2021-03-05 21:29:07][DEBUG] : [0x0990:1:0x0000] Attribute report received: app_version=80
[2021-03-05 21:29:07][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.attribute_updated] Received an attribute update 1=80 on cluster 0
[2021-03-05 21:29:07][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>)
[2021-03-05 21:29:07][DEBUG] : operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>) completed
[2021-03-05 21:29:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 0, 1, 80))
[2021-03-05 21:29:07][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 0, 1, 80)) completed
[2021-03-05 21:29:07][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>)
[2021-03-05 21:29:07][DEBUG] : Send to jeedom : {'devices': {'84:2e:14:ff:fe:40:5c:a9': {'1': {'8': {'0': {'value': '255', 'cluster_name': 'Level control'}}, '0': {'1': {'value': '80', 'cluster_name': 'Basic'}}}}}}
[2021-03-05 21:29:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-05 21:29:07][DEBUG] : operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>) completed
[2021-03-05 21:29:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=U671pvxsACdgsHCqx4PaeSkTyvTrRWnD HTTP/1.1" 200 0
[2021-03-05 21:29:30][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x00\x03\x90 \x01\x01\x00"\x00
s`\x00\x00\x12\x18\x03
\x03\x00!~(\x04\x00!6\x0e\x07\x00!\x99\x00\x90 \x1d' length=38 fcs=19>
[2021-03-05 21:29:30][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 768, 'srcaddr': 0x0990, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 34, 'securityuse': 0, 'timestamp': 6320906, 'transseqnumber': 0, 'len': 18, 'data': b'\x18\x03
\x03\x00!~(\x04\x00!6\x0e\x07\x00!\x99\x00'}
[2021-03-05 21:29:30][INFO] : handle_message incomingMsg
[2021-03-05 21:29:30][DEBUG] : [0x0990:1:0x0300] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes>
[2021-03-05 21:29:30][DEBUG] : [0x0990:1:0x0300] ZCL request 0x000a: [[Attribute(attrid=3, value=<TypeValue type=uint16_t, value=10366>), Attribute(attrid=4, value=<TypeValue type=uint16_t, value=3638>), Attribute(attrid=7, value=<TypeValue type=uint16_t, value=153>)]]
[2021-03-05 21:29:30][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.general_command] Cluster: <zigpy.zcl.clusters.lighting.Color object at 0xb49c18d0> ClusterId: 0x0300 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=3, value=<TypeValue type=uint16_t, value=10366>), Attribute(attrid=4, value=<TypeValue type=uint16_t, value=3638>), Attribute(attrid=7, value=<TypeValue type=uint16_t, value=153>)]],)
[2021-03-05 21:29:30][DEBUG] : [0x0990:1:0x0300] Attribute report received: current_x=10366, current_y=3638, color_temperature=153
[2021-03-05 21:29:30][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.attribute_updated] Received an attribute update 3=10366 on cluster 768
[2021-03-05 21:29:30][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.attribute_updated] Received an attribute update 4=3638 on cluster 768
[2021-03-05 21:29:30][INFO] : [84:2e:14:ff:fe:40:5c:a9][listener.attribute_updated] Received an attribute update 7=153 on cluster 768
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 3, 10366))
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 3, 10366)) completed
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>)
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>) completed
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 4, 3638))
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 4, 3638)) completed
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>)
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>) completed
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 7, 153))
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xb52b8120>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (84:2e:14:ff:fe:40:5c:a9, 1, 768, 7, 153)) completed
[2021-03-05 21:29:30][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>)
[2021-03-05 21:29:30][DEBUG] : operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xb52b8120>) completed
[2021-03-05 21:29:30][DEBUG] : Send to jeedom : {'devices': {'84:2e:14:ff:fe:40:5c:a9': {'1': {'768': {'color': {'value': '#4a26ff', 'cluster_name': 'Color Control'}, '7': {'value': '153', 'cluster_name': 'Color Control'}}}}}}
[2021-03-05 21:29:30][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-03-05 21:29:30][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=U671pvxsACdgsHCqx4PaeSkTyvTrRWnD HTTP/1.1" 200 0
On voit des infos sur la couleur et la luminosité mais pas sur le statut de la lampe … celui n’a l’air de fonctionner que si interaction depuis jeedom … sauf si la lampe est tres proche de la clef
pour info j’ai essayé avec le firmware CC2531_SOURCE_ROUTING_20201128
Demain j essai de l inclure dans deconz pour verifier que le soucis vient pas de l ampoule