Skip to content

Releases: apadevices/APASENSE

APASENSE v1.1.1

Choose a tag to compare

@apadevices apadevices released this 11 Jun 05:44

Added

  • Library logo added to extras/apasense-logo.png — now displayed in README header.
  • Alternative logo variant in extras/apasense-logo2.png.

APASENSE v1.1.0

Choose a tag to compare

@apadevices apadevices released this 10 Jun 16:21

What's new

Alert melody patterns

Three severity-matched buzzer rhythm patterns stored in flash (PROGMEM):

  • BUZZER_INFO — single beep (1.0 s cycle)
  • BUZZER_WARNING — double beep (2.55 s cycle)
  • BUZZER_ALARM — triple fast beep (1.95 s cycle)

alert(severity, repeat=false) plays once or loops until stopAlert(). Designed for APAPUMP alarm callbacks.

Power calculation

enableCurrent() gains an optional voltageV parameter. getPower() returns apparent power in VA (V × I RMS). Use APASENSE_MAINS_EU (230 V) or APASENSE_MAINS_US (120 V).

Changes

  • setBuzzer(false) and beep() now cancel any active alert() pattern
  • Timer comparisons made rollover-safe (49-day millis() overflow fix)
  • SRAM: 57 bytes (+6 vs v1.0.0)

APASENSE v1.0.0

Choose a tag to compare

@apadevices apadevices released this 10 Jun 15:20

Initial release

ADS1015 analog sensing and PCF8574AT I/O library for APA pool automation.

What's included

  • Pressure transducer reading with auto zero-calibration and EEPROM persistence
  • AC current measurement via ACS712 — true RMS, non-blocking 32-sample accumulator
  • Solar irradiance (LDR) — 0–100 %, user-supplied calibration constants
  • AUX raw voltage input
  • PCF8574AT: 4 × tank-empty sensor inputs (configurable polarity) + 4 × status LEDs
  • Buzzer management — direct GPIO, non-blocking timed beep
  • Pure Wire.h dependency — no Adafruit or external libraries
  • 5-platform verified: AVR Uno, Mega 2560, ESP32, ESP8266, STM32
  • 4 examples including LDR calibration tool and full APAPUMP + APADOSE integration