>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

Disable OTA/autoupdate in code without stopping using the airgradient dashboard

From code there is an easy way
to disable OTA update
something like
variable 0 or 1

without stopping using the airgradient dashboard

I want to add custom code but each update deletes it and also to have better control of where the data is sent

PS: it would also be good to have these options on the web during the initial configuration, separately.

This is already built in. When you use our GitHub code and flash it, it will postfix the fw version with “-snap”. If our OTA function sees this, it will not do OTAs.

Additionally we work on allowing the user to fix the firmware version on the dashboard and then the monitor will stay on that version.

1 Like