Keep firmware changes reproducible and separate "compiles locally" from "works on the hive node".
- Run
python scripts/compile_check.pyfor a compile-only check. - Run
python scripts/hardware_smoke_check.pybefore OTA upload. - If you need device-specific validation, provide a real local
src/config.h. - Flash or OTA-update the node using the local deployment path from
platformio.ini. - Confirm serial boot output reaches:
- Wi-Fi connect
- MQTT connect
- BME280 detection
- deep sleep entry
- Verify these MQTT topics receive fresh values:
HT_BME280_TemperatureHT_BME280_HumidityHT_BME280_PressureHT_BME280_Altitude
- Compile-only validation is now available via
python scripts/compile_check.py. - Hardware preflight is now available via
python scripts/hardware_smoke_check.py. - Real hardware validation is still mandatory after sensor, networking, OTA, or sleep-logic changes.