{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "Eastron DCM230", // as displayed in the config dialog "manufacturer": "Eastron", "dev_type": "DCM230", // will be prefixed by "meter_" // modbus parameters "rtu": { "silence_period": 50, // msec "silence_same_slave": false, "retries": 4, "rcv_timeout": 120 // msec }, "modbus_read": 4, // function code to read registers "modbus_read_max_registers": 60, "modbus_write": 16, // function code to write register(s) "modbus_write_max_registers": 48, // values used to build the model string "type_designation": { "address": 0, "type": "string", "fixed": "DCM230" }, "version": { "address": 0, "type": "string", "fixed": "1.0" }, "firmware_version": { "address": 0, "type": "string", "fixed": "1.0" }, "serial": { "address": 0, "type": "string", "fixed": "0" }, // instantaneous values "voltage_l1": { "address": 0, "type": "float" }, "current_l1": { "address": 6, "type": "float", "resolution": 1000 }, "power_w_l1": { "address": 12, "type": "float" }, "power_w_import": { "address": 72, "type": "float", "resolution": 1000 }, "power_w_export": { "address": 74, "type": "float", "resolution": 1000 } }