{
  "rtype":  1,   // 0 = modbus, 1 = http/json
  "mtype": 1, // 0 = other, 1 = meter, 2 = inverter, 4 = battery
  
  "name": "Tasmota Smartmeter HTTP", // as displayed in the config dialog
  "manufacturer": "Tasmota",
  "dev_type": "tasmota_http_json", // 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",
    "fixed": "Smartmeter"
  },
  "version": {
    "address": "",
    "type": "string",
    "fixed": "1.0"
  },
  "firmware_version": {
    "address": "",
    "type": "string",
    "fixed": "1.0"
  },
  "serial": {
    "address": "",
    "type": "string",
    "fixed": "0"
  },

 "power_w": {
    "address": "/cm?cmnd=status%2010",
    "query": "StatusSNS.SM.16_7_0",
    "type": "float",
    "resolution": 1.0
  }, 

  "import_wh": {
    "address": "/cm?cmnd=status%2010",
    "query": "StatusSNS.SM.1_8_0",
    "type": "float",
    "resolution": 1000.0
  },

  "export_wh": {
    "address": "/cm?cmnd=status%2010",
    "query": "StatusSNS.SM.2_8_0",
    "type": "float",
    "resolution": 1000.0
  }
  
}
 
