// V 1.01 - Enrzeugte Energie als import_wh (vormals export_wh)
//
// connect string 10.42.33.71:8080
{
  "rtype": 1, // 0 = modbus, 1 = http/json
  "mtype": 2, // 0 = other, 1 = meter, 2 = inverter, 4 = battery

  "name": "Senertec Dachs", // as displayed in the config dialog
  "manufacturer": "Senertec",
  "dev_type": "dachs_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": {
    "fixed": "Dachs"
  },
  "version": {
    "fixed": "1.0"
  },
  "firmware_version": {
    "fixed": "1.0"
  },
  "serial": {
    "fixed": "0"
  },

  "power_w": {
    "address": "/getKey?k=Hka_Mw1.sWirkleistung",
    "type": "float",
    "regex": "Hka_Mw1\\.sWirkleistung=([.0-9]+)",
     "resolution": 1000.0
  },
  "import_wh": {
    "address": "/getKey?k=Hka_Bd.ulArbeitElektr",
    "type": "int64",
    "regex": "Hka_Bd\\.ulArbeitElektr=([.0-9]+)",
    "resolution": 1000.0
  }
}
