{ "rtype": 0, // 0 = modbus, 1 = http/json "name": "MyPV ELWA 2", // as displayed in the config dialog "manufacturer": "MyPV", "dev_type": "mypv_elwa2", // 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": 60, "modbus_allow_gaps": false, "modbus_write": 10, // function code to write register(s) "modbus_write_max_registers": 48, // values used to build the model string "type_designation": { "fixed": "Battery" }, "version": { "fixed": "1.0" }, "firmware_version": { "fixed": "1.0" }, "serial": { "address": 1013, "type": "int16", }, // instantaneous values "power_w": { "address": 1000, "type": "int16", }, "temp1": { "address": 1001, "type": "int16" }, "status": { "address": 1003, "type": "int16" }, "temp2": { "address": 1030, "type": "int16" }, }