-
Notifications
You must be signed in to change notification settings - Fork 156
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
Initial implementation of Zigbee OTA updates. #213
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Send Status only for query_next_image_response(Status.NO_IMAGE_AVAILABLE) and for image_block_response(Status.ABORT).
Allow providers to prefetch firmware. Query all providers for a firmware, allowing provider to decide how to handle missing firmwares.
Allow async event listeners.
Implement get_image filtering method.
If ota_dir points to correct directory, then mark FileStore provider as enabled.
Pull Request Test Coverage Report for Build 603
💛 - Coveralls |
Pull Request Test Coverage Report for Build 601
💛 - Coveralls |
Is there any documentation how OTA will work? Where do the firmware images come from? |
Check the issue section, there's RFC for OTA.
…On Fri, Sep 6, 2019, 04:26 Martin ***@***.***> wrote:
Is there any documentation how OTA will work? Where do the firmware images
come from?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#213?email_source=notifications&email_token=ABMOM4C2547N3IIPKF7DJVLQIIH4JA5CNFSM4IUE2O72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6CEROI#issuecomment-528763065>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABMOM4DJT6QRWXU4SPIVPQTQIIH4JANCNFSM4IUE2O7Q>
.
|
Adminiuga
force-pushed
the
feature/ota
branch
from
September 6, 2019 14:28
a92ecbe
to
22381c5
Compare
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Handle OTA cluster requests.
This is an experimental feature and is disabled by default. By enabling it you assume all responsibility for any unintended consequences.
To enable file based OTA, create a
zigpy_ota
directory in the same dir aszigbee.db
. To enable IKEA provider, create an emptyenable_ikea_ota
file inzipgy_ota/
directory.This PR only implements OTA cluster command handling and does not distribute any firmware files. It will download firmware for IKEA devices if it is enabled and there're IKEA devices on the network with an outdated firmware. The only other vendor distributing OTA files for their products is Dresden Elektronik
Fixes (kind of) #154