Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff ZBmini; power source showing question mark #5362

Closed
kireque opened this issue Dec 21, 2020 · 5 comments
Closed

Sonoff ZBmini; power source showing question mark #5362

kireque opened this issue Dec 21, 2020 · 5 comments
Labels
problem Something isn't working

Comments

@kireque
Copy link

kireque commented Dec 21, 2020

What happened

After adding multiple Sonoff zbmini devices I noticed that the power source is showing a question mark.

What did you expect to happen

Power source showing a plug instead question mark

How to reproduce it (minimal and precise)

Add Sonoff ZBmini

Debug info

Zigbee2MQTT version: 1.16.2
Adapter hardware: ZZH
Adapter firmware version:
{'meta': {'maintrel': 1, 'majorrel': 2, 'minorrel': 7, 'product': 1, 'revision': 20200925, 'transportrev': 2}, 'type': 'zStack3x0'}

@kireque kireque added the problem Something isn't working label Dec 21, 2020
@Koenkk
Copy link
Owner

Koenkk commented Dec 21, 2020

Can you provide the data/database.db entries of these devices?

@kireque
Copy link
Author

kireque commented Dec 22, 2020

{
    "id": 42,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e1296",
    "nwkAddr": 48943,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647836955
}
{
    "id": 43,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e13c8",
    "nwkAddr": 31740,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647809780
}

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Dec 22, 2020
@Koenkk
Copy link
Owner

Koenkk commented Dec 22, 2020

Fixed.

Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html)

@Koenkk Koenkk closed this as completed Dec 22, 2020
@mojijafari
Copy link

{
    "id": 42,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e1296",
    "nwkAddr": 48943,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647836955
}
{
    "id": 43,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e13c8",
    "nwkAddr": 31740,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647809780
}

Thanks, how did you find this data?
could you please help me?

@kireque
Copy link
Author

kireque commented Jan 18, 2021

{
    "id": 42,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e1296",
    "nwkAddr": 48943,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647836955
}
{
    "id": 43,
    "type": "Router",
    "ieeeAddr": "0x842e14fffe9e13c8",
    "nwkAddr": 31740,
    "manufId": 4098,
    "manufName": "SONOFF",
    "powerSource": "Unknown",
    "modelId": "01MINIZB",
    "epList": [
        1,
        242
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 256,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                4096
            ],
            "outClusterList": [
                4096
            ],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "modelId": "01MINIZB",
                        "manufacturerName": "SONOFF",
                        "powerSource": 0,
                        "zclVersion": 3,
                        "dateCode": "20200927"
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "onOff": 0
                    }
                }
            },
            "binds": [
                {
                    "cluster": 6,
                    "type": "endpoint",
                    "deviceIeeeAddress": "0x00124b0021600460",
                    "endpointID": 1
                }
            ],
            "meta": {}
        },
        "242": {
            "profId": 41440,
            "epId": 242,
            "devId": 97,
            "inClusterList": [],
            "outClusterList": [
                33
            ],
            "clusters": {},
            "binds": [],
            "meta": {}
        }
    },
    "dateCode": "20200927",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "reporting": 1
    },
    "lastSeen": 1608647809780
}

Thanks, how did you find this data?
could you please help me?

As Koenkk requested:
Can you provide the data/database.db entries of these devices?

In the .db file it is one rule. I only formatted is as json so it looks nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants