-
Notifications
You must be signed in to change notification settings - Fork 34
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
[REQUEST] Add some kind of blacklisting feature that lists and give users warnings user about devices known to have buggy firmware? #349
Comments
This is supported and needs to be added to individual quirks: #292 + zigpy/zigpy#1495 |
Nice! Are there already some quirk(s) in the zha-device-handlers repository with real-world example(s) of that being used as yet? And what about getting those warning messages exposed in the UI for the device in the ZHA integration (HA component)? Anyway, suggest that these specific devices should have some warnings and could then probably be used as examples for this(?):
|
PRs are always welcome for any devices with v2 quirks! https://github.com/zigpy/zigpy/blob/07e0451ce5317185e04b38e43aeb9fb168c62f28/tests/test_quirks_v2.py#L1200-L1205 If a device doesn't have a quirk, one can always be written to just add an alert like this. |
OK, but I should add that I do not have any of those devices myself. The discussion about this was instead raised indirectly here:
Out of those mentioned none seems to have an existing v2 quirk, and only the TS011F seems to have a quirk v1 today: I'm not going to be converting that v1 quirk into a v2 quirk myself in order to just add this type of device warning message. 🙄 Again, I don't have those devices myself so only know what is posted for them in Blakadder's and Zigbee2MQTT device databases. Note that because do not have those mentioned devices I can not test it myself. |
Then the other ones (without quirks) can be directly supported with an "alert-only" quirk exactly like in the unit test! |
What about exposing such warning message alerts in the ZHA integration UI similar to how the Z-Wave JS integration does? |
Please consider adding some kind of blacklisting feature that maintains a list of "known bad devices and firmware" with short info on the specific problem with each such device and in ZHA UI inside Home Assistant a expose that warning message so it will gives end-users some kind of warnings in the GUI about the problem seen for those that are known to have buggy firmware or hardware. Good or bad idea?
I'm not suggesting devices should be blacklisted as in blocked from working, but would be great with a UI warning inside ZHA.
FYI, Z-Wave JS integration already has the equivalent feature (with the list and comments being hosted in the code of the node-zwave-js library), and today it shows a custom warning text for device ID:s with known problems with specific devices based on what warning comment has been entered for their device ID.
Here are a few concrete examples of devices/firmware that should probably be listed and what the warning should be about:
Sonoff S26 Plug DE/FR/UK (Zigbee ID: "S26R2ZB") - ITead SKUs: S26R2ZBTPF, S26R2ZBTPE, and S26R2ZBTPG)
Tuya Zigbee USB Range Extender / USB Dongle Signal Repeater (Zigbee ID: "TS0207") - Tuya SKU: "RP280".
Tuya Smart Plug 16A with Power Monitoring (Zigbee ID: TS011F | _TZ3000_w0qqde0g | _TZ3000_gjnozsaz | _TZ3000_zloso4jk | _TZ3000_fgwhjm9j | _TZ3000_rdfh8cfs), white-label product so also sold under different brands and model names, such as ex. NAS-WR01B by Neo.
Aqara first-generation battery-operated sensors (many)
Xiaomi first-generation battery-operated sensors (many)
IKEA Trådfri devices XYZ with firmware XYZ
The background why I think that the ZHA integration should have this feature is that noticed that the Z-Wave JS and the official Z-Wave integration for Home Assistant have a similar feature/function where they show a warning in Home Assistant's UI under the device inside the integration, presumably taken from a simple list with ID of specific devices (and device firmware) that are (often infamously) known to have buggy / bad firmware or hardware that is known to have a specific unwanted problem.
See example these warnings users get for the "Neo Wall Plug Switch" (NAS-WR01ZE) for which there even is a Zigbee counterpart:
Another exammple Z-Wave device warning message is this shown for the "Qubino Mini Dimmer" (ZMNHHD):
Few more concrete Z-Wave device examples of warning messages can be found in node-zwave-js metadata for these Z-Wave devices:
Z-Wave.Me USB Z-Wave Mini Adapter ("ZME_UZB1") = "This controller has a bug in its USB implementation, which can cause issues with newer Linux kernel versions. Using a powered USB hub MAY help to work around the issue, but migrating to a different controller is recommended."
https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/devices/0x0115/zme_uzb1.json
Nexa Trading AB ("ZPR-111") Smart Plug = "This device is buggy and sends large negative Meter Reports from time to time."
Kemple Smart Socket "KP-SO-02" = "This device is buggy and sends large negative Meter Reports from time to time."
The text was updated successfully, but these errors were encountered: