Time to list Z-Stack 1.2 firmware and adapters based on CC253x as "deprecated" in readme and upstream?

Đang mở
#276 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, documentation

Hướng nghiên cứu

Start by reviewing the linked zigpy-znp README and Home Assistant ZHA hardware documentation, then check the related ZHA and radio library issues to understand the scope and existing plans. The request spans documentation, firmware and hardware log warnings, and ZHA UI changes across projects. Done means agreeing on a deprecation scope and date, then documenting and implementing the requested warnings; no specific files or tests are named.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

discussion documentation

Suggest consider deprecating all Zigbee 1.2 based firmware and older adapter hardware that was not designed to run newer firmware.

Directly related to this zha issue:

Consider listing TI Z-Stack 1.2 firmware and adapters based on CC253x as "deprecated" in readme and upstream ZHA integration docs?

Meaning change so readme and ZHA docs clearly states/sais "deprecated" (instead of just saying that it is "supported but not recommended").

That is, without changing any code, just change official listing of support for TI Z-Stack 1.2 firmware and adapters based on CC2530/CC2531/CC2538 as being officially "deprecated" since a specific date, as deprecation warning.

Reason and arguments to deprecate Zigbee 1.2 coordinator that such old firmware and older Zigbee Coordinator adapter with slower MCU that have much less resources can lead to end-users having a bad experience which they might unfairly blame on the ZHA integration or the zigpy project.

Preferably also consider deprecation warning a such warning for such Zigbee Coordinator adapter in Home Assistant's ZHA UI. That way users will have been warned and you will have the option to remove support later when and if you like.

  • Add deprecation warnings to logs stating Z-Stack firmware older than Z-Stack 3.1.x is deprecated and recommend user to upgrade firmware.

  • Add deprecation warnings to logs stating ZNP radio adapter hardware older than CC26xx or CC13xx is deprecated and recommend migrate to newer Zigbee Coordinator hardware.

  • Make old firmware deprecated and old hardware be flagged in Home Assistant's ZHA UI as deprecated.

PS: This might be easier to communicate if could deprecate all Zigbee 1.2 based firmware in all zigpy radio libraries at the same time(?), including XBee and ZiGate which have said that want to formally deprecated in upcoming Home Assistant release to then remove later:


Further arguments for adding such deprecation notice / legacy warnings in ZHA and zigpy radio libraries

While zha and zigpy will of course continue to supporting older Zigbee end-devices, zha/zigpy develpers might now want to seriously consider clearifying that using legacy Zigbee Coordinatior firmware and adapter hardware which was made to only support the Zigbee 1.2 specification should not be endorsed or encuraged in any way, and best way forward is probably to declare all those as deprecated.

Note! The suggestion here is not to actually remove support at this point, but only to warn about deprecating/deprecated firmware and radio adapter hardware. The goal with tis is to guide new and existing users towards using newer firmware and more modern radio adapter hardware that you plan to support long term, and discourage the use of those that will be phased out sooner rather than later because they are old and obosolete. This will help give users a better user experience and hopefully also mean fewer support issues due to old firmware and/or old hardware.

What deprecation notice / legacy warnings mean in this case in the simplest terms here is to activly recommend against using older firmware versions and old legacy radio adapter hardware that is no longer updated/maintained by the manufacturers (or in some cases have even been officially made end-of-life by the manufacturer). Preferably should also be officially listing deprecating in Home Assistant's ZHA integration documentation as well as the readme files for each zigpy radio library.

So while this project has always strived to run on almost all hardware, to keep the project moving forward and not having to support older legacy firmware and hardware forever you must sometimes make difficult decisions to deprecate old firmware and hardware, even if it is just on paper. In practice deprecation notices / legacy warning like this will only affect a small percentage of users, and ZHA users can already relativly easily upgrade or migrate to newer hardware. Even though they will be officially deprecated, you are giving existing users time to migrate to newer firmware and hardware.

Ultimatly this should help to reduce both technical debt by enabling you to eventuelly phase out old code, addressing security vulnerabilities in old firmware, while still allowing for graceful migrations, preserving backward compatibility until it will no longer be necessary to keep legacy support, benefiting both developers and end-users.

This will indirecttly also effect deprecate all firmware and radio adapter hardware not capable/suitible or designed for effectivly supporting firmware for the Zigbee 3.0 specification.

Ngôn ngữ chính
Python
Star
172
Fork
49
Merge trung bình
3 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của zigpy/zigpy-znp

Tất cả issue của zigpy/zigpy-znp

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.