Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add firmware updating by downloading and uploading (#79)
* 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