/sys/modbus/client/map/{name}/option

A set of options. The meter currently supports the following options:

  • default-modbus-addr: The Modbus unit-number to use by default. This must be a decimal string. For example: 1.

  • default-serial-params: The default serial parameters to use when the remote device is connected via a serial port (Modbus/RTU). This must be a string. For example: 9600/8n1 for 9600 baud, 8 databits, no parity, 1 stop bit.

  • default-tcp-port: The default TCP port number to use when the remote device is connected via Modbus/TCP. This must be a decimal string. For example: 6001.

Get /sys/modbus/client/map/{name}/option

SecurityApiKey
Request
path Parameters
name
required
string

The name of a system Modbus map (read-only).

Example: egauge_prm3
query Parameters
max-depth
integer >= 1

Limit output depth of the response. See Max-Depth.

Example: max-depth=2
filter
string

Response filter string. See Filter-Spec.

Example: filter={foo,bar}
Responses
200

Normal response.

401

Unauthorized response.

get/sys/modbus/client/map/{name}/option
Request samples
Response samples
application/json
{
  • "result": {
    },
  • "error": "Error message (present if an error occurred)."
}