Install
Install in three steps
No Arduino IDE needed. You flash the firmware from your browser once, and updates go over Wi-Fi after that.
Testing status. Version 2 is in testing. The newest changes are on the author’s machine but not fully tested yet. For the last version proven on a machine, use the v2.0-first-good-shot tag.
View the tag.
Flash the firmware
Plug the ESP32 in by USB. In Chrome or Edge, open esptool-js and set the baud rate to 921600. Click Connect and pick the port. If it won't connect, hold the BOOT button while connecting.
Set the flash address to 0x0, choose Discreet_V2_full_flash_at_0x0.bin, and click Program.
Prepare the SD card
Use a card of 32 GB or smaller, formatted FAT32. Copy everything in builds/sdcard_ready to the root of the card.
Open config.json on the card in a text editor and put in your Wi-Fi name and password:
"wifiSsid": "YOUR_WIFI_NAME",
"wifiPassword": "YOUR_WIFI_PASSWORD",
The other values are the defaults, and you can change them later from the web page. A version 1 config.json also works as it is.
When you update the web pages later, don't copy config.json again. It would replace your Wi-Fi details with the placeholders.
Start the machine
A normal start sounds 2 short beeps (Wi-Fi connected), then 1 short beep (SD card found). Open http://discreet.local on a phone or computer on the same Wi-Fi. If that doesn't load, use the IP address shown on the serial monitor (115200 baud).
Hear two long beeps instead? That's an error code. Look it up in the beep code list.
Updates
Later firmware updates go over Wi-Fi using Discreet_V2_app.bin, with the hostname Discreet and the password discreet. The heater and pump switch off while an update runs.
Upgrading from version 1
Version 2 changed the machine's web addresses. Update the touchscreen and the SD card pages at the same time as the machine, or they won't connect. Your version 1 config.json still works.
Version 1 is still available at Discreet-Coffee/Discreet.
Stuck?
Ask on the Discord. Say which board you're using and what the machine beeps at start-up.