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

[Device Support Request] DDS238-2 (TS0601) devices (TZE200_byzdayie, TZE200_ewxhg6o9 and TZE200_bkkmqmyo) and ZHA #2283

Closed
jproveta opened this issue Mar 19, 2023 · 7 comments
Labels
stale Issue is inactivate and might get closed soon Tuya Request/PR regarding a Tuya device

Comments

@jproveta
Copy link

Hi, I have several DDS238-2 devices (TZE200_byzdayie, TZE200_ewxhg6o9 and TZE200_bkkmqmyo), all working fine, but with the HA 2023.3 update I no longer have the "Metering_summation_delivered" entity update, if I remove the device and re-add it, that entity (Metering_summation_delivered) does not appear. And the "Power factor" is "Unknown" for ZE200_byzdayie and TZE200_ewxhg6o9, and the TZE200_bkkmqmyo the entity "RMS current" not update and no data.

The file I'm using is
ts0601_din_power.zip

Thanks for help me.

@jproveta jproveta changed the title [Device Support Request] DDS238-2 devices (TZE200_byzdayie, TZE200_ewxhg6o9 and TZE200_bkkmqmyo) and ZHA [Device Support Request] DDS238-2 (TS0601) devices (TZE200_byzdayie, TZE200_ewxhg6o9 and TZE200_bkkmqmyo) and ZHA Mar 19, 2023
@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Mar 19, 2023
@javicalle
Copy link
Collaborator

I suppose that you are using a custom quirk...
Check this:
#2250 (comment)

@jproveta
Copy link
Author

I suppose that you are using a custom quirk... Check this: #2250 (comment)

Yes, I use a custom quick, but the solution you gave me doesn't work for me, because I don't have "TuyaDPType" and "dp_type=TuyaDPType.XXXXXX" in the file I use.

Thanks.

@jproveta
Copy link
Author

This thing of being dependent on third-party support to have updates when they are needed, it's f... and taking a lot of risk!

Now I have 28 devices for the trash because HA did an update (I don't know what affected the ZHA) and the custom quirk I have for these devices that I got here, didn't work correctly and there's no support!

@MattWestb
Copy link
Contributor

Custom / local quirk is for testing new quirks and making devices being supported and if you is getting it working OK you shall doing one PR for adding it in the maintained ZHA.
If you prefer not doing that you is on your own then the ZHA code is being changed in the future.

By making one PR you is contributing and making it working for all user and not only you but its your decision to do it or not.

Then this is one large community project that is giving and taking and all users and devs is trying to help as much the can but the first priority is the main code with the ZHA quirks working well and fixing "private" quirks is down the list and but all is trying helping as much they can.

@javicalle
Copy link
Collaborator

If you want to have support in your incident, I recommend you at least fill in the template with as much information as possible to help the maintainers help you.
As it does not seem to be a known error, I recommend that you include the logs from your devices, especially if they contain any errors or information that can help with the resolution.

@dieneuser
Copy link

In this post the problem is also already reported.
Since the 2023.3 update I have the following error message in the log:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 357, in handle_callback
    handler(*args)
  File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 463, in ezsp_callback_handler
    self._handle_frame(*args)
  File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 508, in _handle_frame
    self.packet_received(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 913, in packet_received
    self.handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 434, in handle_message
    return sender.handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 367, in handle_message
    self.endpoints[src_ep].handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/endpoint.py", line 224, in handle_message
    handler(hdr, args, dst_addressing=dst_addressing)
  File "/usr/local/lib/python3.10/site-packages/zigpy/zcl/__init__.py", line 375, in handle_message
    self.handle_cluster_request(hdr, args, dst_addressing=dst_addressing)
  File "/usr/local/lib/python3.10/site-packages/zhaquirks/tuya/__init__.py", line 494, in handle_cluster_request
    zvalue = ztype(tuya_data)
  File "/usr/local/lib/python3.10/site-packages/zigpy/types/basic.py", line 94, in __new__
    raise ValueError(
ValueError: 196061 is not an unsigned 16 bit integer

@github-actions
Copy link

github-actions bot commented Oct 7, 2023

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 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.

@github-actions github-actions bot added the stale Issue is inactivate and might get closed soon label Oct 7, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue is inactivate and might get closed soon Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

No branches or pull requests

5 participants