plugin-ZIGBEE Beta

Re-bonjour @Loic,

Autres modules en ma possession, une prise + 2 USB commandables. Un peu différente de celle que j’ai déjà remontée (elle n’est pas reconnue comme telle).

Je migre une installation depuis Deconz, et cette prise y était reconnue comme ça :

Un des on/off pour la prise 220V, un pour les deux USB.

Dans le plugin Zigbee, ces infos sont remontées :

{
    "ieee": "ec:1b:bd:ff:fe:6c:2d:ff",
    "nwk": 36599,
    "status": 2,
    "lqi": "255",
    "rssi": "-61",
    "last_seen": "1614358721.244903",
    "node_descriptor": "01:40:8e:00:00:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 81,
            "profile_id": 260,
            "manufacturer": "_TYZB01_b1ngbmlm",
            "model": "TS0112",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 67
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TYZB01_b1ngbmlm"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0112"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": []
                },
                {
                    "id": 1794,
                    "name": "Metering",
                    "attributes": []
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": []
                }
            ]
        },
        {
            "id": 2,
            "status": 1,
            "device_type": 81,
            "profile_id": 260,
            "manufacturer": "_TYZB01_b1ngbmlm",
            "model": "TS0112",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 67
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TYZB01_b1ngbmlm"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0112"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": []
                },
                {
                    "id": 1794,
                    "name": "Metering",
                    "attributes": []
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TYZB01_b1ngbmlm",
        "model": "TS0112",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 0,
            "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": 81,
                "input_clusters": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    1794,
                    2820
                ],
                "output_clusters": [
                    25
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 81,
                "input_clusters": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    1794,
                    2820
                ],
                "output_clusters": [
                    25
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Voici l’image :

prise_200V_USB-removebg-preview

Bonne journée, et merci d’avance pour l’ajout.