{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 2, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "OpenDTU HM9000", // as displayed in the config dialog "manufacturer": "OpenDTU", "dev_type": "opendtu_hm9000json", // 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/livedata/status", "type": "string", "query": "inverters.0.name" }, "serial": { "address": "/api/livedata/status", "type": "string", "query": "inverters.0.serial" }, "power_w": { "address": "/api/livedata/status", "type": "float", "query": "total.Power.v" }, "import_wh": { "address": "/api/livedata/status", "type": "float", "query": "total.YieldTotal.v", "resolution": 1000 }, }