Skip to content

Power and energy

/inpa.cgi?pown

Set a name for the power/energy reading.

GET /inpa.cgi?pown=AB
  • A is index of power/energy reading, integer 0-5 (P/E1-P/E6) (0-3 prior to HW 3.5+ SW 1.49)
  • B is the name to set, a string of up to 15 characters

Example:

http://192.168.1.100/inpa.cgi?pown=0Power0

/inpa.cgi?powsel

Changed in HW 3.5+ SW 1.49

Format of request was changed from /inpa.cgi?powsel=AB to /inpa.cgi?powsel=A*B, and range of A values from 0-7 (0-3 I, 4-7 U) to 0-11 (0-5 I, 6-11 U).

Set I and U options for power reading.

GET /inpa.cgi?powsel=A*B
  • A determines for which field the value is set, integer 0-11 (0-5 are I for POWER1-POWER6, 6-11 are U for POWER1-POWER6)
  • B is input for I or for U, integer 0-17

    I options:

    {
        "0": "INPA1",
        "1": "INPA2",
        "2": "INPA3",
        "3": "INPA4",
        "4": "INPA5",
        "5": "INPA6",
        "6": "INPD1",
        "7": "INPD2",
        "8": "INPD3",
        "9": "INPD4",
        "10": "m1", // added in HW 3.5+ SW 1.19 as SDM120-3, changed in HW 3.5+ SW 1.36
        "11": "m2", // added in HW 3.5+ SW 1.19 as SDM72D-1, changed in HW 3.5+ SW 1.36
        "12": "m3", // added in HW 3.5+ SW 1.19 as SDM72D-8, changed in HW 3.5+ SW 1.36
        "13": "m4", // added in HW 3.5+ SW 1.19 as SDM72D-9, changed in HW 3.5+ SW 1.36
    }
    

    U options:

    {
        "0": "INPA1",
        "1": "INPA2",
        "2": "INPA3",
        "3": "INPA4",
        "4": "INPA5",
        "5": "INPA6",
        "10": "225V",
        "11": "230V",
        "12": "235V",
        "13": "VCC", // added in HW 3.5+ SW 1.19
        "14": "m1", // added in HW 3.5+ SW 1.57
        "15": "m2", // added in HW 3.5+ SW 1.57
        "16": "m3", // added in HW 3.5+ SW 1.57
        "17": "m4", // added in HW 3.5+ SW 1.57
    }
    

Example:

http://192.168.1.100/inpa.cgi?powsel=0*0

/inpa.cgi?powim

Set the pulse to power units conversion ratio.

GET /inpa.cgi?powim=AB
  • A is index of power/energy reading, integer 0-5 (P/E1-P/E6)
  • B is the number of pulses, integer

Example:

http://192.168.1.100/inpa.cgi?powim=01000

/inpa.cgi?powset

Set the given value as an energy reading.

GET /inpa.cgi?powset=AB
  • A is index of power/energy reading, integer 0-5 (P/E1-P/E6)
  • B is the value to set for energy reading, integer (value multiplied by 1000)

Example:

http://192.168.1.100/inpa.cgi?powset=00

/inpa.cgi?eclear

DEPRECATED

The function has been deprecated and replaced by /inpa.cgi?powset=A0.

Reset energy reading.

GET /inpa.cgi?eclear=A
  • A is index of power/energy reading, integer 0-3 (P/E1-P/E4)

Example:

http://192.168.1.100/inpa.cgi?eclear=0

/inpa.cgi?peunit

Only in HW 3.5+

Set the unit for power/energy reading.

GET /inpa.cgi?peunit=AB
  • A is index of power/energy reading, integer 0-5 (P/E1-P/E6)
  • B is the unit to use, integer 0-5

    {
        "0": { "power": "kW", "energy": "kWh" },
        "1": { "power": "W", "energy": "kWh" },
        "2": { "power": "l/min", "energy": "m3" },
        "3": { "power": "m3/h", "energy": "m3" },
        "4": { "power": "kW -> W", "energy": "kWh" }, // added in HW 3.5+ SW 1.57
        "5": { "power": "W -> kW", "energy": "kWh" }, // added in HW 3.5+ SW 1.57
    }
    

Example:

http://192.168.1.100/inpa.cgi?peunit=00

/inpa.cgi?powsave

Remember energy reading after reboot (periodically saves status of power/energy to flash memory).

GET /inpa.cgi?powsave=A
  • A determines whether the function is enabled, integer 0-1

Example:

http://192.168.1.100/inpa.cgi?powsave=0

Last update: 2023-08-08
Back to top