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
Copy file name to clipboardExpand all lines: README.md
+48-21Lines changed: 48 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,9 @@ Firmware features include
27
27
-[Wireless communication](#bttf-network-bttfn) with [Time Circuits Display](https://circuitsetup.us/product/complete-time-circuits-display-kit/); used for synchonized time travels, alarm, night mode, fake power and remote control through TCD keypad
28
28
-[Music player](#the-music-player): Play mp3 files located on an SD card [requires TCD connected wirelessly for control]
29
29
-[SD card](#sd-card) support for custom audio files for effects, and music for the Music Player
30
-
-Advanced network-accessible [Config Portal](#the-config-portal) for setup (http://gauges.local, hostname configurable)
30
+
-advanced network-accessible [Config Portal](#the-config-portal) for setup (http://gauges.local, hostname configurable)
31
31
-[Home Assistant](#home-assistant--mqtt) (MQTT 3.1.1) support
32
-
-Built-in installer for default audio files in addition to OTA firmware updates
32
+
-built-in OTA installer for firmware updates and audio files
33
33
34
34
## Firmware Installation
35
35
@@ -69,11 +69,19 @@ The first step is to establish access to the configuration web site ("Config Por
69
69
70
70
#### Connecting to a WiFi network
71
71
72
-
As long as the device is unconfigured, it creates a WiFi network of its own named "DG-AP". This is called "Access point mode", or "AP-mode".
72
+
Your Dash Gauges know two ways of WiFi operation: Either they create their own WiFi network, or they connect to a pre-existing WiFi network.
73
73
74
-
It is ok to leave the Dash Gauges in this mode, especially if it run stand-alone. In a typical home setup and/or if you also have a [Time Circuits Display](https://circuitsetup.us/product/complete-time-circuits-display-kit/), however, you might want to connect the Dash Gauges to a WiFi network (in case of using it together with a TCD: to the same WiFi network the TCD is connected to). If you have your Dash Gauges, along with a Time Circuits Display, mounted in a car, you might want to connect the Dash Gauges to the TCD's very own WiFi network "TCD-AP"; see [here](#car-setup).
74
+
As long as the device is unconfigured, it creates its own WiFi network named "DG-AP". This mode of operation is called "Access point mode", or "AP-mode".
75
75
76
-
In order to connect your Dash Gauges to a WiFi network, click on "Configure WiFi". The bare minimum is to select an SSID (WiFi network name) and a WiFi password.
76
+
It is ok to leave it in AP-mode, predominantly if used stand-alone. (To operate your Dash Gauges in AP-mode, do not configure a WiFi network as described below, or click on "Erase WiFi config" on the Config Portal's main page.)
77
+
78
+
>For experts: In the following, the term "WiFi network" is used for both "WiFi network" and "ip network" for simplicity reasons. However, for BTTFN/MQTT communication, the devices must (only) be on the same ip network, regardless of how they take part in it: They can be can be connected to different WiFi networks, if those WiFi networks are part of the same ip network, or, in case of the MQTT broker, by wire. If the TCD operates as access point for other props, connecting a prop to the TCD's WiFi network also takes care of suitable ip network configuration through DHCP.
79
+
80
+
##### ▶ Home setup with a pre-existing local WiFi network
81
+
82
+
In this case, you can connect your Dash Gauges to your home WiFi network: Click on "Connect to WiFi" and either select a network from the top of the page or enter a WiFi network name (SSID), and enter your WiFi password. After saving the WiFi network settings, the device reboots and tries to connect to your configured WiFi network. If that fails, it will again start in access point mode.
83
+
84
+
>If you have a [Time Circuits Display](https://tcd.out-a-ti.me) note that in order to have both Dash Gauges and TCD communicate with each other, your Dash Gauges must be connected to the same network your TCD is connected to. In order to use MQTT, your Dash Gauges must be connected to the same network your broker is connected to.
77
85
78
86
>Note that the device requests an IP address via DHCP, unless you entered valid data in the fields for static IP addresses (IP, gateway, netmask, DNS). If the device is inaccessible as a result of incorrect static IPs,
79
87
>- power-down the device,
@@ -86,7 +94,11 @@ In order to connect your Dash Gauges to a WiFi network, click on "Configure WiFi
86
94
>
87
95
>This procedure causes static IP data to be deleted; the device will return to DHCP after a reboot.
88
96
89
-
After saving the WiFi network settings, the device reboots and tries to connect to your configured WiFi network. If that fails, it will again start in access point mode.
97
+
##### ▶ Places without a WiFi network
98
+
99
+
If no TCD is present, keep your Dash Gauges operating in AP-mode.
100
+
101
+
If you have a [Time Circuits Display](https://tcd.out-a-ti.me), you can connect your Dash Gauges to the TCD's own WiFi network: Click on "Connect to WiFi" and either select "TCD-AP" from the top of the page or enter "TCD-AP" under *WiFi network name (SSID)*. If you password-proteced your TCD-AP, enter this password below. See [here](#car-setup) for more details.
90
102
91
103
After completing this step, your Dash Gauges are ready to be configured through the "Config Portal".
92
104
@@ -259,6 +271,8 @@ The Dash Gauges are way more fun when other props (TCD, FC, SID) are present as
259
271
</tr>
260
272
</table>
261
273
274
+
[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.)
275
+
262
276
## Time travel
263
277
264
278
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.
@@ -294,6 +308,18 @@ The firmware supports some additional user-provided sound effects, which it will
294
308
295
309
Those files are not provided here. You can use any mp3, with a bitrate of 128kpbs or less.
296
310
311
+
### Installing Custom & Replacement Audio Files
312
+
313
+
As of version 1.20 of the Dash Gauges firmware, above mentioned audio files (both replacements and custom sounds) can either be copied to the SD card using a computer, or uploaded through the Config Portal.
314
+
315
+
Uploading through the Config Portal works exactly like [installing the default audio files](#audio-data-installation); on the main menu, click "UPDATE". Afterwards choose the file to upload in the bottom file selector, and click "UPLOAD". The firmware recognizes mp3 files, and stores them on the SD card. (Unlike with the default files, no further "installation" takes place.)
316
+
317
+
In order to delete a file from the SD card, upload a file whose name is prefixed with "delete-". For example: To delete "key1.mp3" from the SD card, either rename your "key1.mp3" into "delete-key1.mp3", or create a new file named "delete-key1.mp3", and upload this file. The firmware detects the "delete-" part and, instead of storing the uploaded file, it throws it away and deletes "key1.mp3" from the SD card.
318
+
319
+
For technical reasons, the Dash Gauges must reboot after a file is uploaded in this way.
320
+
321
+
Please remember that the maximum bitrate for mp3 files is 128kbps. Also note that the uploaded file is stored to the root folder of the SD card, so this way of uploading cannot be used to upload songs for the Music Player.
322
+
297
323
## The Music Player
298
324
299
325
The firmware contains a simple music player to play mp3 files located on the SD card. This player requires a TCD connected through BTTFN for control.
@@ -406,19 +432,19 @@ If your Dash Gauges, along with a [Time Circuits Display](https://tcd.out-a-ti.m
406
432
#### Dash Gauges
407
433
408
434
Enter the Config Portal on the Dash Gauges (as described above), click on *Setup* and
409
-
- enter *192.168.4.1* into the field **_IP address or hostname of TCD_**
435
+
- enter *192.168.4.1* into the field **_IP address or hostname of TCD_** under BTTFN settings;
410
436
- check the option **_Follow TCD fake power_** if you have a fake power switch for the TCD (like eg a TFC switch)
411
437
- click on *Save*.
412
438
413
439
After the Dash Gauges have restarted, re-enter the Dash Gauges's Config Portal (while the TCD is powered and in *car mode*) and
414
-
- click on *Configure WiFi*,
415
-
- select the TCD's access point name in the list at the top or enter *TCD-AP* into the *SSID* field; if you password-protected your TCD's AP, enter this password in the *password* field. Leave all other fields empty,
440
+
- click on *Connect to WiFi*,
441
+
- select the TCD's access point name in the list at the top ("TCD-AP") or enter *TCD-AP* into the *WiFi network name (SSID)* field; if you password-protected your TCD's AP, enter this password in the *password* field. Leave all other fields empty,
416
442
- click on *Save*.
417
443
418
-
Using this setup enables the Dash Gauges to receive notifications about time travel and alarm wirelessly, and to query the TCD for data. Also, the TCD keypad can be used to remote-control the Dash Gauges.
419
-
420
444
In order to access the Dash Gauges's Config Portal in your car, connect your hand held or computer to the TCD's WiFi access point ("TCD-AP"), and direct your browser to http://gauges.local ; if that does not work, go to the TCD's keypad menu, press ENTER until "BTTFN CLIENTS" is shown, hold ENTER, and look for the Dash Gauges's IP address there; then direct your browser to that IP by using the URL http://a.b.c.d (a-d being the IP address displayed on the TCD display).
421
445
446
+
This "car setup" can also be used in a home setup with no local WiFi network present.
447
+
422
448
### Door Switches
423
449
424
450
The Dash Gauges have a connector for two door switches. These switches trigger door open/close sounds.
@@ -437,11 +463,13 @@ In order to reduce the number of write operations and thereby prolong the life o
437
463
438
464
### Main page
439
465
440
-
##### ▶ Configure WiFi
466
+
##### ▶ Connect to WiFi
467
+
468
+
Click this to connect your Dash Gauges to your local WiFi network (which can also be provided by your [Time Circuits Display](https://tcd.out-a-ti.me) operating in AP mode/car mode). All you need to do is either to click on one of the networks listed at the top or to enter a WiFi network name (SSID), and optionally a passwort (WPAx).
441
469
442
-
Clicking this leads to the WiFi configuration page. On that page, you can connect your Dash Gauges to your WiFi network by selecting/entering the SSID (WiFi network name) as well as a password (WPA2). By default, the Dash Gauges request an IP address via DHCP. However, you can also configure a static IP by entering the IP, netmask, gateway and DNS server. All four fields must be filled for a valid static IP configuration. If you want to stick to DHCP, leave those four fields empty.
470
+
>By default, the Dash Gauges request an IP address via DHCP. However, you can also configure a static IP for the Dash Gauges by entering the IP, netmask, gateway and DNS server. All four fields must be filled for a valid static IP configuration. If you want to stick to DHCP, leave those four fields empty. If you connect your Dash Gauges to your Time Circuits Display acting as access point ("TCD-AP"), leave these all empty.
443
471
444
-
Note that this page has nothing to do with Access Point mode; it is strictly for connecting your Dash Gauges to an existing WiFi network as a client.
472
+
Note that this page is strictly for connecting your Dash Gauges to an existing WiFi network. If your Dash Gauges are supposed to operate stand-alone, they run in "access point mode" (AP-Mode). Settings for AP mode are on the *Setup* page.
445
473
446
474
##### ▶ Setup
447
475
@@ -457,9 +485,11 @@ You can also install the Dash Gauges' audio data on this page; download the curr
457
485
458
486
Note that either a firmware or audio data can be uploaded at once, not both at the same time.
459
487
488
+
Finally, this page is also for uploading [custom or replacement sound files](#installing-custom--replacement-audio-files) to the SD card. Select an mp3 file in the bottom file selector and click upload. (Requires firmware 1.20 or later.)
489
+
460
490
##### ▶ Erase WiFi Config
461
491
462
-
Clicking this (and saying "yes" in the confirmation dialog) erases the WiFi configuration (WiFi network and password) and reboots the device; it will restart in "access point" mode. See [here](#short-summary-of-first-steps).
492
+
Clicking this (and saying "yes" in the confirmation dialog) erases the WiFi connection configuration (as set up through the *Connect to WiFi* page) and reboots the device; it will restart in "access point" (AP) mode. See [here](#short-summary-of-first-steps).
463
493
464
494
---
465
495
@@ -544,7 +574,7 @@ If your Dash Gauges are connected wirelessly, this option has no effect.
544
574
545
575
##### ▶ IP address or hostname of TCD
546
576
547
-
If you want to have your Dash Gauges to communicate with a Time Circuits Display wirelessly ("BTTF-Network"), enter the IP address of the TCD here. If your TCD is running firmware version 2.9.1 or later, you can also enter the TCD's hostname here instead (eg. 'timecircuits').
577
+
If you want to have your Dash Gauges to communicate with a Time Circuits Display wirelessly ("BTTF-Network"), enter the TCD's hostname - usually 'timecircuits' - or IP address here.
548
578
549
579
If you connect your Dash Gauges to the TCD's access point ("TCD-AP"), the TCD's IP address is 192.168.4.1.
550
580
@@ -694,10 +724,7 @@ then reload the page in your browser.
694
724
695
725
696
726
697
-
_Text & images: (C) Thomas Winischhofer ("A10001986"). See LICENSE._ Source: https://dg.out-a-ti.me
698
-
699
-
700
-
701
-
727
+
_Text & images: (C) Thomas Winischhofer ("A10001986"). See LICENSE._ Source: https://dg.out-a-ti.me
0 commit comments