Skip to content

Version 0.21

Compare
Choose a tag to compare
@Resinchem Resinchem released this 30 Oct 19:04
· 19 commits to main since this release

New Features

Full WiFi Version ONLY:

  • Fully updated web settings page now allows you to change all settings (except device name and WiFi Network). Settings changes can be temporary for the current session only, or written to the config file as new permanent boot up values. You no longer need to edit the source code, compile and upload with the IDE to make settings changes.

  • BETA: New option to upload new compiled firmware versions directly from the web settings page. No IDE or external app needed to apply new versions. Just select the new .bin file from the web settings page and flash to the controller!

These new features require a WiFi connection to the controller, so they obviously do not apply to the -NoWIFI version.
This will be the final release of the -NoWIFI version. All future versions will require a WiFi connection to function!

Other Fixes and Changes

  • Miscellaneous code and inline comment clean-up (both versions)

Breaking Changes

Full WiFi Version ONLY:

  • A complete rewrite of the configuration file to support web updating requires a full reset and onboarding of the controller again after applying the update. See the upgrading notes below.

Both Versions:

  • Changed global settings for MAX_RACE_MINUTES to MAX_RACE_TIME, now specified in seconds instead of minutes.

Initial Installation

To install on a new ESP32 for the first time, please follow the instructions provided in the Initial Installation and First Time Setup sections of the Wiki.

Upgrading from a Prior Version

Download the appropriate .bin file below.

Full WiFi Version:

To facilitate the new web settings page, a significant change to the underlying saved configuration file was required. Because of this, it is necessary to perform a full reset of the controller after installing the new firmware. This will erase all current settings, including WiFi and device name settings! See the Wiki for full information on applying updates, but the general steps are:

  • Flash the new firmware via desktop utility or via the IDE (using the IDE requires the source code, local compiling and uploaing via USB or the Arduino OTA option - see the Wiki).
  • After reboot, go to the new web settings page by visiting the IP address of your controller using a browser of any device on the same WiFi network.
  • Use the 'RESET ALL' option under the Controller Commands to erase the current configuration file. The controller will reboot and once again begin broadcasting the 'RaceTimer_AP' hotspot. Join the hotspot with your mobile device and re-enter your WiFi and other initial information.
  • The controller will reboot again, this time joining your WiFi. You can now use the new settings page to update or change any of the other settings.

no-WIFI version: (Note: This will be the final release of the -noWIFI version!)

If you made any settings changes in the source code of the prior version, you will need to reapply those changes to the new source code, including updating the old MAX_RACE_MINUTES from minutes to the new MAX_RACE_TIME in seconds. You may then compile and upload the new version using the IDE and a USB connection.