โš™๏ธ Device config tool

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.
Hardware
Device identity
Backend
Wi-Fi networks โ€” up to 3, used to seed Preferences

Network 1 is required; 2 and 3 are optional fallbacks.

Sensors

Toggle on only what you fitted. Each enabled sensor is compiled into the firmware for this device.

Sets one of ENABLE_SHT4X_AMBIENT / ENABLE_SHT3X_AMBIENT / ENABLE_BME280_AMBIENT. Only the BME280 reports barometric pressure (ambient_pressure_hpa). Measures outside-hive climate, so it is never overridden by an in-hive BLE sensor.

Wired ยท I2S
Off-grid ยท I2C
Hives & sensors โ€” up to 16, matches the on-device provisioning portal

Add a hive, choose its single scale source, then optionally one in-hive sensor: a wired DS18B20 probe or one wireless BLE/GATT sensor. Pre-seeding this here is optional โ€” it saves a trip to the portal on first boot, but you can just add hives from the portal instead and skip this section entirely.

No hives yet โ€” add one below.

Build flags

secrets.h


        
Save this as firmware/include/secrets.h (it is gitignored โ€” never commit it), then build with pio run -e esp32dev --target upload.