- Added
#define ENCODER_SENSITIVITYDefault is now 85 for the encoder acceleration instead of the previously fixed 100, but can be overridden - Added feature to automatically store all entered passwords in non-volatile memory.
- When trying to connect to a DCC-EX EX-CommandStation it will now try the 'guessed' password on the first attempt. Then, if it fails to connect, it will ask for the password on the second attempt.
- Dutch translations by Hans Metselaar
- bug fix for the user defined menus
- Initial Chinese language support. Needed a new define to be able to override the direction font
- Option to invert the meaning of the encoder rotation when the loco is reversed
#define ENCODER_INVERT_ROTATION_WHEN_REVERSED true
- Option to bypass the initial WiFi scan
#define BYPASS_WIFI_SCAN_ON_STARTUP true
- Included a 15 second timeout for the new SSID scan
- If the SSID scan fails, it lets you choose from the list in the config_network.h
- Changed the SSID scan to a non-blocking approach
- removed some of the code added in the previous version as it was not proving to be helpful.
- The SSID scan will no longer sort by default
- Addition of two defines for the SSID scan
SORT_WIFI_NETWORKSandUSE_FAST_WIFI_SCAN_METHOD- Use
#define SORT_WIFI_NETWORKS trueto sort the SSIDs - Use
#define USE_FAST_WIFI_SCAN_METHOD trueto use a faster scanning method
- Use
- Now disconects the WiFi as a precaution on startup
- Fixed a bug with use of the WiFi country codes
- Realised that
#define ENFORCED_COUNTRY_CODE trueis not actually used by the code. I will look into that later
- Additional logging
- Changed the default for
USE_BATTERY_SLEEP_AT_PERCENTto#define USE_BATTERY_SLEEP_AT_PERCENT 0. This turns the automatic sleep on low battery off by default.
- Added MDNS_WAIT_TIME define
- EStop bug fix from https://github.com/markwtech
- Added define for DEFAULT_HEARTBEAT_PERIOD. Defaults to 10 seconds. Only needed if the server does not send the period as it should.
- Additional button option SLEEP. Will put the ESP32 to sleep. (i.e. turn off)
- Optional use of the WiFi Country Code. See
config_network_example.hfor more information
- Option to release locos in consist/mu by the index rather than the Address. New optional
#define DROP_LOCO_BY_INDEX true
- Bug fix for SPEED_STOP SPEED_UP SPEED_DOWN SPEED_UP_FAST SPEED_DOWN_FAST E_STOP SPEED_MULTIPLIER
- Additional actions to change to specific throttle THROTTLE_1 THROTTLE_2 THROTTLE_3 THROTTLE_4 THROTTLE_5 THROTTLE_6
- support UTF8 fonts better
- Italian Translations by Roberto B
- able to override the default font (not recommended)
- add define for
CUSTOM_APPNAME
- added missing debug messages for the battery
- bug fix for when using the Arduino IDE
- New set of defines to allow for an indefinite number of additional buttons. This requires the use of new set of defines that override the old style ones.
At the moment you can only have up to 11 buttons. - Bug fix for momentary functions selected from the roster
- log any unknown commands from the server. Requires WiThrottleProtocol version 1.1.26 or later
- Made
RESTORE_ACQUIRED_LOCOSdefault to true.- Added an Extra Menu option to save the current locos
- Removed the save when deliberately disconnected or slept the device (extra menu
#96or#97)
- Show the battery status on the Start, SSID browse, Wit browse and Shutdown screens.
- Added
RESTORE_ACQUIRED_LOCOSoption. If this option is enabled, and you have deliberately disconnected or slept the device (extra menu#96or#97), then the next time you connect the device it will try to load the previously acquired locos.
- Added
DROP_BEFORE_ACQUIREoption and also toggle for this in the Extras menu
- Bug fix for when a DCC-EX EX-CommandStation has the password changed from the default.
- The additional CR+LF are now sent ahead of all commands to all command stations by default. This was originally only sent for WiFiTrax, but other commercial CSs seem to have the same issue that this resolved. This can be disabled if needed with
#define SEND_LEADING_CR_LF_FOR_COMMANDS falseinconfing_network.h. - Added a message when the server has just connected and is caught up receiving the roster etc. and is unable to process commands yet.
- Option to automatically acquire the only roster entry on connection to the WiThrottle server, but only if there is only one roster entry.
#define ACQUIRE_ROSTER_ENTRY_IF_ONLY_ONE true
- Option for up to four start-up commands
#define STARTUP_COMMAND_1 ""..#define STARTUP_COMMAND_4 ""
- German translations by Bastian Zechendorf.
- Made it simpler to change the language.
- Improvements for non-English language display.
- Bug fix. Removed duplicated first entry in the Roster (at the end).
- Add debug level option
#define DEBUG_LEVEL - A bug in the heartbeat send in the protocol library was fixed at the same time as this release.
- if heartbeat is enabled, deliberately send the command to server to start it. (I had previously assumed that this was not required.)
- add the ability to sort the roster with the new define
ROSTER_SORT_SEQUENCE- 0 = no sorting. As it comes from the server
- 1 = sort by name (first 10 chars only) - Default
- 2 = sort by DCC Address
- add the ability to define the consist follow function options for all 32 functions
CONSIST_FUNCTION_FOLLOW_F0toCONSIST_FUNCTION_FOLLOW_F31
- add define to enable or disable the heartbeat by default
#define HEARTBEAT_ENABLED true
- New define added for if no response is received from the server in the specified period (milliseconds), shut down. MAX_HEARTBEAT_PERIOD default is 4 minutes = 240000
- improve bouncing on the pot values
- bug fix for functions list & menus closing when the pot value bounces
- bug fix for adding locos greater than 300 and less than 499
- Add support for setting the additional button as latching or non-latching, overriding the WiThrottle defaults. Requires WiThrottleProtocol version 1.1.24.
- Fix for individual loco direction (facing) changes in a consist. Requires WiThrottleProtocol version 1.1.23 or later
- bug fix for the user defined menus
- rewrite of the menu code to support user defined menus
- bug fix for the Edit Consist not working
- Bug fix - Speed step multiplier not being displayed
- Added screenshots to the Readme
- ignore broadcast alert "Steal from other WiThrottle or JMRI throttle Required"
- Experimental attempt to automatically steal locos on Dijitrax systems
- bug fix when not using the battery test
- Moved the battery position to the top line
- added an Action to show or hide the battery
- Added some of the UI improvements from HandCab
- Fixed the E_STOP VS E_STOP_CURRENT_LOCO. Requires WiThrottleProtocol version 1.1.20 to actually work differently.
- Updated documentation. (Particularly on the use of the battery)
- automated fix the latest versions of the ESP32 Board Library (3.0.0 and later) having renamed an attribute. The code now automatically adjusts for this.
- German translation file included
- minor format change
- Add support for hardware build that utilises a bare EC11 rotary encoder (with no physical resistor pullups) in place of the KY040 encoder module (which incorporates physical pullups)
- This version will switch on GPIO internal pullups if EC11_PULLUPS_REQUIRED is set true in config_buttons.h
- added auto deep sleep on low battery
- Made two changes in main code 1. Comment out random values when displaying battery percentage
- and 2.Invert logic for the test to display the battery percentage
- changed option to have the battery to show icon as well as a percent
- option to have the battery to show as a percent
- change the battery check to once ever 10 seconds
- change the battery charge level to an icon/glyph
- support for optionally using a voltage divider to show the battery charge level
- support for optionally using a potentiometer (pot) instead of the encoder for the throttle
- support for 4x4 keypads
- support for optional custom commands
- bug fix
- text, button and display PIN configurations moved to defines that can be overridden in personal config_buttons_etc.h files
- no functional changes
- minor bug fix
- support for broadcast messages. Requires WiThrottleProtocol version 1.1.12 or later.
- fix for the debounce of the rotary encoder button. Will now ignore rotations when the button is pressed for (default) 200ms. The #define for the debounce has been moved from config_keypad_etc.h to config_buttons as: #define ROTARY_ENCODER_DEBOUNCE_TIME 200
- fix problem with wifiTrax
- failed attempt to fix problem with wifiTrax
- add option to send commands twice
- minimum time separation/delay between commands sent
- changes to allow the use of VSC
- add support for 32 functions
- bypass WiT server search if EX-CS is in AP mode
- option to auto-connect to first SSID
- various