Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

SONOFF BASICZBR3 Template and binary sensor unavailable #119

Open
MichaelBitard opened this issue May 23, 2020 · 1 comment
Open

SONOFF BASICZBR3 Template and binary sensor unavailable #119

MichaelBitard opened this issue May 23, 2020 · 1 comment

Comments

@MichaelBitard
Copy link
Contributor

I'm installing some of them and it works quite well.

However I have this in my logs:
2020-04-13 10:24:07 INFO (ZiGate-Decode data) [zigate] No template found for BASICZBR3.

The template:

{
    "addr": "REDACTED_ADDR",
    "discovery": "auto-discovered",
    "endpoints": [
        {
            "clusters": [
                {
                    "attributes": [
                        {
                            "attribute": 4,
                            "data": "SONOFF",
                            "name": "manufacturer",
                            "value": "SONOFF"
                        },
                        {
                            "attribute": 5,
                            "data": "BASICZBR3",
                            "name": "type",
                            "type": "str",
                            "value": "BASICZBR3"
                        }
                    ],
                    "cluster": 0
                },
                {
                    "attributes": [
                        {
                            "attribute": 0,
                            "data": false,
                            "name": "onoff",
                            "type": "bool",
                            "value": false
                        }
                    ],
                    "cluster": 6
                }
            ],
            "device": 9,
            "endpoint": 1,
            "in_clusters": [
                0,
                3,
                4,
                5,
                6
            ],
            "out_clusters": [
                0
            ],
            "profile": 260
        }
    ],
    "friendly_name": "SONOFF BASICZBR3 (REDACTED_ADDR) REDACTED_IEEE",
    "generictype": "",
    "info": {
        "addr": "REDACTED_ADDR",
        "bit_field": "0100000000000001",
        "descriptor_capability": "00000000",
        "id": 43,
        "ieee": "REDACTED_IEEE",
        "last_seen": "2020-05-23 13:49:14",
        "lqi": 54,
        "mac_capability": "10001110",
        "manufacturer_code": "0000",
        "max_buffer": 80,
        "max_rx": 160,
        "max_tx": 160,
        "power_type": 1,
        "server_mask": 0
    }
},

The problem remaining is that for each of these devices, I have a switch and a binary_sensor associated, but the binary_sensor is never updated.

More than that, after some time the binary_sensor becomes unavailable.

It could be really handy if it worked because sometimes when I toggle on or off a component, it does not switch on or off and I have to relaunch the same command, which I could automate if I had the binary_sensor working.

@MichaelBitard
Copy link
Contributor Author

I have the feeling that sometimes during discovery the template is updated and the binary sensor is removed for all the basiczbr3 modules

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant