{
  "rtype": 1,   // 0 = modbus, 1 = http/json
  "mtype": 2,   // 0 = other, 1 = meter, 2 = inverter, 4 = battery

  "name": "HMS-1600", // as displayed in the config dialog
  "manufacturer": "Hoymiles",
  "dev_type": "Hoymiles", // 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": "",
    "type": "string",
    "query": ""
  },
  "version": {
    "address": "",
    "type": "string",
    "fixed": "1.0"
  },
  "firmware_version": {
    "address": "",
    "type": "string",
    "query": ""
  },
  "serial": {
    "address": "",
    "type": "string",
    "fixed": "0"
  },

  // instantaneous values

  "power_w": {
    "address": "/api/livedata/status",
    "query": "total.Power.v",
    "type": "float",
    "resolution": 1.0
  },

  // accumulated values
  "import_wh": {
    "address": "/api/livedata/status",
    "query": "total.YieldTotal.v",
    "type": "float",
    "resolution": 1000,
}
  }


