Skip to content

Commit

Permalink
Add firmware updating by downloading and uploading (#79)
Browse files Browse the repository at this point in the history
* Implement firmware upload

* ensure file closes

* make upload progress channel specific

* Improve update_progress

* fix styling

* Improve sw_upload_progress

* do not hang during firmware reboot waiting

* Watch for spaces when matching firmware

* optimize upload_progress

* Implement firmware updates for NVR/Hubs

* Improve firmware update process for hubs/NVRs

* prevent long_polling during firmware update

* Update correct firmware info of channel if needed

* bump reolink_aio to 0.10.0.b0

* fix mypy

* Drop python 3.10 support

* correct ipcChnBit

* drop python 3.10 support

* fix styling

* correct ipcChnBit for NVR

* bump reolink_aio to 0.10.0b1

* correct ipcChnBit exponent

* bump reolink_aio to 0.10.0b2

* Improve firmware update progress for online updates

* Improve firmware update progress for online updates further

* Prevent simultaniously running 2 updates

* bump reolink_aio to 0.10.0b3

* update logo

* Add timeout to aiohttp update request

* Handle multiple firmware versions from reolink.com

* Fix software version data parsing when '_' is missing

* use user_agent="reolink-aio-firmware" for firmware download

* bump reolink_aio to 0.11.0b1

* Check for HTTP error 429: Rate limit

* fixes
  • Loading branch information
starkillerOG authored Nov 12, 2024
1 parent 83bd032 commit 38fd1c3
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 29 deletions.
Loading

0 comments on commit 38fd1c3

Please sign in to comment.