{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "Universal Gateway SDM630", // as displayed in the config dialog "manufacturer": "UniversalGateway SDM630", "dev_type": "sdm630", // will be prefixed by "meter_" // modbus parameters "rtu": { "silence_period": 75, // msec "silence_same_slave": false, "retries": 4, "rcv_timeout": 120 // msec }, "modbus_read": 3, // function code to read registers "modbus_read_max_registers": 96, "modbus_write": 16, // function code to write register(s) "modbus_write_max_registers": 64, // values used to build the model string: type_designation,version,firmware_version,serial "type_designation": { "fixed": "1", // modbus address as number "type": "string" // zero terminated }, "version": { "fixed": "V0.2", "type": "string" }, "firmware_version": { "fixed": "V12.3.0", "type": "string" }, "serial": { "fixed": "xxx-yy", "type": "string" // available types: int16, int32, int64, float, string }, // instantaneous values "voltage_l1": { "address": 00, "type": "float", "resolution": 1 // result in V, the read value will be multiplied with 'resolution' to yield the final result }, "voltage_l2": { "address": 02, "type": "float", "resolution": 1 // result in V }, "voltage_l3": { "address": 04, "type": "float", "resolution": 1 // result in V }, "current_l1": { "address": 06, "type": "float", "resolution": 1000 // result mA }, "current_l2": { "address": 08, "type": "float", "resolution": 1000 // result mA }, "current_l3": { "address": 10, "type": "float", "resolution": 1000 // result mA }, "power_w": { "address": 52, // Leistung "type": "float", "resolution": 1 // result in W }, "power_w_l1": { "address": 12, "type": "float", "resolution": 1 // result in W }, "power_w_l2": { "address": 14, "type": "float", "resolution": 1 // result in W }, "power_w_l3": { "address": 16, "type": "float", "resolution": 1 // result in W }, "power_var": { "address": 60, // Blindleistung "type": "float", "resolution": 1 // result in VAR }, "power_va": { // Scheinleistung "address": 58, "type": "float", "resolution": 1 // result in VA }, // accumulated values "import_wh": { "address": 72, "type": "float", "resolution": 1000 // result in Wh }, "export_wh": { "address": 74, "type": "float", "resolution": 1000 // result Wh }, "import_varh": { "address": 76, "type": "float", "resolution": 1000 // result in VARh }, "export_varh": { "address": 78, "type": "float", "resolution": 1000 // result in VARh } }