home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.92k stars 30.15k forks source link

Tuya wall plugs will not turn on after release 2022.12.3 #84924

Closed Ace0510 closed 1 year ago

Ace0510 commented 1 year ago

The problem

After core update 2022.12.3 Tuya built-in wall plugs (not the plug-in plugs those are working correctly) they will not turn on. Reconfiguring shows an onoff binding error. Debug file attached. binding

home-assistant_zha_2022-12-31T16-24-24.904Z.log

What version of Home Assistant Core has the issue?

2022.12.3

What was the last working version of Home Assistant Core?

2022.12.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha

Diagnostics information

home-assistant_zha_2022-12-31T16-24-24.904Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

puddly commented 1 year ago

Do they work if you downgrade?

Ace0510 commented 1 year ago

Hi Puddy,I have not tried that, but I can try tomorrow. Alberto On Dec 31, 2022, at 3:05 PM, puddly @.***> wrote: Do they work if you downgrade?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Ace0510 commented 1 year ago

Hi Puddly, Happy New Year! It works with 2022.11.1 which was my last backup. Thanks, Alberto

On Sat, Dec 31, 2022 at 6:38 PM Alberto @.***> wrote:

Hi Puddy, I have not tried that, but I can try tomorrow.

Alberto

On Dec 31, 2022, at 3:05 PM, puddly @.***> wrote:



Do they work if you downgrade?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/84924#issuecomment-1368266426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHY5LG7MXB3MD46LR7WKODWQB7WTANCNFSM6AAAAAATNT2NAQ . You are receiving this because you authored the thread.Message ID: @.***>

puddly commented 1 year ago

Can you upload the diagnostic information for the specific plug?

Ace0510 commented 1 year ago

Sure, here it is.

On Mon, Jan 2, 2023 at 12:45 PM puddly @.***> wrote:

Can you upload the diagnostic information for the specific plug?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/84924#issuecomment-1369085073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHY5LDE3YTUDV6HVF4UWEDWQMAZZANCNFSM6AAAAAATNT2NAQ . You are receiving this because you authored the thread.Message ID: @.***>

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.8", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "aarch64", "timezone": "America/Curacao", "os_name": "Linux", "os_version": "5.15.76-v8", "supervisor": "2022.12.1", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "embedded", "run_as_root": true }, "custom_components": { "senseme": { "version": "2.2.5", "requirements": [ "aiosenseme>=0.5.5,<0.6.0" ] }, "localtuya": { "version": "4.1.1", "requirements": [] }, "spotcast": { "version": "v3.6.30", "requirements": [ "spotify_token==1.0.0" ] }, "hacs": { "version": "1.28.4", "requirements": [ "aiogithubapi>=22.2.4" ] }, "sp108e_ws2815": { "version": "0.2.0", "requirements": [] }, "smartthinq_sensors": { "version": "0.25.2", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "cchardet>=2.1.7" ] }, "wyzeapi": { "version": "0.1.15", "requirements": [ "wyzeapy==0.5.14" ] }, "nodered": { "version": "1.1.2", "requirements": [] }, "meross_lan": { "version": "2.6.2", "requirements": [] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.34.5", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.89", "zigpy-deconz==0.19.2", "zigpy==0.52.3", "zigpy-xbee==0.16.2", "zigpy-zigate==0.10.3", "zigpy-znp==0.9.2" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "2652", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "sonoffplus", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "sonoffplus", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "tubeszb", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "tubeszb", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "zigstar", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "conbee", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "zigbee", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "zigate", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "zigate", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "bv 2010/10", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ @.", @.", @." ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "zigate" }, { "type": "_zigstar_gw._tcp.local.", "name": "zigstar" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "REDACTED*", "nwk": 46235, "manufacturer": "_TZ3000_o1jzcxou", "model": "TS011F", "name": "_TZ3000_o1jzcxou TS011F", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4417, "power_source": "Mains", "lqi": 160, "rssi": -60, "last_seen": "2023-01-02T15:00:52", "available": true, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, allocate_address=True, is_alternate_pan_coordinator=False, is_coordinator=False, is_end_device=False, is_full_function_device=True, is_mains_powered=True, is_receiver_on_when_idle=True, is_router=True, is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x010a", "in_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0xe000", "0xe001" ], "out_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": 41440, "device_type": "0x0061", "in_clusters": [], "out_clusters": [ "0x0021" ] } } }, "active_coordinator": false, "entities": [ { "entity_id": "button.wall_plug_l_hallway_identify_2", "name": "_TZ3000_o1jzcxou TS011F" }, { "entity_id": "sensor.tz3000_o1jzcxou_ts011f_rssi_2", "name": "_TZ3000_o1jzcxou TS011F" }, { "entity_id": "sensor.tz3000_o1jzcxou_ts011f_lqi_2", "name": "_TZ3000_o1jzcxou TS011F" }, { "entity_id": "switch.wall_plug_l_hallway_switch_2", "name": "_TZ3000_o1jzcxou TS011F" } ], "neighbors": [ { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Child", "extended_pan_id": "REDACTED", "ieee": "REDACTED", "nwk": "0x4A16", "permit_joining": "Unknown", "depth": "3", "lqi": "201" }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "REDACTED", "ieee": "REDACTED", "nwk": "0x599A", "permit_joining": "Unknown", "depth": "9", "lqi": "107" }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "REDACTED", "ieee": "REDACTED", "nwk": "0x73BD", "permit_joining": "Unknown", "depth": "1", "lqi": "110" }, { "device_type": "Coordinator", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "REDACTED", "ieee": "REDACTED", "nwk": "0x0000", "permit_joining": "Unknown", "depth": "0", "lqi": "83" } ], "routes": [], "endpoint_names": [ { "name": "ON_OFF_PLUG_IN_UNIT" }, { "name": "unknown 97 device_type of 0xa1e0 profile id" } ], "user_given_name": "Wall Plug L Hallway", "device_reg_id": "7fc372b66d1d97889268af7380ef7340", "area_id": "hallway", "cluster_details": { "1": { "device_type": { "name": "ON_OFF_PLUG_IN_UNIT", "id": 266 }, "profile_id": 260, "in_clusters": { "0x0003": { "endpoint_attribute": "identify", "attributes": {}, "unsupported_attributes": {} }, "0x0004": { "endpoint_attribute": "groups", "attributes": {}, "unsupported_attributes": {} }, "0x0005": { "endpoint_attribute": "scenes", "attributes": {}, "unsupported_attributes": {} }, "0x0006": { "endpoint_attribute": "on_off", "attributes": { "0x0000": { "attribute_name": "on_off", "value": 0 }, "0x4001": { "attribute_name": "on_time", "value": 0 }, "0x4002": { "attribute_name": "off_wait_time", "value": 0 } }, "unsupported_attributes": {} }, "0xe000": { "endpoint_attribute": null, "attributes": {}, "unsupported_attributes": {} }, "0xe001": { "endpoint_attribute": null, "attributes": {}, "unsupported_attributes": {} }, "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0004": { "attribute_name": "manufacturer", "value": "_TZ3000_o1jzcxou" }, "0x0005": { "attribute_name": "model", "value": "TS011F" } }, "unsupported_attributes": {} } }, "out_clusters": { "0x0019": { "endpoint_attribute": "ota", "attributes": {}, "unsupported_attributes": {} }, "0x000a": { "endpoint_attribute": "time", "attributes": {}, "unsupported_attributes": {} } } }, "242": { "device_type": { "name": "unknown", "id": 97 }, "profile_id": 41440, "in_clusters": {}, "out_clusters": { "0x0021": { "endpoint_attribute": "green_power", "attributes": {}, "unsupported_attributes": {} } } } } } }

magno-santos commented 1 year ago

Similar issues with a TS011F also. One of the plugs measures power but if a command is sent to turn On or Off it is Ignored. Another the command works, but some of the Power Indicators do not.

chrismh79 commented 1 year ago

I have a similar issue with my OSRAM Lighty Plug - Home Assistant initially recognized when the plug was turn on and off but switching it on/off in Home Assistant showed no reaction on the plug itself. Now both directions do not work...

Ace0510 commented 1 year ago

I am on Home Assistant 2023.3.1 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230302.0 - latest and the problem still persists.

EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis by ZHA

I am attaching two files the plug in socket "user_given_name": "Plug_2" works correctly. The other file for the in-wall socket "user_given_name": "Wall Plug R Hallway" does not. Perhaps this can help find out what the problem is.

zha-ca327a56facebc094938c48675cfe9d6-_TZ3000_gjnozsaz TS011F-bcd99d1dee4ca4068456de7482649086.json.txt

zha-ca327a56facebc094938c48675cfe9d6-_TZ3000_o1jzcxou TS011F-26a41bd0475686845763d792848fb9f2.json (1).txt

issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Ace0510 commented 1 year ago

Still the plugs will not connect. I updated the coordinator with a new Skyconnect, but the issue is the same. I am now with: Home Assistant 2023.5.4 Supervisor 2023.04.1 Operating System 10.2 Frontend 20230503.3 - latest My solution for now is to reconnect Smartthings which finds the plugs within a few seconds.

Ace0510 commented 1 year ago

I am sorry, but the issue has not been fixed yet. I am now on: Home Assistant 2023.5.4Supervisor 2023.04.1Operating System 10.2Frontend 20230503.3 - latest and the problem persists. Additionally, Agara door sensors used to work, but now they are not found. Thanks Alberto

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Jun 2, 2023 at 11:07 AM issue-triage-workflows[bot] < @.***> wrote:

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/84924#issuecomment-1573887289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHY5LHGEEAP2NCOC2H3WPLXJH6RJANCNFSM6AAAAAATNT2NAQ . You are receiving this because you authored the thread.Message ID: @.***>

Ace0510 commented 1 year ago

Fixed with 2023.6