; Copy to secrets.ini (which is gitignored) and fill in. ; ; Only three of these really matter for a first flash: the WiFi credentials, ; the Pi's address, and the enrollment secret. Everything else the device ; learns from the endpoint after it enrolls. [secrets] wifi_ssid = YourNetwork wifi_pass = YourPassword ; The endpoint — a Pi, a thin client, a NUC, a VM; the firmware does not care. ; Use a DHCP reservation and hardcode the address: mDNS on an ESP32 is one ; more thing that can fail silently at 4 a.m. (SPEC §9). api_host = 192.168.1.50 api_port = 8080 ; Bootstrap provisioning secret, shared with the endpoint. The device trades ; it for a bearer token plus a per-device re-enrollment secret on first boot, ; and keeps the latter so a token rotation heals itself without a USB cable. ; Generate with: openssl rand -hex 32 ; ; It stays compiled into the image as a last-resort recovery path, so do not ; rotate it server-side without also shipping new firmware. enroll_secret = replace-me ; POSIX TZ. Central Europe with DST. tz = CET-1CEST,M3.5.0,M10.5.0/3 ; 0 = stay awake (mains, pre-trigger ring, streaming works) ; 1 = deep sleep between events (battery; see power_mgr.h for the trade-offs) ; This is only the *initial* value — the endpoint can flip it at runtime. deep_sleep = 0