Skip to content

WebServer Commands

Dave Williams | DitroniX | G8PUO edited this page Jun 16, 2023 · 6 revisions

The IPEM WebServer Code, includes the below.

WebServer URL Commands. An example is http://ipaddress/pwm-on e.g. http:192.168.0.5/pwm-on

  • /pwm-local - This is Enable PWM to take use Local Power reading from specified variable and output.

  • /pwm-remote - This is Enable PWM to take use Remote Power reading from specified variable and output.

  • /pwm-on - This is Enable PWM to take use Local Power reading from specified variable and output.

  • /pwm-off - This is Turn Off PWM Output

  • /pwm-test - This will turn on a test PWM Loop and output

  • /dac-local - This is Enable DAC to take use Local Power reading from specified variable and output.

  • /dac-remote - This is Enable DAC to take use Remote Power reading from specified variable and output.

  • /dac-on - This is Enable DAC to take use Local Power reading from specified variable and output.

  • /dac-off - This is Turn Off DAC Output

  • /dac-test - This will turn on a test DAC Loop and output

Using this URL structure, you are able to directly control the IPEM board, from the same IP as the OTA, or control from Home Automation, such as Domoticz.

The DAC Test includes three modes. Modes 0 = Dynamic Output based on CT Power. 1 = Sinewave (Default 10Hz). 2 = Fixed Test Voltage. This being used for calibration etc.

The DAC control includes the ability to Set Fixed DAC Output from Remote Value, or Leave to Dynamic CT Power Values (WIP)

Work is underway, so the WebServer Page will also include additional information / buttons, relating to this.

Clone this wiki locally