doudz / homeassistant-zigate

zigate component for Home Assistant
MIT License
48 stars 15 forks source link

added Smart Light HGZB-1A support #63

Closed iron91770 closed 4 years ago

iron91770 commented 4 years ago

Helllo,

I have a Smart Light HGZB-1A switch and it is recognized as a sensor instead of a switch so I can not turn it off or turn it on.

Could you help me change the domain or make it compatible?

Thank you

doudz commented 4 years ago

Could you share your zigate.json file ?

iron91770 commented 4 years ago
{
    "devices": [
        {
            "addr": "4e7d",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "OSRAM",
                                    "name": "manufacturer",
                                    "value": "OSRAM"
                                },
                                {
                                    "attribute": 5,
                                    "data": "Plug 01",
                                    "name": "type",
                                    "type": "str",
                                    "value": "Plug 01"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
                                {
                                    "attribute": 6,
                                    "name": "datecode",
                                    "value": null
                                },
                                {
                                    "attribute": 7,
                                    "name": "power_source",
                                    "value": null
                                },
                                {
                                    "attribute": 18
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": false,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 2
                                },
                                {
                                    "attribute": 3
                                },
                                {
                                    "attribute": 4
                                }
                            ],
                            "cluster": 5
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1291
                                }
                            ],
                            "cluster": 2820
                        }
                    ],
                    "device": 16,
                    "endpoint": 3,
                    "in_clusters": [
                        4096,
                        0,
                        3,
                        4,
                        5,
                        6,
                        2820,
                        64527
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                }
            ],
            "generictype": "",
            "info": {
                "addr": "4e7d",
                "id": 43,
                "ieee": "7cb03eaa0a016dad",
                "last_seen": "2019-07-29 10:49:40",
                "lqi": 78,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "80f2",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121d10b0421a81305210b00062401000000006429db0865211d13662b8b8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.025
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2259,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.59
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1002,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1002
                                },
                                {
                                    "attribute": 16,
                                    "data": 10022,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1002.2
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4952,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 49.52
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "80f2",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 6,
                "ieee": "00158d000247cc33",
                "last_seen": "2019-07-29 10:43:27",
                "lqi": 153,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "17a4",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq3",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq3"
                                },
                                {
                                    "attribute": 1,
                                    "data": 2,
                                    "name": "application_version",
                                    "value": 2
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121b30b03281c0421a8130521480006240100000000082102010a2100009821240099210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.995
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 85,
                                    "data": "",
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "str",
                                    "value": ""
                                }
                            ],
                            "cluster": 18
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        18,
                        6,
                        1
                    ],
                    "out_clusters": [
                        0
                    ],
                    "profile": 260
                }
            ],
            "generictype": "",
            "info": {
                "addr": "17a4",
                "id": 7,
                "ieee": "00158d0001e5daf5",
                "last_seen": "2019-07-29 10:13:13",
                "lqi": 168,
                "mac_capability": "10000000",
                "power_type": 0
            }
        },
        {
            "addr": "5fbb",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121c70b0421a81305210600062401000000006429d8086521b713662b1c8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.015
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2275,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.75
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10012,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.2
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4859,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 48.59
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "5fbb",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 1,
                "ieee": "00158d0002477c78",
                "last_seen": "2019-07-29 10:30:02",
                "lqi": 135,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "ac8e",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq2",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq2"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121d10b03281c0421a81305212500062401000000000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.025
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "inverse": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 32768,
                                    "data": 0,
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "int",
                                    "value": 0
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        65535,
                        6
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "ac8e",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 9,
                "ieee": "00158d0002135d9f",
                "last_seen": "2019-07-29 10:22:38",
                "lqi": 126,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "9472",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq2",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq2"
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121db0b03281b0421a81305211a00062401000000000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.035
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "inverse": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 32768,
                                    "data": 0,
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "int",
                                    "value": 0
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        65535,
                        6
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "9472",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 10,
                "ieee": "00158d0002132917",
                "last_seen": "2019-07-29 10:19:32",
                "lqi": 138,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "c2c4",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121a90b0421a81305210600062401000000006429ed086521fd13662b1f8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.985
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2285,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.85
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10013,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.3
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4869,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 48.69
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "c2c4",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 0,
                "ieee": "00158d000247cea7",
                "last_seen": "2019-07-29 10:34:05",
                "lqi": 153,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "6112",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "01219f0b0421a81305210a0006240100000000642935096521a713662b2f8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.975
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2356,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 23.56
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10014,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.4
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 5041,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 50.41
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "6112",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 8,
                "ieee": "00158d000247ce6b",
                "last_seen": "2019-07-29 10:50:07",
                "lqi": 144,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "fba7",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
                                {
                                    "attribute": 6,
                                    "name": "datecode",
                                    "value": null
                                },
                                {
                                    "attribute": 7,
                                    "name": "power_source",
                                    "value": null
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 2
                                },
                                {
                                    "attribute": 3
                                },
                                {
                                    "attribute": 4
                                }
                            ],
                            "cluster": 5
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": true
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                },
                                {
                                    "attribute": 16387
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 254,
                                    "name": "current_level",
                                    "type": "int",
                                    "value": 100
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 8
                        }
                    ],
                    "device": 256,
                    "endpoint": 11,
                    "in_clusters": [
                        0,
                        3,
                        4,
                        5,
                        6,
                        8,
                        4096
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                },
                {
                    "clusters": [],
                    "device": 97,
                    "endpoint": 242,
                    "in_clusters": [
                        33
                    ],
                    "out_clusters": [
                        33
                    ],
                    "profile": 41440
                }
            ],
            "generictype": "",
            "info": {
                "addr": "fba7",
                "id": 42,
                "ieee": "0017880102fc5adc",
                "last_seen": "2019-07-29 07:01:07",
                "lqi": 69,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "f671",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 254,
                                    "name": "current_level",
                                    "type": "int",
                                    "value": 100
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 8
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": true
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                },
                                {
                                    "attribute": 16387
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 256,
                    "endpoint": 11,
                    "in_clusters": [
                        0,
                        3,
                        4,
                        5,
                        6,
                        8,
                        4096
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                },
                {
                    "clusters": [],
                    "device": 97,
                    "endpoint": 242,
                    "in_clusters": [
                        33
                    ],
                    "out_clusters": [
                        33
                    ],
                    "profile": 41440
                }
            ],
            "generictype": "",
            "info": {
                "addr": "f671",
                "id": 40,
                "ieee": "0017880104c9d60f",
                "last_seen": "2019-07-29 07:01:06",
                "lqi": 120,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "9869",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
doudz commented 4 years ago

Why did you close it, is it working now ?

iron91770 commented 4 years ago

I made a mistake. I still have the problem sorry

Cordialement

Thierry


From: Sébastien RAMAGE notifications@github.com Sent: Monday, July 29, 2019 11:03:41 AM To: doudz/homeassistant-zigate homeassistant-zigate@noreply.github.com Cc: iron91770 iron91770@outlook.fr; State change state_change@noreply.github.com Subject: Re: [doudz/homeassistant-zigate] added Smart Light HGZB-1A support (#63)

Why did you close it, is ti working now ?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/doudz/homeassistant-zigate/issues/63?email_source=notifications&email_token=AMXP47REIZA7E4KQ5S5TJS3QB2W63A5CNFSM4IHNR7E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ACNXI#issuecomment-515909341, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMXP47RWN4YUJUSMXIKTFIDQB2W63ANCNFSM4IHNR7EQ.

iron91770 commented 4 years ago
{
    "devices": [
        {
            "addr": "4e7d",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "OSRAM",
                                    "name": "manufacturer",
                                    "value": "OSRAM"
                                },
                                {
                                    "attribute": 5,
                                    "data": "Plug 01",
                                    "name": "type",
                                    "type": "str",
                                    "value": "Plug 01"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
                                {
                                    "attribute": 6,
                                    "name": "datecode",
                                    "value": null
                                },
                                {
                                    "attribute": 7,
                                    "name": "power_source",
                                    "value": null
                                },
                                {
                                    "attribute": 18
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": false,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 2
                                },
                                {
                                    "attribute": 3
                                },
                                {
                                    "attribute": 4
                                }
                            ],
                            "cluster": 5
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1291
                                }
                            ],
                            "cluster": 2820
                        }
                    ],
                    "device": 16,
                    "endpoint": 3,
                    "in_clusters": [
                        4096,
                        0,
                        3,
                        4,
                        5,
                        6,
                        2820,
                        64527
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                }
            ],
            "generictype": "",
            "info": {
                "addr": "4e7d",
                "id": 43,
                "ieee": "7cb03eaa0a016dad",
                "last_seen": "2019-07-29 10:49:40",
                "lqi": 78,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "80f2",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121d10b0421a81305210b00062401000000006429db0865211d13662b8b8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.025
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2259,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.59
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1002,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1002
                                },
                                {
                                    "attribute": 16,
                                    "data": 10022,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1002.2
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4952,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 49.52
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "80f2",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 6,
                "ieee": "00158d000247cc33",
                "last_seen": "2019-07-29 10:43:27",
                "lqi": 153,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "17a4",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq3",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq3"
                                },
                                {
                                    "attribute": 1,
                                    "data": 2,
                                    "name": "application_version",
                                    "value": 2
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121b30b03281c0421a8130521480006240100000000082102010a2100009821240099210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.995
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 85,
                                    "data": "",
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "str",
                                    "value": ""
                                }
                            ],
                            "cluster": 18
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        18,
                        6,
                        1
                    ],
                    "out_clusters": [
                        0
                    ],
                    "profile": 260
                }
            ],
            "generictype": "",
            "info": {
                "addr": "17a4",
                "id": 7,
                "ieee": "00158d0001e5daf5",
                "last_seen": "2019-07-29 10:13:13",
                "lqi": 168,
                "mac_capability": "10000000",
                "power_type": 0
            }
        },
        {
            "addr": "5fbb",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121c70b0421a81305210600062401000000006429d8086521b713662b1c8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.015
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2275,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.75
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10012,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.2
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4859,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 48.59
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "5fbb",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 1,
                "ieee": "00158d0002477c78",
                "last_seen": "2019-07-29 10:30:02",
                "lqi": 135,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "ac8e",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq2",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq2"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121d10b03281c0421a81305212500062401000000000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.025
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "inverse": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 32768,
                                    "data": 0,
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "int",
                                    "value": 0
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        65535,
                        6
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "ac8e",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 9,
                "ieee": "00158d0002135d9f",
                "last_seen": "2019-07-29 10:22:38",
                "lqi": 126,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "9472",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.sensor_switch.aq2",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.sensor_switch.aq2"
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121db0b03281b0421a81305211a00062401000000000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 3.035
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "inverse": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": false
                                },
                                {
                                    "attribute": 32768,
                                    "data": 0,
                                    "expire": 2,
                                    "name": "multiclick",
                                    "type": "int",
                                    "value": 0
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        65535,
                        6
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "9472",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 10,
                "ieee": "00158d0002132917",
                "last_seen": "2019-07-29 10:19:32",
                "lqi": 138,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "c2c4",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "0121a90b0421a81305210600062401000000006429ed086521fd13662b1f8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.985
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2285,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 22.85
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10013,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.3
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 4869,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 48.69
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "c2c4",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 0,
                "ieee": "00158d000247cea7",
                "last_seen": "2019-07-29 10:34:05",
                "lqi": 153,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "6112",
            "discovery": "templated",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 5,
                                    "data": "lumi.weather",
                                    "name": "type",
                                    "type": "str",
                                    "value": "lumi.weather"
                                },
                                {
                                    "attribute": 1,
                                    "data": 3,
                                    "name": "application_version",
                                    "value": 3
                                },
                                {
                                    "attribute": 4,
                                    "data": "LUMI",
                                    "name": "manufacturer",
                                    "value": "LUMI"
                                },
                                {
                                    "attribute": 7,
                                    "data": 3,
                                    "name": "power_source",
                                    "value": 3
                                },
                                {
                                    "attribute": 65281,
                                    "data": "01219f0b0421a81305210a0006240100000000642935096521a713662b2f8701000a210000",
                                    "name": "battery_voltage",
                                    "type": "float",
                                    "unit": "V",
                                    "value": 2.975
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 2356,
                                    "name": "temperature",
                                    "type": "float",
                                    "unit": "\u00b0C",
                                    "value": 23.56
                                }
                            ],
                            "cluster": 1026
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 1001,
                                    "name": "pressure",
                                    "type": "int",
                                    "unit": "mb",
                                    "value": 1001
                                },
                                {
                                    "attribute": 16,
                                    "data": 10014,
                                    "name": "pressure2",
                                    "type": "float",
                                    "unit": "mb",
                                    "value": 1001.4
                                },
                                {
                                    "attribute": 20,
                                    "data": -1
                                }
                            ],
                            "cluster": 1027
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 5041,
                                    "name": "humidity",
                                    "type": "float",
                                    "unit": "%",
                                    "value": 50.41
                                }
                            ],
                            "cluster": 1029
                        }
                    ],
                    "device": 24321,
                    "endpoint": 1,
                    "in_clusters": [
                        0,
                        3,
                        65535,
                        1026,
                        1027,
                        1029
                    ],
                    "out_clusters": [
                        0,
                        4,
                        65535
                    ],
                    "profile": 260
                }
            ],
            "generictype": "sensor",
            "info": {
                "addr": "6112",
                "bit_field": "0100000000000010",
                "descriptor_capability": "00000000",
                "id": 8,
                "ieee": "00158d000247ce6b",
                "last_seen": "2019-07-29 10:50:07",
                "lqi": 144,
                "mac_capability": "10000000",
                "manufacturer_code": "1037",
                "power_type": 0,
                "server_mask": 0
            }
        },
        {
            "addr": "fba7",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
                                {
                                    "attribute": 6,
                                    "name": "datecode",
                                    "value": null
                                },
                                {
                                    "attribute": 7,
                                    "name": "power_source",
                                    "value": null
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 2
                                },
                                {
                                    "attribute": 3
                                },
                                {
                                    "attribute": 4
                                }
                            ],
                            "cluster": 5
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": true
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                },
                                {
                                    "attribute": 16387
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 254,
                                    "name": "current_level",
                                    "type": "int",
                                    "value": 100
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 8
                        }
                    ],
                    "device": 256,
                    "endpoint": 11,
                    "in_clusters": [
                        0,
                        3,
                        4,
                        5,
                        6,
                        8,
                        4096
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                },
                {
                    "clusters": [],
                    "device": 97,
                    "endpoint": 242,
                    "in_clusters": [
                        33
                    ],
                    "out_clusters": [
                        33
                    ],
                    "profile": 41440
                }
            ],
            "generictype": "",
            "info": {
                "addr": "fba7",
                "id": 42,
                "ieee": "0017880102fc5adc",
                "last_seen": "2019-07-29 07:01:07",
                "lqi": 69,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "f671",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                }
                            ],
                            "cluster": 0
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 3
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0
                                }
                            ],
                            "cluster": 4
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": 254,
                                    "name": "current_level",
                                    "type": "int",
                                    "value": 100
                                },
                                {
                                    "attribute": 1
                                },
                                {
                                    "attribute": 16384
                                }
                            ],
                            "cluster": 8
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": true
                                },
                                {
                                    "attribute": 16384
                                },
                                {
                                    "attribute": 16385
                                },
                                {
                                    "attribute": 16386
                                },
                                {
                                    "attribute": 16387
                                }
                            ],
                            "cluster": 6
                        }
                    ],
                    "device": 256,
                    "endpoint": 11,
                    "in_clusters": [
                        0,
                        3,
                        4,
                        5,
                        6,
                        8,
                        4096
                    ],
                    "out_clusters": [
                        25
                    ],
                    "profile": 49246
                },
                {
                    "clusters": [],
                    "device": 97,
                    "endpoint": 242,
                    "in_clusters": [
                        33
                    ],
                    "out_clusters": [
                        33
                    ],
                    "profile": 41440
                }
            ],
            "generictype": "",
            "info": {
                "addr": "f671",
                "id": 40,
                "ieee": "0017880104c9d60f",
                "last_seen": "2019-07-29 07:01:06",
                "lqi": 120,
                "mac_capability": "10001110",
                "power_type": 1
            }
        },
        {
            "addr": "9869",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "Philips",
                                    "name": "manufacturer",
                                    "value": "Philips"
                                },
                                {
                                    "attribute": 5,
                                    "data": "LWB010",
                                    "name": "type",
                                    "type": "str",
                                    "value": "LWB010"
                                },
                                {
                                    "attribute": 0,
                                    "name": "zcl_version",
                                    "value": null
                                },
                                {
                                    "attribute": 1,
                                    "name": "application_version",
                                    "value": null
                                },
                                {
                                    "attribute": 2,
                                    "name": "stack_version",
                                    "value": null
                                },
                                {
                                    "attribute": 3,
                                    "name": "hardware_version",
                                    "value": null
                                },
doudz commented 4 years ago

The end of the file is missing

iron91770 commented 4 years ago

zigate.zip

iron91770 commented 4 years ago

This section:

 {
            "addr": "819a",
            "discovery": "auto-discovered",
            "endpoints": [
                {
                    "clusters": [
                        {
                            "attributes": [
                                {
                                    "attribute": 0,
                                    "data": true,
                                    "name": "onoff",
                                    "type": "bool",
                                    "value": true
                                }
                            ],
                            "cluster": 6
                        },
                        {
                            "attributes": [
                                {
                                    "attribute": 4,
                                    "data": "FeiBit",
                                    "name": "manufacturer",
                                    "value": "FeiBit"
                                },
                                {
                                    "attribute": 5,
                                    "data": "FNB56-ZSW23HG1.1",
                                    "name": "type",
                                    "type": "str",
                                    "value": "FNB56-ZSW23HG1.1"
                                }
                            ],
                            "cluster": 0
                        }
                    ],
                    "device": 0,
                    "endpoint": 11,
                    "in_clusters": [],
                    "out_clusters": [],
                    "profile": 0
                }
            ],
            "generictype": "",
            "info": {
                "addr": "819a",
                "ieee": "00158d000291e5e7",
                "last_seen": "2019-07-29 21:36:22",
                "lqi": 141,
                "mac_capability": "10001110"
            }
        }
doudz commented 4 years ago

Could you try to call the service zigate.discover_device on that device ? Because many informations are missing (like in_clusters for example)

iron91770 commented 4 years ago

2019-07-29 22:43:01 WARNING (SyncWorker_13) [zigate] No template found for FNB56-ZSW23HG1.1 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:155, lqi:16 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:156, lqi:16 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:fba7, sequence:157, lqi:16 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:12 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:13 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-29 22:43:13 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b''

iron91770 commented 4 years ago
    {
        "addr": "819a",
        "discovery": "auto-discovered",
        "endpoints": [
            {
                "clusters": [
                    {
                        "attributes": [
                            {
                                "attribute": 0,
                                "data": true,
                                "name": "onoff",
                                "type": "bool",
                                "value": true
                            }
                        ],
                        "cluster": 6
                    },
                    {
                        "attributes": [
                            {
                                "attribute": 4,
                                "data": "FeiBit",
                                "name": "manufacturer",
                                "value": "FeiBit"
                            },
                            {
                                "attribute": 5,
                                "data": "FNB56-ZSW23HG1.1",
                                "name": "type",
                                "type": "str",
                                "value": "FNB56-ZSW23HG1.1"
                            }
                        ],
                        "cluster": 0
                    }
                ],
                "device": 0,
                "endpoint": 11,
                "in_clusters": [],
                "out_clusters": [],
                "profile": 0
            }
        ],
        "generictype": "",
        "info": {
            "addr": "819a",
            "id": 41,
            "ieee": "00158d000291e5e7",
            "last_seen": "2019-07-29 21:36:22",
            "lqi": 132,
            "mac_capability": "10001110",
            "power_type": 1
        }
    },
doudz commented 4 years ago

No change in your zigate.json, did you wait a little or stop HA before get info from zigate.json after calling discover_device ? The discovery takes some time and the zigate.json is saved every 5 min

iron91770 commented 4 years ago

yes moreover I have a line to add: "power_type": 1

But nothing else

doudz commented 4 years ago

Problems are :

Could you set debug mode log and call discover_device again and put the log here ?

doudz commented 4 years ago

Could try to call zigate.raw_command service with the following

{
"cmd": "0x0043",
"data": "819a0b"
}
iron91770 commented 4 years ago

I add the following lines in the configuration.yaml: logger: default: error logs: zigate: debug custom_components.zigate: debug

And here:

2019-07-30 09:31:28 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15730100' 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:115, packet_type:256, error:b'', lqi:0 2019-07-30 09:31:28 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:115, packet_type:256, error:b'', lqi:0 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] REQUEST : 0x0100 b'\x02\xf6q\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] Msg to send b'0100000e8902f671010b000800000000010000' 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] Encoded Msg to send b'01021102100210021e890212f6710211021b02100218021002100210021002110210021003' 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:31:28 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xe5\x15t\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:31:28 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15740100' 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:116, packet_type:256, error:b'', lqi:0 2019-07-30 09:31:28 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:31:28 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:31:28 DEBUG (SyncWorker_5) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:116, packet_type:256, error:b'', lqi:0 2019-07-30 09:31:37 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x87\x02\x11\x02\x10\x02\x13U\xd0\x02\x10\x02\x10\x03' 2019-07-30 09:31:37 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8701: b'd000' 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8701 - Route Discovery Confirmation : status:208, network_status:0, lqi:0 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:31:37 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x87\x02\x11\x02\x10\x02\x13U\xd0\x02\x10\x02\x10\x03' 2019-07-30 09:31:37 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8701: b'd000' 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8701 - Route Discovery Confirmation : status:208, network_status:0, lqi:0 2019-07-30 09:31:37 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

iron91770 commented 4 years ago

zigate.raw: 2019-07-30 09:38:29 DEBUG (SyncWorker_2) [zigate] Msg to send b'0043000350819a0b' 2019-07-30 09:38:29 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'010210430210021350819a021b03' 2019-07-30 09:38:29 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0043 2019-07-30 09:38:29 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xc2\x02\x10\x02\x14\x02\x10C\x02\x10\x03' 2019-07-30 09:38:30 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80C\x02\x10\x1e\xde\x02\x14\x02\x10\x81\x9a\x18\x02\x1b\xc0^\x02\x10\x02\x10\x02\x11\x02\x17\x02\x10\x02\x10\x02\x10\x02\x14\x02\x10\x02\x13\x02\x10\x02\x16\x02\x10\x02\x15\x10\x02\x10\x02\x10\x02\x18\x02\x11\x02\x10\x19\x93\x03' 2019-07-30 09:38:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00040043' 2019-07-30 09:38:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:4, packet_type:67, error:b'', lqi:0 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8043: b'0400819a180bc05e000001070000000400030006000510000008010019' 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8043 - Simple descriptor : sequence:4, status:0, addr:819a, length:24, endpoint:11, profile:49246, device:0, bit_field:00000001, inout_clusters:b'\x07\x00\x00\x00\x04\x00\x03\x00\x06\x00\x05\x10\x00\x00\x08\x01\x00\x19', lqi:147, in_clusters:(0, 4, 3, 6, 5, 4096, 8), out_clusters:(25,) 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device FeiBit FNB56-ZSW23HG1.1 (819a) 00158d000291e5e7 2019-07-30 09:38:30 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0043:RESPONSE 0x8000 - Status response : status:0, sequence:4, packet_type:67, error:b'', lqi:0 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device FeiBit FNB56-ZSW23HG1.1 (819a) 00158d000291e5e7 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] discover_device 819a 2019-07-30 09:38:30 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] REQUEST : 0x0100 b'\x02\xf6q\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Msg to send b'0100000e8702f671010b000600000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Encoded Msg to send b'01021102100210021e870212f6710211021b02100216021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15?\x02\x10\xbb\x02\x11\x02\x10\x02\x10\x03\x01\x87\x02\x12\x02\x10\x02\x18X\xd4\x02\x11\x02\x1b\x02\x12\xf6q\x9e\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00bb0100' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:187, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8702: b'd4010b02f6719e' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:158, lqi:16 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:158, lqi:16 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:187, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] REQUEST : 0x0100 b'\x02\xf6q\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Msg to send b'0100000e8902f671010b000800000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Encoded Msg to send b'01021102100210021e890212f6710211021b02100218021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x158\x02\x10\xbc\x02\x11\x02\x10\x02\x10\x03\x01\x87\x02\x12\x02\x10\x02\x18Y\xd4\x02\x11\x02\x1b\x02\x12\xf6q\x9f\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00bc0100' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:188, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8702: b'd4010b02f6719f' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:159, lqi:16 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:f671, sequence:159, lqi:16 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_11) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:188, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] REQUEST : 0x0100 b'\x02\x1b\xc2\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Msg to send b'0100000ed9021bc2010b000600000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Encoded Msg to send b'01021102100210021ed902121bc20211021b02100216021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x159\x02\x10\xbd\x02\x11\x02\x10\x02\x10\x03\x01\x87\x02\x12\x02\x10\x02\x188\xd4\x02\x11\x02\x1b\x02\x12\x1b\xc2\xa0\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00bd0100' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:189, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8702: b'd4010b021bc2a0' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:1bc2, sequence:160, lqi:16 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:189, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:11, dst_address_mode:2, dst_address:1bc2, sequence:160, lqi:16 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] REQUEST : 0x0100 b'\x02\x1b\xc2\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Msg to send b'0100000ed7021bc2010b000800000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Encoded Msg to send b'01021102100210021ed702121bc20211021b02100218021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15/\x15\xbe\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15be0100' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:190, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_12) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:190, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02\xfb\xa7\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Msg to send b'0100000e5c02fba7010b000600000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'01021102100210021e5c0212fba70211021b02100216021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15.\x15\xbf\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15bf0100' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:191, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:191, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02\xfb\xa7\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Msg to send b'0100000e5202fba7010b000800000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'01021102100210021e520212fba70211021b02100218021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15Q\x15\xc0\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c00100' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:192, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:33 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:192, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:33 DEBUG (SyncWorker_6) [zigate] REQUEST : 0x0100 b'\x02N}\x01\x03\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:33 DEBUG (SyncWorker_6) [zigate] Msg to send b'0100000e3b024e7d0103000600000000010000' 2019-07-30 09:38:33 DEBUG (SyncWorker_6) [zigate] Encoded Msg to send b'01021102100210021e3b02124e7d0211021302100216021002100210021002110210021003' 2019-07-30 09:38:33 DEBUG (SyncWorker_6) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15P\x15\xc1\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c10100' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:193, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:34 DEBUG (SyncWorker_6) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:193, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] REQUEST : 0x0100 b'\x02\x86l\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Msg to send b'0100000eea02866c010b000600000000010000' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Encoded Msg to send b'01021102100210021eea0212866c0211021b02100216021002100210021002110210021003' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15S\x15\xc2\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c20100' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:194, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:194, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] REQUEST : 0x0100 b'\x02\x86l\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Msg to send b'0100000ee402866c010b000800000000010000' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Encoded Msg to send b'01021102100210021ee40212866c0211021b02100218021002100210021002110210021003' 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15R\x15\xc3\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c30100' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:195, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:34 DEBUG (SyncWorker_18) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:195, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] REQUEST : 0x0100 b'\x02\x81\x9a\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Msg to send b'0100000e1b02819a010b000600000000010000' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Encoded Msg to send b'01021102100210021e1b0212819a0211021b02100216021002100210021002110210021003' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15U\x15\xc4\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c40100' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:196, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:196, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] REQUEST : 0x0100 b'\x02\x81\x9a\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Msg to send b'0100000e1502819a010b000800000000010000' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Encoded Msg to send b'01021102100210021e150212819a0211021b02100218021002100210021002110210021003' 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15T\x15\xc5\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c50100' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:197, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:34 DEBUG (SyncWorker_19) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:197, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:34 DEBUG (SyncWorker_10) [zigate] REQUEST : 0x0100 b'\x02\x98i\x01\x0b\x00\x06\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:34 DEBUG (SyncWorker_10) [zigate] Msg to send b'0100000ef1029869010b000600000000010000' 2019-07-30 09:38:34 DEBUG (SyncWorker_10) [zigate] Encoded Msg to send b'01021102100210021ef1021298690211021b02100216021002100210021002110210021003' 2019-07-30 09:38:34 DEBUG (SyncWorker_10) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15W\x15\xc6\x02\x11\x02\x10\x02\x10\x03' 2019-07-30 09:38:35 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-07-30 09:38:35 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'15c60100' 2019-07-30 09:38:35 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:21, sequence:198, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:35 ERROR (ZiGate-Decode data) [zigate] Command 0x0100 failed Failed (ZigBee event codes) 15 : b'' 2019-07-30 09:38:35 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-07-30 09:38:35 DEBUG (SyncWorker_10) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:21, sequence:198, packet_type:256, error:b'', lqi:0 2019-07-30 09:38:35 DEBUG (SyncWorker_10) [zigate] REQUEST : 0x0100 b'\x02\x98i\x01\x0b\x00\x08\x00\x00\x00\x00\x01\x00\x00' 2019-07-30 09:38:35 DEBUG (SyncWorker_10) [zigate] Msg to send b'0100000eff029869010b000800000000010000' 2019-07-30 09:38:35 DEBUG (SyncWorker_10) [zigate] Encoded Msg to send b'01021102100210021eff021298690211021b02100218021002100210021002110210021003' 2019-07-30 09:38:35 DEBUG (SyncWorker_10) [zigate] Waiting for status message for command 0x0100 2019-07-30 09:38:35 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15V\x15\xc7\x02\x11\x02\x10\x02\x10\x03'

doudz commented 4 years ago

aaah good ! 2019-07-30 09:36:07 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8043 - Simple descriptor : sequence:3, status:0, addr:819a, length:24, endpoint:11, profile:49246, device:0, bit_field:00000001, inout_clusters:b'\x07\x00\x00\x00\x04\x00\x03\x00\x06\x00\x05\x10\x00\x00\x08\x01\x00\x19', lqi:147, in_clusters:(0, 4, 3, 6, 5, 4096, 8), out_clusters:(25,)

Now there's in_clusters ! But looks like device = 0 :(

iron91770 commented 4 years ago
   {
        "addr": "819a",
        "discovery": "auto-discovered",
        "endpoints": [
            {
                "clusters": [
                    {
                        "attributes": [
                            {
                                "attribute": 0,
                                "data": true,
                                "name": "onoff",
                                "type": "bool",
                                "value": true
                            }
                        ],
                        "cluster": 6
                    },
                    {
                        "attributes": [
                            {
                                "attribute": 4,
                                "data": "FeiBit",
                                "name": "manufacturer",
                                "value": "FeiBit"
                            },
                            {
                                "attribute": 5,
                                "data": "FNB56-ZSW23HG1.1",
                                "name": "type",
                                "type": "str",
                                "value": "FNB56-ZSW23HG1.1"
                            }
                        ],
                        "cluster": 0
                    },
                    {
                        "attributes": [
                            {
                                "attribute": 0,
                                "data": 1,
                                "name": "current_level",
                                "type": "int",
                                "value": 0
                            }
                        ],
                        "cluster": 8
                    }
                ],
                "device": 0,
                "endpoint": 11,
                "in_clusters": [
                    0,
                    4,
                    3,
                    6,
                    5,
                    4096,
                    8
                ],
                "out_clusters": [
                    25
                ],
                "profile": 49246
            }
        ],
        "generictype": "",
        "info": {
            "addr": "819a",
            "id": 42,
            "ieee": "00158d000291e5e7",
            "last_seen": "2019-07-30 09:37:32",
            "lqi": 147,
            "mac_capability": "10001110",
            "power_type": 1
        }
    },
iron91770 commented 4 years ago

the code in zigate.raw was used for what?

doudz commented 4 years ago

the code in zigate.raw was used for what?

to retrieve in_clusters and device type id

doudz commented 4 years ago

I just push an update to fix your problem, should be ok now using lib 0.31.3

iron91770 commented 4 years ago

It's good the problem is solved

Thank you very much