{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "Janitza UMG 96PA-", // as displayed in the config dialog "manufacturer": "Janitza", "dev_type": "janitza_umg96pa-", // will be prefixed by "meter_" // modbus parameters "rtu": { "silence_period": 50, // 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": 6, // 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": { "address": 6, "type": "string", "fixed": "UMG 96PA-" }, "version": { "address": 36, "type": "string", "fixed": "1.0" }, "firmware_version": { "address": 38, "type": "string", "fixed": "1.0" }, "serial": { "address": 14, "type": "string", "fixed": "0" }, // instantaneous values "voltage_l1": { "address": 19000, "type": "float" }, "voltage_l2": { "address": 19002, "type": "float" }, "voltage_l3": { "address": 19004, "type": "float" }, "current_l1": { "address": 19012, "type": "float", "resolution": 1000.0 }, "current_l2": { "address": 19014, "type": "float", "resolution": 1000.0 }, "current_l3": { "address": 19016, "type": "float", "resolution": 1000.0 }, "power_w": { "address": 19026, "type": "float", "resolution": -1.0 }, "power_var": { "address": 19042, "type": "float" }, "power_va": { "address": 19034, "type": "float" }, "import_wh": { "address": 19068, "type": "float" }, "export_wh": { "address": 19076, "type": "float" }, // inputs, modbus only "inputs": [ ] }