{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "XSolax Power X3-Hybrid G4", // as displayed in the config dialog "manufacturer": "XSolax", "dev_type": "Power X3-Hybrid G4", // 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": 10, "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": "XSolax Power X3-Hybrid G4" }, "version": { "address": 0, "type": "string", "fixed": "1.0" }, "firmware_version": { "address": 0, "type": "string", "fixed": "G4" }, "serial": { "address": 0, "type": "string", "fixed": "0" }, // instantaneous values "power_w": { "address": 70, "type": "int32", "order": "lh", "resolution": 1.0 // result in W }, "export_w": { "address": 72, "type": "int32", "order": "lh", "resolution": 10.0 // result in 10Wh }, "import_w": { "address": 74, "type": "int32", "order": "lh", "resolution": 10.0 // result in 10Wh } }