{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 1, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "HomeWizard P1_V2 Meter", // as displayed in the config dialog "manufacturer": "HomeWizard", "dev_type": "homewizard_p1_v2_port", // 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", "type": "string", "query": "product_type" }, "version": { "address": "/api", "type": "string", "fixed": "2.0", "query": "api_version" }, "firmware_version": { "address": "/api", "type": "string", "query": "firmware_version" }, "serial": { "address": "/api", "type": "string", "query": "mac" }, "power_w": { "address": "/api/v1/data", "type": "float", "query": "active_power_w", "resolution": 1.0 }, "import_wh": { "address": "/api/v1/data", "type": "float", "query": "total_power_import_kwh", "resolution": 1000.0 }, "export_wh": { "address": "/api/v1/data", "type": "float", "query": "total_power_export_kwh", "resolution": 1000.0 } }