{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 2, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "AhoyDTU", // as displayed in the config dialog "manufacturer": "AhoiyDTU", "dev_type": "AjoyDTU", // will be prefixed by "meter_" "delay_accumulated": false, // false: always read accumulated value, like import_wh / export_wh when reading instantaneous values // values used to build the model string "type_designation": { "address": "/api/inverter/list", "type": "string", "query": "inverter[0]['name']" }, "serial": { "address": "/api/inverter/list", "type": "string", "query": "inverter[0]['serial']" }, "power_w": { "address": "/api/inverter/id/0", "type": "float", "query": "ch[0][2]" }, "import_wh": { "address": "/api/inverter/id/0", "type": "float", "query": "ch[0][6]", "resolution": 1000 }, }