{ "rtype": 0, // 0 = modbus, 1 = http/json "mtype": 1, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "EARU EA777", // as displayed in the config dialog "manufacturer": "EARU", "dev_type": "EA777", // will be prefixed by "meter_" // "delay_accumulated": true, // 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": 140, "modbus_write": 16, // function code to write register(s) "modbus_write_max_registers": 64, // values used to build the model string "type_designation": { "address": 0, "type": "string", "fixed": "EA777" }, "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": 0x00, "type": "int16", "resolution": 0.1 // result in V, the read value will be multiplied with 'resolution' to yield the final result }, "voltage_l2": { "address": 0x01, "type": "int16", "resolution": 0.1 // result in V }, "voltage_l3": { "address": 0x02, "type": "int16", "resolution": 0.1 // result in V }, "current_l1": { "address": 0x03, "type": "int16", "resolution": 10.0 // result mA }, "current_l2": { "address": 0x04, "type": "int16", "resolution": 10.0 // result in mA }, "current_l3": { "address": 0x05, "type": "int16", "resolution": 10.0 // result in mA }, // Power "power_w": { "address": 0x07, "type": "int16", "resolution": 1.0 // result in W }, // Power per phase "power_w_l1": { "address": 0x08, "type": "int16", "resolution": 1.0 }, "power_w_l2": { "address": 0x09, "type": "int16", "resolution": 1.0 }, "power_w_l3": { "address": 0x0A, "type": "int16", "resolution": 1.0 }, // Reactive power per phase "power_var_l1": { "address": 0x0C, "type": "int16", "resolution": 1.0 }, "power_var_l2": { "address": 0x0D, "type": "int16", "resolution": 1.0 }, "power_var_l3": { "address": 0x0E, "type": "int16", "resolution": 1.0 }, // accumulated values "import_wh": { "address": 0x27, "type": "int32", "order": "hl", "resolution": 10 // 10 Wh, result in Wh }, "export_wh": { "address": 0x31, "type": "int32", "order": "hl", "resolution": 10 // 10 Wh, result in Wh } }