Pick your device identity, Wi-Fi and the sensors you actually fitted, then download a
ready-to-build firmware/include/secrets.h. Everything runs locally in your
browser โ no values are uploaded anywhere.
The recommended way to configure a device is the on-device provisioning portal.
After flashing, hold the setup button to start the HiveHub Wi-Fi access point, connect to it,
and set Wi-Fi, backend, hives and sensors right on the device โ those settings live in the
device's storage and survive OTA updates. This tool is optional: it only
pre-seeds a brand-new device on first boot (and provides build defaults), so you can skip it
and pair everything from the portal instead.
secrets.h
Save this as firmware/include/secrets.h (it is gitignored โ never commit it),
then build with pio run -e esp32dev --target upload.