plugin-ZIGBEE Beta

ok je viens de comprendre ce que c’était lorsque vous parliez de ZLL dans les différents poste.

je vais voir si je peux utiliser la même clef en même temps sur deux plugin en même temps

zigbee et mqtt

sinon je brancherais deux clef sur mon boitier, une pour chaque plugin

Bonjour,

Je cherche le lien vers la doc de ce plugin.

J’ai une zigate et des volets profalux et je voulais savoir si c’était compatible ou non ?

Merci !

Bonjour,
Comme pour tout plugin beta il n’y a pas de documentation public

Bonjour,

J’ai un interrupteur Tuya avec 4 boutons. Ça marchait très bien jusqu’à la dernière mise à jour.

Lien vers le site officiel https://expo.tuya.com/product/686076

Image

Voici les informations brutes :

{
    "ieee": "5c:02:72:ff:fe:a1:69:e7",
    "nwk": 1495,
    "status": 2,
    "lqi": "255",
    "rssi": "-48",
    "last_seen": "None",
    "node_descriptor": "02:40:80:02:10:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": "_TZ3000_vp6clf9d",
            "model": "TS0044",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_vp6clf9d"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0044"
                        }
                    ]
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "TS004X_cluster",
                    "attributes": []
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                }
            ]
        },
        {
            "id": 2,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "TS004X_cluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 3,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "TS004X_cluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 4,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "TS004X_cluster",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TZ3000_vp6clf9d",
        "model": "TS0044",
        "node_desc": {
            "byte1": 2,
            "byte2": 64,
            "mac_capability_flags": 128,
            "manufacturer_code": 4098,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 82,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 82,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    0,
                    1,
                    6,
                    10
                ],
                "output_clusters": [
                    25
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    1,
                    6
                ],
                "output_clusters": []
            },
            "3": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    1,
                    6
                ],
                "output_clusters": []
            },
            "4": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    1,
                    6
                ],
                "output_clusters": []
            }
        }
    },
    "class": "zhaquirks.tuya.ts0044"
}

Et ma configuration actuelle :

{
    "name": "Interrupteur 4 boutons",
    "ref": "TS0044",
    "configuration": {
        "battery_type": "1x3V CR2430"
    },
    "commands": [
        {
            "name": "Bouton 1",
            "type": "info",
            "subtype": "numeric",
            "isVisible": 1,
            "isHistorized": 0,
            "logicalId": "1::6::cmd::0",
            "configuration": {
                "repeatEventManagement": "always"
            }
        },
        {
            "name": "Bouton 2",
            "type": "info",
            "subtype": "numeric",
            "isVisible": 1,
            "isHistorized": 0,
            "logicalId": "2::6::cmd::0",
            "configuration": {
                "repeatEventManagement": "always"
            }
        },
        {
            "name": "Bouton 3",
            "type": "info",
            "subtype": "numeric",
            "isVisible": 1,
            "isHistorized": 0,
            "logicalId": "3::6::cmd::0",
            "configuration": {
                "repeatEventManagement": "always"
            }
        },
        {
            "name": "Bouton 1",
            "type": "info",
            "subtype": "numeric",
            "isVisible": 1,
            "isHistorized": 0,
            "logicalId": "4::6::cmd::0",
            "configuration": {
                "repeatEventManagement": "always"
            }
        }
    ]
}

Depuis la dernière mise à jour, plus aucun bouton fonctionne. J’ai tenté une exclusion/inclusion mais ça n’a rien changé. J’ai aussi relancé l’installation des dépendances. Voici les messages que j’ai dans le log :

[2021-01-04 12:03:51][DEBUG] : Frame received: 0x0e24000700aa00
[2021-01-04 12:03:51][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-01-04 12:03:51][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-04 12:03:51][DEBUG] : Send: 0x1724000800010001
[2021-01-04 12:03:51][DEBUG] : Frame received: 0x17240022001b00220200000102d705040401060004000112fd0000afff47a40700c9
[2021-01-04 12:03:51][DEBUG] : APS data indication response: [27, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x05d7>, 4, 260, 6, b'\x01\x12\xfd\x00', 0, 175, 255, 71, 164, 7, 0, -55]
[2021-01-04 12:03:51][ERROR] : Exception in callback SerialTransport._read_ready()
handle: <Handle SerialTransport._read_ready()>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/serial_asyncio/__init__.py", line 106, in _read_ready
    self._protocol.data_received(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/uart.py", line 91, in data_received
    self._api.data_received(frame)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 360, in data_received
    getattr(self, "_handle_%s" % (command.name,))(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 493, in _handle_aps_data_indication
    data[16],
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/zigbee/application.py", line 324, in handle_rx
    self.handle_message(device, profile_id, cluster_id, src_ep, dst_ep, data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/application.py", line 229, in handle_message
    dst_addressing=dst_addressing,
TypeError: handle_message() got an unexpected keyword argument 'dst_addressing'
[2021-01-04 12:03:51][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x05d7>, ep: 4, profile: 0x0104, cluster_id: 0x0006, data: b'0112fd00'
[2021-01-04 12:03:51][DEBUG] : Frame received: 0x1c25000c00050002d705ffc9
[2021-01-04 12:03:51][DEBUG] : Frame received: 0x1c26000c00050002d705ffc8
[2021-01-04 12:03:51][DEBUG] : Frame received: 0x1c27000c00050002d705ffc8
[2021-01-04 12:03:52][DEBUG] : Frame received: 0x0e28000700aa00
[2021-01-04 12:03:52][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-01-04 12:03:52][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-04 12:03:52][DEBUG] : Send: 0x1725000800010001
[2021-01-04 12:03:52][DEBUG] : Frame received: 0x17250022001b00220200000102d705040401060004000112fd0000afff47a40700c8
[2021-01-04 12:03:52][DEBUG] : APS data indication response: [27, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x05d7>, 4, 260, 6, b'\x01\x12\xfd\x00', 0, 175, 255, 71, 164, 7, 0, -56]
[2021-01-04 12:03:52][ERROR] : Exception in callback SerialTransport._read_ready()
handle: <Handle SerialTransport._read_ready()>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.7/dist-packages/serial_asyncio/__init__.py", line 106, in _read_ready
    self._protocol.data_received(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/uart.py", line 91, in data_received
    self._api.data_received(frame)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 360, in data_received
    getattr(self, "_handle_%s" % (command.name,))(data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/api.py", line 493, in _handle_aps_data_indication
    data[16],
  File "/usr/local/lib/python3.7/dist-packages/zigpy_deconz/zigbee/application.py", line 324, in handle_rx
    self.handle_message(device, profile_id, cluster_id, src_ep, dst_ep, data)
  File "/usr/local/lib/python3.7/dist-packages/zigpy/application.py", line 229, in handle_message
    dst_addressing=dst_addressing,
TypeError: handle_message() got an unexpected keyword argument 'dst_addressing'
[2021-01-04 12:03:52][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x05d7>, ep: 4, profile: 0x0104, cluster_id: 0x0006, data: b'0112fd00'
[2021-01-04 12:03:52][DEBUG] : Frame received: 0x1c26000c00050002d705ffc8
[2021-01-04 12:03:52][DEBUG] : Frame received: 0x1c27000c00050002d705ffc8
[2021-01-04 12:03:52][DEBUG] : Frame received: 0x1c28000c00050002d705ffc8
[2021-01-04 12:03:53][DEBUG] : Frame received: 0x1c29000c00050002d705ffc2
[2021-01-04 12:04:01][DEBUG] : Frame received: 0x0e2a000700aa00
[2021-01-04 12:04:01][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-01-04 12:04:01][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-04 12:04:01][DEBUG] : Send: 0x1726000800010001
[2021-01-04 12:04:01][DEBUG] : Frame received: 0x17260026001f0022020000010247eb0104010004080018220a000021842b00afff48a40700cc
[2021-01-04 12:04:01][DEBUG] : APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xeb47>, 1, 260, 1024, b'\x18"\n\x00\x00!\x84+', 0, 175, 255, 72, 164, 7, 0, -52]
[2021-01-04 12:04:01][DEBUG] : [0xeb47:1:0x0400] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=34 command_id=Command.Report_Attributes>
[2021-01-04 12:04:01][DEBUG] : [0xeb47:1:0x0400] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=11140>)]]
[2021-01-04 12:04:01][INFO] : [04:cf:8c:df:3c:78:ad:eb][listener.general_command] Cluster: <zigpy.zcl.clusters.measurement.IlluminanceMeasurement object at 0xb4679190> ClusterId: 0x0400 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=34 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=11140>)]],)
[2021-01-04 12:04:01][DEBUG] : [0xeb47:1:0x0400] Attribute report received: measured_value=11140
[2021-01-04 12:04:01][INFO] : [04:cf:8c:df:3c:78:ad:eb][listener.attribute_updated] Received an attribute update 0=11140 on cluster 1024
[2021-01-04 12:04:01][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb4f37220>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (04:cf:8c:df:3c:78:ad:eb, 1, 1024, 0, 11140))
[2021-01-04 12:04:01][DEBUG] : returning <sqlite3.Cursor object at 0xb46a4c60>
[2021-01-04 12:04:01][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0xeb47>, ep: 1, profile: 0x0104, cluster_id: 0x0400, data: b'18220a000021842b'
[2021-01-04 12:04:01][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb4f37220>)
[2021-01-04 12:04:01][DEBUG] : returning None
[2021-01-04 12:04:01][DEBUG] : Send to jeedom : {'devices': {'04:cf:8c:df:3c:78:ad:eb': {'1': {'1024': {'0': {'value': '11140', 'cluster_name': 'Illuminance Measurement'}}}}}}
[2021-01-04 12:04:01][DEBUG] : Starting new HTTPS connection (1): 127.0.0.1:443
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:849: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
[2021-01-04 12:04:01][DEBUG] : https://127.0.0.1:443 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=puuMqWe8ciNP62wVJrMt3uTXYEq13bxH HTTP/1.1" 200 0
[2021-01-04 12:04:09][DEBUG] : Frame received: 0x0e27000700aa00
[2021-01-04 12:04:09][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-01-04 12:04:09][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-04 12:04:09][DEBUG] : Send: 0x1727000800010001
[2021-01-04 12:04:09][DEBUG] : Frame received: 0x17270026001f002202000001028f200104010004080018140a000021842b00afff48a40700cf
[2021-01-04 12:04:09][DEBUG] : APS data indication response: [31, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x208f>, 1, 260, 1024, b'\x18\x14\n\x00\x00!\x84+', 0, 175, 255, 72, 164, 7, 0, -49]
[2021-01-04 12:04:09][DEBUG] : [0x208f:1:0x0400] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=20 command_id=Command.Report_Attributes>
[2021-01-04 12:04:09][DEBUG] : [0x208f:1:0x0400] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=11140>)]]
[2021-01-04 12:04:09][INFO] : [04:cf:8c:df:3c:78:a2:42][listener.general_command] Cluster: <zigpy.zcl.clusters.measurement.IlluminanceMeasurement object at 0xb466dfb0> ClusterId: 0x0400 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=20 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=11140>)]],)
[2021-01-04 12:04:09][DEBUG] : [0x208f:1:0x0400] Attribute report received: measured_value=11140
[2021-01-04 12:04:09][INFO] : [04:cf:8c:df:3c:78:a2:42][listener.attribute_updated] Received an attribute update 0=11140 on cluster 1024
[2021-01-04 12:04:09][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xb4f37220>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (04:cf:8c:df:3c:78:a2:42, 1, 1024, 0, 11140))
[2021-01-04 12:04:09][DEBUG] : returning <sqlite3.Cursor object at 0xb46a4d60>
[2021-01-04 12:04:09][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x208f>, ep: 1, profile: 0x0104, cluster_id: 0x0400, data: b'18140a000021842b'
[2021-01-04 12:04:09][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xb4f37220>)
[2021-01-04 12:04:09][DEBUG] : returning None
[2021-01-04 12:04:10][DEBUG] : Send to jeedom : {'devices': {'04:cf:8c:df:3c:78:a2:42': {'1': {'1024': {'0': {'value': '11140', 'cluster_name': 'Illuminance Measurement'}}}}}}
[2021-01-04 12:04:10][DEBUG] : Starting new HTTPS connection (1): 127.0.0.1:443
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:849: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
[2021-01-04 12:04:10][DEBUG] : https://127.0.0.1:443 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=puuMqWe8ciNP62wVJrMt3uTXYEq13bxH HTTP/1.1" 200 0

Une idée du problème ?
Merci de votre aide.

Bonjour à tous et meilleurs vœux !

Je suis actuellement sous Zigbee2mqtt et je souhaite passer sous le plugin Zigbee pour la simplicité :grinning:
Mon CC2531 est branché sur un Pi 0 avec Ser2net afin d’utiliser le Pi comme passerelle sans fil (Mon serveur Proxmox et dans un local technique).
Dans le fichier de configuration de Zigbee2mqtt j’ai du rajouter cette ligne pour lui indiquer le chemin du CC2531 : tcp://192.168.1.61:20108 au lieu du port usb du style : /dev/ttyACM0

Aurait-il possibilité de ce connecter de la même manière à mon Pi 0 avec mon CC2531 via le plugin Zigbee ?

Merci d’avance

Salut
Sinon tu dois pouvoir le faire avec socat sur la machine jeedom.

Antoine

Bonjour,
Je suis pas sur que ca soit possible…

Ca ressemble soit a un bug coté zigpy soit un probleme de dependance pas bien a jour.

J’ai installé une mise à jour d’aujourd’hui. J’ai relancé l’installation de dépendances mais ça fonctionne toujours pas :frowning:

Je sais pas trop faudrait voir si d’autre ont le soucis, le firmware de la clef deconz est bien a jour ?

@Loic

bonjour

je viens d’installer la nouvelle beta, mais je ne retrouve pas la marque BlitzWolf de la prise ’ poste du 20 decembre 20:44

est ce pour une futur version ou y a t il un problème avec mon envoi

actuellement la prise fonctionne bien en prenant les informations d’une autre référence de prise

merci et encore meilleurs vœux a tout le monde

penses tu qu’il sera possible a un moment via la beta ou après que le plugin soit compatible avec du ZLL

merci

Merci @Loic,

je viens de faire la mise à jour du plugin et maintenant mes ampoules TRADFRI bulb E27 WS opal 980lm fonctionnent bien.

Juste pour préciser que pour avoir les 3 couleurs de l’ampoule (2200K - 2700 K - 4000 K), j’ai du mettre un mini de 250 et un maxi de 454 pour le curseur

  • 250 pour 2200K
  • 350 pour 2700K
  • 454 pour 4000K

Le plugin l’est en partie mais je doute qu’on aille plus loin sur le zll c’est en fin de vie et on a déjà bcp à faire sur le zigbee 3

1 « J'aime »

Tu peux remettre ton message complet j’ai du passer à côté.

le voici @loic

amélioration Graphique du réseau. ( qui est déjà top par rapport a ce que j’ai pas avec zigbe2mqtt )

pensez vous qu’il serait possible d’avoir un bouton pour sauvegarder la position des capteurs au niveau du graphique réseau.

lorsque l’on essai de mettre au clair les capteurs, si on referme la fenêtre, tout repart en live

tri fait

après avoir ferme la fenêtre

merci

@Loic Bonjour, je viens de mettre a jour de mon coté, et je ne trouve pas les infos pour les ampoules gu10 Aurora que j’ai envoyé le 20 decembre. Sinon Merci pour le boulot c’est vraiement top.

Bonjour Loic,

Il y aurait pas possibilité de se connecter à un dongle Zigbee en remote ? Comme pour une Zigate wifi par exemple.

Tu as ceci par exemple
: