Modbus-related configurations.
Normal response.
Unauthorized response.
{- "result": {
- "client": {
- "map": {
- "user_dev": {
- "option": {
- "default-modbus-addr": "2",
- "default-serial-params": "9600/8n1"
}, - "reg": [
- {
- "name": "irradiance",
- "addr": 0,
- "type": "u32",
- "kind": "analog",
- "unit": "W",
- "offset": 0,
- "scale": 0.1,
- "access": "ro"
}, - {
- "name": "temp",
- "addr": 1,
- "type": "s32",
- "kind": "analog",
- "unit": "degC",
- "offset": 0,
- "scale": 0.01,
- "access": "ro"
}
]
}
}
}, - "server": {
- "enable": [
- "rtu"
], - "id": 1,
- "rtu": {
- "port": "USB2:9600/8o2"
}, - "tcp": {
- "port": 502
}
}
}, - "error": "Error message (present if an error occurred)."
}
object (configModbusClient) Modbus client configuration. This is used by the meter to communicate with other Modbus devices. | |
object (configModbusServer) Modbus server configuration. This configures the server-side of the meter. That is, it defines how the meter provides its own data to other Modbus devices. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
object (configModbusClient) Modbus client configuration. This is used by the meter to communicate with other Modbus devices. | |
object (configModbusServer) Modbus server configuration. This configures the server-side of the meter. That is, it defines how the meter provides its own data to other Modbus devices. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
Reset to default. See the descriptions of the individual endpoints for their default values. Commonly, arrays and strings are cleared to empty, numbers are cleared to 0, and booleans are cleared to false
.
Normal response.
Unauthorized response.
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}