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
Update ZHA section about Zigbee OTA #28895
base: current
Are you sure you want to change the base?
Conversation
Update section about Zigbee OTA for ZHA
It seems that this PR is targeted against an incorrect branch since it has a parent PR on one of our codebases. Documentation that needs to be updated for an upcoming release should target the |
This is currently targeting Why is this tagged with "needs-rebase"? Is it because wrote PR fixes or closes issue: fixes # #28198 under additional information? |
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think we want to shrink the size of this PR and remove content from the existing OTA docs, as a lot is no longer relevant.
Advanced features that are meant for developers should also be removed from the documentation. We want to keep integration documentation as short as possible. Otherwise, people are overwhelmed.
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
I tried to rewrite/update to meet the current feature-set but perhaps someone else would rather prefer to start over from scratch? This was originally submitted in beginning of September 2023 and much/most has changed since, so maybe better to just close it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a big improvement!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Hedda Just some minor remarks on the new OTA from a end user perspective.
One other remark. Reading various ZHA discussions revealed other options that are NOT mentioned in the new documentation. Are those options valid. If so how to use them:
ota:
# It's enabled by default
enabled: true
# Periodically send out a network-wide (including end devices!) image notification
broadcast_enabled: true
broadcast_initial_delay: 14400
broadcast_interval: 14400
# Points to Z2M OTA `index.json` if stored locally
z2m_local_index: /path/to/z2m-ota/index.json
# Points to Z2M OTA `index.json` URL
z2m_remote_index: "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/index.json"
OTA is meant to require no configuration and the defaults are carefully chosen. You don't have to do anything to enable it or use it. The options you've listed are meant for development or advanced users and are in the |
I agree with the goal of no config😊. But due the lack of documentation it got hard to discriminate developer options from user options. So it was just question. Thanks for clarifying 👍 |
Update zha.markdown with OTA update rewrite
OK I have now given it a more serious attempt at a rewrite, including separating the UI part from the YAML configuration part. Please re-review this now. Again, as mentioned above, I did not specifically mention that OTA for IKEA is disabled by default, but feel free to change that. |
I think it's a weird choice to document Ikea as supported, but don't document it as disabled by default. But if the devs want it that way then it's ok. |
My remarks are processed very well👍 |
I saw your remark and wondered:
@cremor can you shed a light on this please 🙏 |
I think so, yes.
I don't know the reason, I'm not a ZHA dev. I just noticed that it's disabled by default: |
@cremor thanks! |
Regardless, such information can be could be updated in a seperate pull request. I hate to see the merger of this PR delayed further due to debate over that. As it is this PR does not change the info about that in the ZHA docs so it should still be accepable to merge as-is, then someone else can create a new PR dedicated for that, which would also help clearify that specifically. That is, I do not think that discussion should be a showstopper for this specific pull request. |
I agree that publishing 'as is' is preferred above delay |
Proposed change
Update/improve section about Zigbee OTA/OTAU for the ZHA integration, including zigpy's new "Generic OTA providers" support.
References:
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.