Commit ba417bf
committed
v3.10
- Play user-provided "ttcancel.mp3" if TT is cancelled through brake on Remote
- Make TCD<->Remote communication more robust
- P0: Fix speed-jumps on Remote when hitting brake (Remote and TCD firmware)
- Speedo-less operation with Remote: Set TCD speed to 0 as long as brake is on. This prevents a time travel at 88 on the Remote with brake on.
- Modify speedo-less time travel sequence if bttf clients are present or mqtt "publish" (regardless of enhanced TIMETRAVEL message) is enabled, and the tt is triggered by '0', BTTFN or MQTT (NOT: button):
Now the sequence takes 5 seconds (as opposed to 1.4 seconds in prior versions) to give the props enough time for a proper acceleration sequence, and in case there is a ttaccel sound, it is played.
As before, if the time travel is triggered by external button, it starts immediately and there is no acceleration-time whatsoever.
- If a Futaba Remote control is present, it requires proper acceleration/deceleration and, in essence, acts like a speedo display; therefore, do TCD-triggered TT sequence as if speedo is present even if there is none. If the Remote is fake-off, only do that if it wants to display speed while off.
- Add "Wireless (BTTFN)" speedo type. Allows using a simple BTTFN-listener as speedo.
- Initialize everything speedo-related independent of speedo presence; if Remote is connected (later), it will require proper accel/deceleration sequence. See also changes of 11/24.
- TCD-controlled TT while Remote is speedMaster: No TT while brake is on. If brake is hit while accelerating, TT(P0) is cancelled.
- WM: Minor HTML tweaks; make page width dynamic for better display on handheld devices
- Add support for MQTT v5.0 (tested with mosquitto only). Has no advantages over 3.1.1 (but more overhead), only there to use brokers that lack support for 3.1.1.
- Add connection state info on HA/MQTT Settings page
- Clear keypad input buffer when/after holding a key
- Delete Remote/KPRemote upon forbidding remote (KP) control
- WM: Require HTTP_POST for params save pages. Also, check if request has parameter, do not overwrite current value with null (protects from overwriting settings by errorneous page reloads)
- Offer three purposes for TT-OUT (IO14): Time travel (as before), alarm, and control through keypad command; selectable in Config Portal.
- Remove various compilation conditionals (FAKE_POWER_ON, TC_HAVELINEOUT, EXTERNAL_TIMETRAVEL_IN, EXTERNAL_TIMETRAVEL_OUT, HAVE_STALE_PRESENT, TC_HAVESPEEDO, TC_BTTFN_MC)
- Add "stalled P0" feature for speed notification (used by Remote)
- MQTT: Make "enhanced TT" default to on, it avoids the "5s lead problem".
- Add (inter-prop) MQTT-"TIMETRAVEL" command with lead time and time tunnel duration attached, eg. "TIMETRAVEL_4950_6600". Only on bttf/tcd/pub.
- Various fixes to inter-prop MQTT communication
- Abort a network tt ahead of actions that result in a reboot
- Add BTTFN_NOT_BUSY notification and status flag to inform BTTFN clients that the TCD is busy (eg keypad menu) and not ready for time travel. This is also used to transmit Remote(KP)Allowed stati.
- Move HA/MQTT settings to separate config portal page
- Allocate MQTT buffer only if MQTT is actually used
- Re-order time_loop(): Handle timers in loop iteration following second change
- Minor code cleanups
- Put beep in flash now that there is space
- MP3/File-Renamer: Ignore non-mp3 files; display number of files-to-do while renaming
- Decode ID3 tags and free memory immediately on play-back start
- Remove hack to skip web handling in on mp3-playback start, remove stopping sound in AP mode on CP access.
- Block newly injected MQTT command while previous one is still being worked on.
- Add MQTT command "INJECT_"
- Add MQTT commands PLAYKEY_x and STOPKEY
- Add commands 501-509 to play keyX (X=1-9)
- Add option to disable time-cycling animation
- WM: Generate HTML for checkboxes on-the-fly
- Add "POWER_CONTROL_xx" and "POWER_xx" MQTT commands to control Fake-Power through HA. POWER_CONTROL_xx enables/disables power control through HA, and overrule a TFC switch if enabled. POWER_xx enable/disable fake power when HA has control. Command code 996 disables HA power control. Fake-Power through Futaba remote has priority over HA/MQTT.
- Fix logic error in connection with "Remote fake power controls TCD fake power". Remote firmware 1.12+ will not control fake-power with 3.7.
- New sound-pack: Includes sounds for remote on/off, and new night mode on/off sounds. (TW04/CS04)
- [Broken in 3.7] Add "Remote fake power controls TCD fake power" feature.
While Remote is Master, TFC switch changes are tracked but ignored. When Remote releases fake power control, TFC switch state becomes immediately effective. Configuration of this feature is done solely on the Remote.
Requires firmware >= 1.12 on Remote.
- Save beep mode when changed on-the-fly so it's restored on power-up.
- Fix deleting a bad .bin file after upload
- BTTFN: Fix hostname length issues; code optimizations; minor fix for mc notifications. Recommend to update all props' firmwares for similar fixes.
- Restart WiFi power save timers after last BTTFN client has been expired
- WM: Fix AP shutdown; handle mDNS
- Send "REFILL" (009) to DG only, and via BTTFN, not MQTT.
- Wipe flash FS if alien VER found; in case no VER is present, check available space for audio files, and wipe if not enough.
- WM: More event-based waiting instead of delays1 parent 9ec71f3 commit ba417bf
File tree
36 files changed
+4428
-2752
lines changed- Software
- src
- src/WiFiManager
36 files changed
+4428
-2752
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
212 | 215 | | |
213 | | - | |
| 216 | + | |
214 | 217 | | |
215 | | - | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| |||
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
225 | | - | |
| 228 | + | |
226 | 229 | | |
227 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
228 | 235 | | |
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
232 | | - | |
| 239 | + | |
233 | 240 | | |
234 | 241 | | |
235 | 242 | | |
236 | 243 | | |
237 | 244 | | |
238 | 245 | | |
239 | 246 | | |
240 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
241 | 266 | | |
242 | 267 | | |
243 | | - | |
| 268 | + | |
244 | 269 | | |
245 | | - | |
| 270 | + | |
246 | 271 | | |
247 | 272 | | |
248 | 273 | | |
249 | 274 | | |
250 | | - | |
| 275 | + | |
251 | 276 | | |
252 | 277 | | |
253 | 278 | | |
254 | 279 | | |
255 | 280 | | |
256 | 281 | | |
257 | 282 | | |
258 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
259 | 316 | | |
260 | 317 | | |
261 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
262 | 373 | | |
263 | 374 | | |
264 | 375 | | |
Binary file not shown.
0 commit comments