Settings#
The ESP-Mosaico has a Settings app on the touch screen. Every item is explained in the manual chapter Settings in detail. On both boards the desktop app writes the same settings to config.json, and the build-time options are in idf.py menuconfig.
config.json#
Put a file called config.json in /sdcard/obd/ and reboot. The board applies the keys it knows and stores them in flash. It does not delete the file, so remove any wifi entries once they are imported.
Key |
Meaning |
Range |
|---|---|---|
|
pause between polling cycles |
50 to 5000 |
|
poll slow-changing PIDs every N cycles |
1 to 50 |
|
read the warning light and trouble codes every N seconds |
10 to 3600 |
|
screen brightness |
5 to 100 |
|
0 by time of day, 1 dark, 2 light |
0 to 2 |
|
light theme from the start hour until the end hour, local time. The defaults, 6 and 17, give light from 06:00 to 16:59 and dark from 17:00 |
0 to 23 |
|
the board’s local time zone as a POSIX string, for example |
text, 3 to 47 characters |
|
the one HTTPS server the board asks for the time (2.5.0). It must present a valid certificate for this name. |
host name, 4 to 63 characters, no scheme, port or IP |
|
|
text |
|
list of |
|
|
the text of |
|
|
a number you can use to track versions |
Files larger than 4096 bytes and invalid JSON are ignored, and the board logs a warning event.