Skip to content

AirMeter 1.1

Choose a tag to compare

@BitsUndBolts BitsUndBolts released this 26 Jun 07:57
· 40 commits to main since this release

AirMeter was build around the ANENG AN870 multimeter.

AirMeter_UI.zip contains the HTML interface.

AirMeter_ESP32_C3_ota.bin is a standalone binary that can be flashed using the OTA interface.
DO NOT FLASH ANY OTHER *.BIN file using the OTA interface!

Initial Setup:
Check the README / Quick Start for more details.

Changelog v1.0 → v1.1:

  • Fix: Brownout on AP start after flash (ESP32-C3 SuperMini power issue).
    WiFi.softAPdisconnect()/disconnect() before mode switch + TX power
    clamped to WIFI_POWER_8_5dBm before softAP() and WiFi.begin().
    Switched STA mode from WIFI_PS_NONE to WIFI_PS_MIN_MODEM to reduce
    idle radio current and board temperature.
  • Fix: Wi-Fi reconnection. A 10-second watchdog in loop() detects a dropped
    STA connection and calls WiFi.reconnect() automatically.
  • Fix: Settings NVS reads no longer block the async request handler on
    every API call. loadSettings() / saveSettings() now maintain an
    in-RAM cache; flash is only touched when the value actually changes.
  • Fix: /api/scan debounced to 3 s to prevent rapid successive calls from
    cancelling an in-progress scan.
  • Fix: SSE keep-alive ping sent every 25 s so routers/proxies do not drop
    idle connections before the next meter packet arrives.
  • Improvement: Static assets served with Cache-Control: max-age=3600 so
    browsers cache CSS/JS/images across page loads.
  • Improvement: Track settings change in meter.html and save based on UI events.
  • More and updated Meter Themes