Skip to content

[Feature Request] Provide Update Links to Older Firmware? #317

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

Open
ksquared83 opened this issue May 10, 2025 · 1 comment
Open

[Feature Request] Provide Update Links to Older Firmware? #317

ksquared83 opened this issue May 10, 2025 · 1 comment

Comments

@ksquared83
Copy link

In the course of dealing with #316 I had to roll back to earlier firmware versions, but there doesn't seem to be any direct way to flash older updates directly from https://www.airgradient.com/documentation/firmwares/.

I understand that all old versions can be compiled from Github, but installing the entire Arduino IDE toolchain to compile existing older versions is a big lift (and I happen to lack sufficient local storage to install new tools). I ended up finding old firmwares here https://www.airgradient.com/documents/fw/new/combo/ and just modified the "Flash Now" link with Chrome's Developer Tools to try the old versions.

Since rolling back to older versions is a common pattern when issues are encountered, it might make sense to keep these directly accessible from the firmwares page.

@ccoley
Copy link
Contributor

ccoley commented May 13, 2025

If you are comfortable using the dev tools in your browser, then you can edit the manifest=... attribute of the "Flash Now" button on the firmware page to flash other versions of the firmware.

You should be able to change the 3-3-6 version number in the manifest attribute to any value listed here: https://www.airgradient.com/documents/fw/new/combo/
Screenshot of the source code for the Flash Now button, with an arrow pointing out the version number

Then click the button to flash via the online flashing tool like normal. I've only personally tried this with 3-1-13, but it worked great for me.

It would be nice to be able to do this without modifying the source code of the page though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants