procon-ip - v2.0.0
    Preparing search index...

    procon-ip - v2.0.0

    procon-ip

    TypeScript client library for the ProCon.IP pool controller. This site is the auto-generated API reference. For installation, examples, and the changelog, see the project on GitHub.

    The library exposes a small surface around the controller's HTTP endpoints:

    • State pollingGetStateService reads /GetState.csv, GetStateData parses it, RelayDataInterpreter handles the bit-encoded relay state.
    • Relay controlUsrcfgCgiService switches relays via /usrcfg.cgi.
    • Manual dosageCommandService triggers chlorine / pH± dosage timers.
    • Relay timersSetStateService turns a relay on for a duration.
    • DMX512GetDmxService + DmxService + GetDmxData for the 16-channel DMX state on /GetDmx.csv + /usrcfg.cgi.
    • Errors — typed exception classes (BadCredentialsError, BadStatusCodeError, RequestTimeoutError, InvalidPayloadError, base ProconIpError).

    Use the sidebar to browse classes, interfaces, and enums.