Modbus client configuration. This is used by the meter to communicate with other Modbus devices.
Normal response.
Unauthorized response.
{- "result": {
- "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"
}
]
}
}
}, - "error": "Error message (present if an error occurred)."
}
object (configModbusClientMap) User-defined Modbus address maps. The builtin, read-only system maps are available at /sys/modbus/client/map. If a user-defined map with the same name as a system map exists, it will shadow (mask) the system map with them same name. |
Normal response.
Unauthorized response.
{ }
{- "status": "OK",
- "error": "Error message (present if an error occurred)."
}
object (configModbusClientMap) User-defined Modbus address maps. The builtin, read-only system maps are available at /sys/modbus/client/map. If a user-defined map with the same name as a system map exists, it will shadow (mask) the system map with them same name. |
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)."
}