{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "Deye LP3 Battery", // as displayed in the config dialog "manufacturer": "Deye", "dev_type": "deye_lp3_bat", // 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": 16, // function code to write register(s) "modbus_write_max_registers": 64, // values used to build the model string "type_designation": { "fixed": "LP3 Battery" }, "version": { "fixed": "1.0" }, "firmware_version": { "fixed": "1.0" }, "serial": { "address": 3, "type": "string", "length": 5 }, "power_w": { "address": 590, "type": "int16" "resolution": -1.0 }, "soc": { "address": 588, "type": "int16" } }