{
  "rtype": 1,  // 0 = modbus, 1 = http/json
  "mtype": 1,  // 0 = other, 1 = meter, 2 = inverter, 4 = battery

  "name": "cFos CM Meter", // as displayed in the config dialog
  "manufacturer": "cFos",
  "dev_type": "cfos_cm", // 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": "GET /cnf?cmd=get_dev_info",
    "type": "string",
    "query": "params.desc"
  },
  "version": {
    "address": "",
    "type": "string",
    "fixed": "1.0"
  },
  "firmware_version": {
    "address": "GET /cnf?cmd=get_dev_info",
    "type": "string",
    "query": "params.version"
  },
  "serial": {
    "address": "",
    "type": "string",
    "fixed": "0"
  },

  // instantaneous values
  "voltage_l1": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].voltage_l1",
    "type": "int32",
    "resolution": 1.0
  },
  "voltage_l2": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].voltage_l2",
    "type": "int32",
    "resolution": 1.0
  },
  "voltage_l3": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].voltage_l2",
    "type": "int32",
    "resolution": 1.0
  },
  "current_l1": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].current_l1",
    "type": "int32",
    "resolution": 1.0
  },
  "current_l2": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].current_l2",
    "type": "int32",
    "resolution": 1.0
  },
  "current_l3": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].current_l3",
    "type": "int32",
    "resolution": 1.0
  },
  "power_va": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].power",
    "type": "int32",
    "resolution": 1.0
  },

  // accumulated values
  "import_wh": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].import",
    "type": "int64",
    "resolution": 1.0
  },
  "export_wh": {
    "address": "GET /cnf?cmd=get_dev_info",
    "query": "devices[1].export",
    "type": "int64",
    "resolution": 1.0
  }

}
 