zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

ZB-DL01 issues with power_on_behavior property

Open aalmazanarbs opened this issue 3 years ago • 8 comments

What happened?

The property power_on_behavior is not working as expected. When it is configured to off and the device is turned off two times, the light stays on.

What did you expect to happen?

The light must always be switched off regardless of the number of times the power is switched on or off.

How to reproduce it (minimal and precise)

  • Configure power_on_behavior to off
  • Turn off power
  • Turn on power (light is off)
  • Turn off power
  • Turn on power (the light is on :-1: )

Zigbee2MQTT version

1.29.2-1

Adapter firmware version

20220219

Adapter

ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

Debug log

No response

aalmazanarbs avatar Jan 17 '23 14:01 aalmazanarbs

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Feb 17 '23 00:02 github-actions[bot]

Can anyone help?

aalmazanarbs avatar Feb 17 '23 07:02 aalmazanarbs

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 20 '23 00:03 github-actions[bot]

Can anyone help?

could you publish database.db entry of this device?

c0dr1ver avatar Mar 24 '23 06:03 c0dr1ver

Can anyone help?

could you publish database.db entry of this device?

Of course, here are you are:

{
    "id": 5,
    "type": "Router",
    "ieeeAddr": "0xa4c1381986443a13",
    "nwkAddr": 5697,
    "manufId": 4107,
    "manufName": "eWeLight",
    "powerSource": "Mains (single phase)",
    "modelId": "ZB-DL01",
    "epList": [
        1
    ],
    "endpoints": {
        "1": {
            "profId": 260,
            "epId": 1,
            "devId": 257,
            "inClusterList": [
                0,
                3,
                4,
                5,
                6,
                8,
                4096
            ],
            "outClusterList": [],
            "clusters": {
                "genBasic": {
                    "attributes": {
                        "hwVersion": 0
                    }
                },
                "genOnOff": {
                    "attributes": {
                        "startUpOnOff": 255
                    }
                }
            },
            "binds": [],
            "configuredReportings": [],
            "meta": {}
        }
    },
    "appVersion": 6,
    "stackVersion": 2,
    "hwVersion": 0,
    "dateCode": "20220518",
    "swBuildId": "2.0.1",
    "zclVersion": 3,
    "interviewCompleted": true,
    "meta": {
        "configured": 88764544
    },
    "lastSeen": 1679483391483,
    "defaultSendRequestWhen": "immediate"
}

aalmazanarbs avatar Mar 24 '23 13:03 aalmazanarbs

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Apr 25 '23 00:04 github-actions[bot]

The issue is not fixed.

aalmazanarbs avatar May 02 '23 19:05 aalmazanarbs

It might be because this device doesn't actually support power on behavior. I have the same device and same problem. Looking at the screenshots of the device on Aliexpress it seems the only options available are brightness and power.

BenJamesAndo avatar Jan 29 '24 10:01 BenJamesAndo