You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- support for door switches for playing sounds when opening/closing the car doors
26
26
-[wireless communication](#bttf-network-bttfn) with [Time Circuits Display](https://tcd.out-a-ti.me); used for synchronized time travels, alarm, night mode, fake power and remote control through TCD keypad
27
-
-[music player](#the-music-player): Play mp3 files located on an SD card [requires TCD connected wirelessly for control]
27
+
-[music player](#the-music-player): Play mp3 files located on an SD card [requires TCD connected wirelessly or HA/MQTT for control]
28
28
-[SD card](#sd-card) support for custom audio files for effects, and music for the Music Player
29
29
- advanced network-accessible [Config Portal](#the-config-portal) for setup (http://gauges.local, hostname configurable)
30
30
-[Home Assistant](#home-assistant--mqtt) (MQTT 3.1.1) support
31
31
- built-in OTA installer for firmware updates and audio files
32
32
33
33
## Firmware Installation
34
34
35
-
If a previous version of the Dash Gauges firmware is installed on your device's ESP32, you can update easily using the pre-compiled binary. Enter the [Config Portal](#the-config-portal), click on "Update" and select the pre-compiled binary file provided in this repository ([install/dashgauges-A10001986.ino.nodemcu-32s.bin](https://github.com/realA10001986/Dash-Gauges/blob/main/install/dashgauges-A10001986.ino.nodemcu-32s.bin)).
35
+
If a previous version of the Dash Gauges firmware is installed on your device's ESP32, you can update easily using the pre-compiled binary. Enter the [Config Portal](#the-config-portal), click on "Update" and select the pre-compiled binary file provided in this repository ([install/dashgauges-A10001986.ino.nodemcu-32s.bin](https://github.com/realA10001986/Dash-Gauges/blob/main/install/dashgauges-A10001986.ino.nodemcu-32s.bin)) in the top file selector.
36
36
37
37
If you are using a fresh ESP32 board, please see [dashgauges-A10001986.ino](https://github.com/realA10001986/Dash-Gauges/blob/main/dashgauges-A10001986/dashgauges-A10001986.ino) for detailed build and upload information, or, if you don't want to deal with source code, compilers and all that nerd stuff, go [here](https://install.out-a-ti.me) and follow the instructions.
38
38
@@ -42,7 +42,7 @@ If you are using a fresh ESP32 board, please see [dashgauges-A10001986.ino](http
42
42
43
43
The firmware comes with a sound-pack which needs to be installed separately. The sound-pack is not updated as often as the firmware itself. If you have previously installed the latest version of the sound-pack, you normally don't have to re-install it when you update the firmware. Only if the "Empty" LED signals "SOS" (three short blinks, three long blinks, three short blinks) during boot, a re-installation/update is needed.
44
44
45
-
The first step is to download "install/sound-pack-xxxxxxxx.zip" and extract it. It contains one file named "DGA.bin".
45
+
The first step is to download "install/sound-pack-dgXX.zip" and extract it. It contains one file named "DGA.bin".
46
46
47
47
Then there are two alternative ways to proceed. Note that both methods *require an SD card*.
48
48
@@ -176,16 +176,10 @@ As mentioned, the Dash Gauges are an add-on for a Time Circuits Display. Their b
176
176
177
177
There is little to play with when the Dash Gauges aren't connected to a TCD:
178
178
- To quickly trigger the "empty" sequence, flip the side switch of your Dash Gauges. To "refill", flip that switch again.
179
-
- Press the time travel button to trigger a simple "surge" sequence.
179
+
- Press the time travel button to trigger a simple "surge" sequence. The time travel button is located behind the "Primary" gauge on the rear of the Control Board, next to the SD card reader; you can also connect an [external button](Hardware.md#connecting-a-time-travel-button).
180
180
181
181
The Dash Gauges are way more fun when other props (TCD, FC, SID) are present as well. The TCD is of special importance: When connected through BTTFN, the TCD can act as a remote control for the Dash Gauges.
182
182
183
-
## Time travel
184
-
185
-
To trigger a "time travel" stand-alone, you need to install a "Time Travel" button. Pressing that button briefly will let the Dash Gauges play their time travel sequence. Please see [here](hardware/#connecting-a-time-travel-button) for how to wire that button.
186
-
187
-
Other ways of triggering a time travel are available if a [Time Circuits Display](#connecting-a-time-circuits-display) is connected.
188
-
189
183
## SD card
190
184
191
185
Preface note on SD cards: For unknown reasons, some SD cards simply do not work with this device. For instance, I had no luck with Sandisk Ultra 32GB and "Intenso" cards. If your SD card is not recognized, check if it is formatted in FAT32 format (not exFAT!). Also, the size must not exceed 32GB (as larger cards cannot be formatted with FAT32). Transcend, Sandisk Industrial, Verbatim Premium and Samsung Pro Endurance SDHC cards work fine in my experience.
@@ -209,17 +203,17 @@ Your replacements need to be put in the root (top-most) directory of the SD card
209
203
210
204
The firmware supports some additional user-provided sound effects, which it will load from the SD card. If the respective file is present, it will be used. If that file is absent, no sound will be played.
211
205
212
-
- "key1.mp3", "key3.mp3", "key4.mp3", "key6.mp3", "key7.mp3", "key9.mp3": Will be played when you type 900x (x being 1, 3, 4, 6, 7 or 9) on the TCD (connected through BTTFN).
206
+
- "key1.mp3" - "key9.mp3": Will be played when you type 900x (x being 1, 3, 4, 6, 7 or 9) or 950x (1-9) on the TCD (connected through BTTFN).
213
207
214
-
> The seemingly odd numbering is because of synchronicity with other props, especially the TCD and its keymap where the Music Player occupies keys 2, 5, 8.
208
+
> The seemingly odd numbering for the 900x range is because of synchronicity with other props, especially the TCD and its keymap where the Music Player occupies keys 2, 5, 8. Likewise, 9002, 9005 and 9008 control the Dash Gauges' Music Player (prev, play/stop, next).
215
209
216
210
Those files are not provided here. You can use any mp3, with a bitrate of 128kpbs or less.
217
211
218
212
### Installing Custom & Replacement Audio Files
219
213
220
214
Replacements and custom sounds can either be copied to the SD card using a computer, or uploaded through the Config Portal.
221
215
222
-
Uploading through the Config Portal works exactly like [installing the default audio files](#sound-pack-installation); on the main menu, click "UPDATE". Afterwards choose one or more mp3 files to upload using the bottom file selector, and click "UPLOAD". The firmware will store the uploaded mp3 files on the SD card.
216
+
Uploading through the Config Portal works exactly like [installing the sound-pack](#sound-pack-installation); on the main menu, click "UPDATE". Afterwards choose one or more mp3 files to upload using the bottom file selector, and click "UPLOAD". The firmware will store the uploaded mp3 files on the SD card.
223
217
224
218
In order to delete a file from the SD card, upload a file whose name is prefixed with "delete-". For example: To delete "key3.mp3" from the SD card, upload a file named "delete-key3.mp3"; the file's contents does not matter, so it's easiest to use a newly created empty file. The firmware detects the "delete-" part and, instead of storing the uploaded file, it throws it away and deletes "key3.mp3" from the SD card.
225
219
@@ -243,7 +237,7 @@ By default, the songs are played in order, starting at 000.mp3, followed by 001.
243
237
244
238
Entering 9888 followed by OK re-starts the player at song 000, and 9888xxx (xxx = three-digit number) jumps to song #xxx.
245
239
246
-
See [here](#remote-control-reference) for a list of controls of the music player.
240
+
See [here](#tcd-remote-command-reference) for a list of controls of the music player.
247
241
248
242
While the music player is playing music, other sound effects are disabled/muted. Initiating a time travel stops the music player. The TCD-triggered alarm will, if so configured, sound and stop the music player.
249
243
@@ -287,7 +281,7 @@ You can use BTTF-Network and MQTT at the same time, see [below](#home-assistant-
287
281
</tr>
288
282
<tr><td>Function</td><td>Code on TCD</td></tr>
289
283
<tr>
290
-
<td align="left">"Refill"</td>
284
+
<td align="left">"Refill"<sup>1</sup></td>
291
285
<td>009⏎</td>
292
286
</tr>
293
287
<tr>
@@ -352,38 +346,49 @@ You can use BTTF-Network and MQTT at the same time, see [below](#home-assistant-
<td align="left">Reboot the device<sup>1</sup></td>
383
388
<td align="left">9064738⏎</td>
384
389
</tr>
385
390
<tr>
386
-
<td align="left">Delete static IP address<br>and WiFi-AP password</td>
391
+
<td align="left">Delete static IP address<br>and WiFi-AP password<sup>1</sup></td>
387
392
<td align="left">9123456⏎</td>
388
393
</tr>
389
394
<tr>
@@ -392,13 +397,15 @@ You can use BTTF-Network and MQTT at the same time, see [below](#home-assistant-
392
397
</tr>
393
398
</table>
394
399
400
+
1: Not supported through HA/MQTT [_INJECT_](#the-inject_x-command) command
401
+
395
402
[Here](https://github.com/realA10001986/Dash-Gauges/blob/main/CheatSheet.pdf) is a cheat sheet for printing or screen-use. (Note that MacOS' preview application has a bug that scrambles the links in the document. Acrobat Reader does it correctly.)
396
403
397
404
### Connecting a TCD by wire
398
405
399
406
>Note that a wired connection only allows for synchronized time travel sequences, no other communication takes place, and there is no way to remote-control the Gauges through the TCD by wire. A wireless connection over BTTFN/WiFi is much more powerful and therefore recommended over a wired connection.
400
407
401
-
For wiring information, please see [here](hardware/#connecting-a-tcd-to-the-dash-gauges-by-wire).
408
+
For wiring information, please see [here](Hardware.md#connecting-a-tcd-to-the-dash-gauges-by-wire).
402
409
403
410
With the wiring in place, head to the Config Portal and set the option **_TCD connected by wire_**. On the TCD, the option "Control props connected by wire" must be set.
404
411
@@ -415,8 +422,8 @@ The Dash Gauges support the MQTT protocol version 3.1.1 for the following featur
415
422
416
423
### Control the Dash Gauges via MQTT
417
424
418
-
The Dash Gauges can - to some extent - be controlled through messages sent to topic **bttf/dg/cmd**. Supported commands are
419
-
- TIMETRAVEL: Start a [time travel](#time-travel)
425
+
The Dash Gauges can be controlled through messages sent to topic **bttf/dg/cmd**. Supported commands are
426
+
- TIMETRAVEL: Start a time travel
420
427
- EMPTY: "Drain" Plutonium and trigger alarm
421
428
- REFILL: Refill the Plutonium chamber
422
429
- PLAY_DOOR_OPEN, PLAY_DOOR_CLOSED: Play respective door sounds; these commands are only executed if the option **_Play door sounds_** in the Config Portal is unchecked.
@@ -427,6 +434,21 @@ The Dash Gauges can - to some extent - be controlled through messages sent to to
427
434
- MP_SHUFFLE_ON: Enables shuffle mode in [Music Player](#the-music-player)
428
435
- MP_SHUFFLE_OFF: Disables shuffle mode in [Music Player](#the-music-player)
429
436
- MP_FOLDER_x: x being 0-9, set folder number for [Music Player](#the-music-player)
437
+
- PLAYKEY_x: Play keyX.mp3 (from SD card), X being in the range from 1 to 9.
438
+
- STOPKEY: Stop playback of keyX file. Does nothing if no keyX file is currently played back.
439
+
- INJECT_x: See immediately below.
440
+
441
+
#### The INJECT_x command
442
+
443
+
This command allows remote control of the Dash Gauges through HA/MQTT in the same way as through the TCD keypad by injecting commands in the Dash Gauges command queue (hence the name). Commands are listed [here](#tcd-remote-command-reference); nearly all with a leading "9" are supported, but are to be entered _minus 9000_. For example:
444
+
445
+
To set "full" percentage of "Percent Power" gauge to 50% (9450), issue the following command: **INJECT_450**
446
+
447
+
To play "key2.mp3" (9502), issue **INJECT_502**
448
+
449
+
To select the 'music1' folder (9051), issue **INJECT_51**
450
+
451
+
_The Refill (009) command is not supported through INJECT; use the REFILL MQTT-command instead._
430
452
431
453
### Receive commands from Time Circuits Display
432
454
@@ -712,9 +734,9 @@ If this option is checked, and your TCD goes into night mode, the Dash Gauges wi
712
734
713
735
If this option is checked, and your TCD is equipped with a fake power switch, the Dash Gauges will also fake-power up/down. If fake power is off, no LED is active and the Dash Gauges will ignore all input.
714
736
715
-
##### ⏩ TT button trigger BTTFN-wide TT
737
+
##### ⏩ TT button triggers BTTFN-wide TT
716
738
717
-
If the dash gauges are connected to a TCD through BTTFN, this option allows to trigger a synchronized time travel on all BTTFN-connected devices when pressing the Time Travel button, just as if the Time Travel was triggered by the TCD. If this option is unchecked, pressing the Time Travel button only triggers a Time Travel sequence on the dash gauges.
739
+
If the dash gauges are connected to a TCD through BTTFN, this option allows to trigger a synchronized time travel on all BTTFN-connected devices when pressing the Time Travel button, just as if the Time Travel was triggered by the TCD. If this option is unchecked, pressing the Time Travel button only triggers a Time Travel sequence on the Dash Gauges.
Copy file name to clipboardExpand all lines: install/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This folder holds all files necessary for immediate installation on your Dash Ga
4
4
5
5
## Firmware Installation
6
6
7
-
If a previous version of the Dash Gauges firmware is installed on your device's ESP32, you can update easily using the pre-compiled binary. Enter the Config Portal, click on "Update" and select the pre-compiled binary file provided in this repository ([install/dashgauges-A10001986.ino.nodemcu-32s.bin](https://github.com/realA10001986/Dash-Gauges/blob/main/install/dashgauges-A10001986.ino.nodemcu-32s.bin)).
7
+
If a previous version of the Dash Gauges firmware is installed on your device's ESP32, you can update easily using the pre-compiled binary. Enter the Config Portal, click on "Update" and select the pre-compiled binary file provided in this repository ([install/dashgauges-A10001986.ino.nodemcu-32s.bin](https://github.com/realA10001986/Dash-Gauges/blob/main/install/dashgauges-A10001986.ino.nodemcu-32s.bin)) in the top file selector and click *Update*.
8
8
9
9
If you are using a fresh ESP32 board, please see [dashgauges-A10001986.ino](https://github.com/realA10001986/Dash-Gauges/blob/main/dashgauges-A10001986/dashgauges-A10001986.ino) for detailed build and upload information, or, if you don't want to deal with source code, compilers and all that nerd stuff, go [here](https://install.out-a-ti.me) and follow the instructions.
10
10
@@ -14,11 +14,11 @@ If you are using a fresh ESP32 board, please see [dashgauges-A10001986.ino](http
14
14
15
15
The sound-pack is not updated as often as the firmware itself. If you have previously installed the latest version of the sound-pack, you normally don't have to re-install it when you update the firmware. Only if the "Empty" LED signals "SOS" (three short blinks, three long blinks, three short blicks) during boot, a re-installation/update is needed.
16
16
17
-
The first step is to download "install/sound-pack-xxxxxxxx.zip" and extract it. It contains one file named "DGA.bin".
17
+
The first step is to download "install/sound-pack-dgXX.zip" and extract it. It contains one file named "DGA.bin".
18
18
19
19
Then there are two alternative ways to proceed. Note that both methods *require an SD card*.
20
20
21
-
1) Through the Config Portal. Click on *Update*, select the "DGA.bin" file in the bottom file selector and click on *Upload*.
21
+
1) Through the Config Portal. Click on *Update*, select the "DGA.bin" file in the bottom file selector and click *Upload*.
22
22
23
23
2) Via SD card:
24
24
- Copy "DGA.bin" to the root directory of of a FAT32 formatted SD card;
0 commit comments