Class GetStateDataSysInfo

A class for an object representation of the first line of the /GetState.csv API endpoint response. This line has a special role and no relation to the subsequent lines of the CSV file.

Indexable

  • [key: string]: unknown

    Making GetStateDataSysInfo objects extensible, also allows accessing object keys using string variables.

Constructors

Properties

chlorineDosageRelay: number

Chlorine dosage relay id.

configOtherEnable: number

Other config flags.

Values are documented bitwise as follows:

  • Bit 8: Extension an SPI (0) oder DMX (1)
  • Bit 7: Repeated Mails
  • Bit 6: FlowSensor
  • Bit 5: High Bus Load
  • Bit 4: Relay Extension
  • Bit 3: Avatar
  • Bit 2: DMX
  • Bit 1: SD-Card
  • Bit 0: TCP-IP Boost

See manual for more information or updates: http://www.pooldigital.de/trm/TRM_ProConIP.pdf

dosageControl: number

Dosage control information flags.

Values are documented bitwise as follows:

  • Bit 12: pH+ enabled
  • Bit 11..9: reserved
  • Bit 8: pH- enabled
  • Bit 7..5: reserved
  • Bit 4: Cl liquid || Elektrolysis
  • Bit 3..1: reserved
  • Bit 0: CL enabled

See manual for more information or updates: http://www.pooldigital.de/trm/TRM_ProConIP.pdf

ntpFaultState: number

NTP fault state.

Values are documented bitwise as follows:

  • Bit 16: NTP available
  • Bit 15..3: reserved
  • Bit 2: Error
  • Bit 1: Warning
  • Bit 0: Logfile

See manual for more information or updates: http://www.pooldigital.de/trm/TRM_ProConIP.pdf

phMinusDosageRelay: number

pH- dosage relay id.

phPlusDosageRelay: number

pH+ dosage relay id.

resetRootCause: number

Reset root cause.

Values are documented bitwise as follows:

  • Bit 4: External reset
  • Bit 3: PowerUp reset
  • Bit 2: Brown out reset
  • Bit 1: Watchdog reset
  • Bit 0: SW reset

See manual for more information or updates: http://www.pooldigital.de/trm/TRM_ProConIP.pdf

time: string
uptime: number

Uptime of the ProCon.IP controller at the time this data was requested.

version: string

Current firmware version string.

Methods

  • Checks if the chlorine dosage device is configured as an electrolysis cell or a pump.

    Returns boolean

  • Check whether the digitial input 0 is configured as a flow sensor or not.

    Returns boolean

  • Set values from based on a 2-dimensional array structure.

    Parameters

    • data: string[][]

      Parsed response CSV of the /GetState.csv endpoint as 2-dimensional array (see: GetStateData.parsed)

    Returns void

  • Converts the object instance to a simple array of objects for better handling/iteration.

    Returns {
        key: string;
        value: string;
    }[]