Skip to content

Commit df844af

Browse files
committed
doco update
1 parent 49337f0 commit df844af

File tree

2 files changed

+88
-2
lines changed

2 files changed

+88
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ A "Throttle" can control only one train, which may be one loco, or more than one
427427
WiTcontroller:
428428
- Provides a list of discovered SSIDs with the ability to choose one. When you select one:
429429
- If it is one in your specified list (in the sketch), it will use that specified password
430-
- If it is a DCC-EX EX-CommandStation in Access Point (AP) mode, it will try to guess the password. <br /> *Warning!* It assumes the it will be the default password. If you have changed the password it will fail to connect unless you have the SSID *and correct password* listed in `config_network.h`. (I am looking into a solution for this situation.)
430+
- If it is a DCC-EX EX-CommandStation in Access Point (AP) mode, it will try to guess the password. <br /> *Warning!* prior to version 1.108 It assumes the it will be the default password. If you have changed the password it will fail to connect unless you have the SSID *and correct password* listed in `config_network.h`. <br /> From version 1.108 it will try to connect to a DCC-EX EX-CommandStation with the 'guessed' password on the first attempt. Then, if it fails to connect, it will ask for the password on the second attempt.
431431
- Otherwise it will ask to enter the password (Use the rotary encoder to choose each character and the encoder button to select it. * = backspace. # = enter the password.)
432432
- Optionally provides a list of SSIDs with the specified passwords (in the sketch) to choose from
433433
- Auto-connects to the first found WiThrottle Protocol Server if only one found, otherwise

change_log.md

Lines changed: 87 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,47 @@
11
# Change Log
22

33
### V1.108
4-
- When tried to connect to a DCC-EX EX-CommandStation it will now try the 'guessed' password on the first attemp. Then, if it fails to connect, it will ask for the password on the second attempt.
4+
5+
- 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.
6+
57
### V1.107
8+
69
- Dutch translations by Hans Metselaar
10+
711
### V1.106
12+
813
- bug fix for the user defined menus
14+
915
### V1.105
16+
1017
- Initial Chinese language support. Needed a new define to be able to override the direction font
18+
1119
### V1.104
20+
1221
- Option to invert the meaning of the encoder rotation when the loco is reversed ``#define ENCODER_INVERT_ROTATION_WHEN_REVERSED true``
22+
1323
### V1.103
24+
1425
- Option to bypass the initial WiFi scan ``#define BYPASS_WIFI_SCAN_ON_STARTUP true``
26+
1527
### V1.102
28+
1629
- Included a 15 second timeout for the new SSID scan
30+
1731
### V1.101
32+
1833
- If the SSID scan fails, it lets you choose from the list in the config_network.h
34+
1935
### V1.100
36+
2037
- Changed the SSID scan to a non-blocking approach
38+
2139
### V1.99
40+
2241
- removed some of the code added in the previous version as it was not proving to be helpful.
42+
2343
### V1.98
44+
2445
- The SSID scan will no longer sort by default
2546
- Addition of two defines for the SSID scan ``SORT_WIFI_NETWORKS`` and ``USE_FAST_WIFI_SCAN_METHOD``
2647
- Use ``#define SORT_WIFI_NETWORKS true`` to sort the SSIDs
@@ -30,224 +51,289 @@
3051
- Realised that ``#define ENFORCED_COUNTRY_CODE true`` is not actually used by the code. I will look into that later
3152

3253
### V1.97
54+
3355
- Additional logging
3456

3557
### V1.96
58+
3659
- Changed the default for ``USE_BATTERY_SLEEP_AT_PERCENT`` to ``#define USE_BATTERY_SLEEP_AT_PERCENT 0``. This turns the automatic sleep on low battery off by default.
3760

3861
### V1.95
62+
3963
- Added MDNS_WAIT_TIME define
4064

4165
### V1.94
66+
4267
- EStop bug fix from https://github.com/markwtech
4368

4469
### V1.93
70+
4571
- Added define for DEFAULT_HEARTBEAT_PERIOD. Defaults to 10 seconds. Only needed if the server does not send the period as it should.
4672

4773
### V1.92
74+
4875
- Additional button option SLEEP. Will put the ESP32 to sleep. (i.e. turn off)
4976

5077
### V1.91
78+
5179
- Optional use of the WiFi Country Code. See ``config_network_example.h`` for more information
5280

5381
### V1.90
82+
5483
- Option to release locos in consist/mu by the index rather than the Address. New optional ``#define DROP_LOCO_BY_INDEX true``
5584

5685
### V1.89
86+
5787
- Bug fix for SPEED_STOP SPEED_UP SPEED_DOWN SPEED_UP_FAST SPEED_DOWN_FAST E_STOP SPEED_MULTIPLIER
5888

5989
### V1.88
90+
6091
- Additional actions to change to specific throttle THROTTLE_1 THROTTLE_2 THROTTLE_3 THROTTLE_4 THROTTLE_5 THROTTLE_6
6192

6293
### V1.87
94+
6395
- support UTF8 fonts better
6496
- Italian Translations by Roberto B
6597
- able to override the default font (not recommended)
6698
- add define for ``CUSTOM_APPNAME``
6799

68100
### V1.86
101+
69102
- added missing debug messages for the battery
70103

71104
### V1.85
105+
72106
- bug fix for when using the Arduino IDE
73107

74108
### V1.84
109+
75110
- 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. <br/> At the moment you can only have up to 11 buttons.
76111
- Bug fix for momentary functions selected from the roster
77112

78113
### V1.83
114+
79115
- log any unknown commands from the server. Requires WiThrottleProtocol version 1.1.26 or later
80116

81117
### V1.82
118+
82119
- Made ``RESTORE_ACQUIRED_LOCOS`` default to true.
83120
- Added an Extra Menu option to save the current locos
84121
- Removed the save when deliberately disconnected or slept the device (extra menu ``#96`` or ``#97``)
85122

86123
### V1.81
124+
87125
- Show the battery status on the Start, SSID browse, Wit browse and Shutdown screens.
88126

89127
### V1.80
128+
90129
- Added ``RESTORE_ACQUIRED_LOCOS`` option. If this option is enabled, and you have deliberately disconnected or slept the device (extra menu ``#96`` or ``#97``), then the next time you connect the device it will try to load the previously acquired locos.
91130

92131
### V1.78
132+
93133
- Added ``DROP_BEFORE_ACQUIRE`` option and also toggle for this in the Extras menu
94134

95135
### V1.77
136+
96137
- Bug fix for when a DCC-EX EX-CommandStation has the password changed from the default.
97138

98139
### V1.77
140+
99141
- 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 false`` in ``confing_network.h``.
100142
- Added a message when the server has just connected and is caught up receiving the roster etc. and is unable to process commands yet.
101143

102144
### V1.76
145+
103146
- 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``
104147

105148
### V1.75
149+
106150
- Option for up to four start-up commands ``#define STARTUP_COMMAND_1 ""`` .. ``#define STARTUP_COMMAND_4 ""``
107151

108152
### V1.74
153+
109154
- German translations by Bastian Zechendorf.
110155
- Made it simpler to change the language.
111156
- Improvements for non-English language display.
112157
- Bug fix. Removed duplicated first entry in the Roster (at the end).
113158

114159
### V1.73
160+
115161
- Add debug level option ``#define DEBUG_LEVEL``
116162
- A bug in the heartbeat send in the protocol library was fixed at the same time as this release.
117163
- if heartbeat is enabled, deliberately send the command to server to start it. (I had previously assumed that this was not required.)
118164

119165
### V1.72
166+
120167
- add the ability to sort the roster with the new define ``ROSTER_SORT_SEQUENCE``
121168
- 0 = no sorting. As it comes from the server
122169
- 1 = sort by name (first 10 chars only) - Default
123170
- 2 = sort by DCC Address
124171

125172
### V1.71
173+
126174
- add the ability to define the consist follow function options for all 32 functions ``CONSIST_FUNCTION_FOLLOW_F0`` to ``CONSIST_FUNCTION_FOLLOW_F31``
127175

128176
### V1.70
177+
129178
- add define to enable or disable the heartbeat by default ``#define HEARTBEAT_ENABLED true``
130179

131180
### V1.69
181+
132182
- 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
133183

134184
### V1.68
185+
135186
- improve bouncing on the pot values
136187
- bug fix for functions list & menus closing when the pot value bounces
137188

138189
### V1.67
190+
139191
- bug fix for adding locos greater than 300 and less than 499
140192

141193
### V1.66
194+
142195
- Add support for setting the additional button as latching or non-latching, overriding the WiThrottle defaults. Requires WiThrottleProtocol version 1.1.24.
143196

144197
### V1.65
198+
145199
- Fix for individual loco direction (facing) changes in a consist. Requires WiThrottleProtocol version 1.1.23 or later
146200

147201
### V1.63 - v1.64
202+
148203
- bug fix for the user defined menus
149204

150205
### V1.62
206+
151207
- rewrite of the menu code to support user defined menus
152208
- bug fix for the Edit Consist not working
153209

154210
### V1.61
211+
155212
- Bug fix - Speed step multiplier not being displayed
156213
- Added screenshots to the Readme
157214

158215
### V1.60
216+
159217
- ignore broadcast alert "Steal from other WiThrottle or JMRI throttle Required"
160218

161219
### V1.59
220+
162221
- Experimental attempt to automatically steal locos on Dijitrax systems
163222

164223
### V1.58
224+
165225
- bug fix when not using the battery test
166226

167227
### V1.56 / 1.57
228+
168229
- Moved the battery position to the top line
169230
- added an Action to show or hide the battery
170231
- Added some of the UI improvements from HandCab
171232
- Fixed the E_STOP VS E_STOP_CURRENT_LOCO. Requires WiThrottleProtocol version 1.1.20 to actually work differently.
172233
- Updated documentation. (Particularly on the use of the battery)
173234

174235
### V1.55
236+
175237
- 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.
176238
- German translation file included
177239

178240
### V1.54
241+
179242
- minor format change
180243

181244
### V1.53
245+
182246
- 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)
183247
- This version will switch on GPIO internal pullups if EC11_PULLUPS_REQUIRED is set true in config_buttons.h
184248
- added auto deep sleep on low battery
185249

186250
### V1.52
251+
187252
- Made two changes in main code 1. Comment out random values when displaying battery percentage
188253
- and 2.Invert logic for the test to display the battery percentage
189254

190255
### V1.51
256+
191257
- changed option to have the battery to show icon as well as a percent
192258

193259
### V1.50
260+
194261
- option to have the battery to show as a percent
195262

196263
### V1.49
264+
197265
- change the battery check to once ever 10 seconds
198266

199267
### V1.48
268+
200269
- change the battery charge level to an icon/glyph
201270

202271
### V1.47
272+
203273
- support for optionally using a voltage divider to show the battery charge level
204274

205275
### V1.46
276+
206277
- support for optionally using a potentiometer (pot) instead of the encoder for the throttle
207278

208279
### V1.45
280+
209281
- support for 4x4 keypads
210282

211283
### V1.44
284+
212285
- support for optional custom commands
213286

214287
### V1.43
288+
215289
- bug fix
216290

217291
### V1.43
292+
218293
- text, button and display PIN configurations moved to defines that can be overridden in personal config_buttons_etc.h files
219294
- no functional changes
220295

221296
### V1.42
297+
222298
- minor bug fix
223299

224300
### V1.41
301+
225302
- support for broadcast messages. Requires WiThrottleProtocol version 1.1.12 or later.
226303

227304
### V1.40
305+
228306
- 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
229307

230308
### V1.38 & V1.39
309+
231310
- fix problem with wifiTrax
232311

233312
### V1.36 & V1.37
313+
234314
- failed attempt to fix problem with wifiTrax
235315

236316
### V1.35
317+
237318
- add option to send commands twice
238319

239320
### V1.34
321+
240322
- minimum time separation/delay between commands sent
241323

242324
### V1.33
325+
243326
- changes to allow the use of VSC
244327

245328
### V1.32
329+
246330
- add support for 32 functions
247331
- bypass WiT server search if EX-CS is in AP mode
248332

249333
### v1.31
334+
250335
- option to auto-connect to first SSID
251336

252337
### prior
338+
253339
- various

0 commit comments

Comments
 (0)