{ "rtype": 0, // 0 = modbus, 1 = http/json "mtype": 2, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "AC ELWA 2", // as displayed in the config dialog "manufacturer": "my-PV", "dev_type": "ac_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": 96, "modbus_write": 16, // function code to write register(s) "modbus_write_max_registers": 64, "reserved": [0x7fffffff, 0xffffffff, 0x7fffffffffffffff, 0xffffffffffffffff], // values used to build the model string "type_designation": { "fixed": "AC ELWA 2" }, // instantaneous values "power_w": { "address": 1074, "type": "int16" }, "*temp": { "address": 1001, "type": "int16", "resolution": 0.1 }, "outputs": [ { "address": "${if exists(charge_power_w)`http://localhost/cnf?cmd=modbus_set&addr=${address}&func=6&id=${id}®=1000&val=${charge_power_w}&type=w}" } ] }