plugin-ZIGBEE Beta BlaBla

Pour les ON/OFF, je laisse @Loic voir ce qu’il en pense

Le problème est que le Json transmis par @jlpracing en janvier sous la référence 067646 (VR sans fil) correspond en fait au 067726 (VR with neutral)

Le bon JSON du 067646 (Shutters central remote switch) t’a été transmis par @loic69

{
    "ieee": "00:04:74:00:00:ac:5f:d6",
    "nwk": 57670,
    "status": 2,
    "lqi": "255",
    "rssi": "-58",
    "last_seen": "1616106143.399546",
    "node_descriptor": "12:40:80:21:10:59:3f:00:00:2a:3f:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 515,
            "profile_id": 260,
            "manufacturer": " Legrand",
            "model": " Shutters central remote switch",
            "output_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 258,
                    "name": "Window Covering",
                    "attributes": []
                },
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": []
                },
                {
                    "id": 64513,
                    "name": "Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 2
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 0
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 65
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": " Legrand"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": " Shutters central remote switch"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": " "
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 3
                        },
                        {
                            "id": 16384,
                            "name": "sw_build_id",
                            "value": "001e"
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 15,
                    "name": "Binary Input (Basic)",
                    "attributes": [
                        {
                            "id": 85,
                            "name": "present_value",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 32,
                    "name": "Poll Control",
                    "attributes": []
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": [
                        {
                            "id": 32,
                            "name": "battery_voltage",
                            "value": 29
                        }
                    ]
                },
                {
                    "id": 64513,
                    "name": "Manufacturer Specific",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": " Legrand",
        "model": " Shutters central remote switch",
        "node_desc": {
            "byte1": 18,
            "byte2": 64,
            "mac_capability_flags": 128,
            "manufacturer_code": 4129,
            "maximum_buffer_size": 89,
            "maximum_incoming_transfer_size": 63,
            "server_mask": 10752,
            "maximum_outgoing_transfer_size": 63,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 515,
                "input_clusters": [
                    0,
                    3,
                    15,
                    32,
                    1,
                    64513
                ],
                "output_clusters": [
                    3,
                    258,
                    0,
                    64513,
                    25
                ]
            }
        }
    },
    "class": "zigpy.device"
}
1 « J'aime »