{ "rtype": 1, // 0 = modbus, 1 = http/json "name": "Shelly 1PM HTTP", // as displayed in the config dialog "manufacturer": "Shelly", "dev_type": "shelly_1PM_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": "/shelly", "type": "string", "query": "type" }, "version": { "address": "", "type": "string", "fixed": "1.0" }, "firmware_version": { "address": "/shelly", "type": "string", "query": "fw" }, "serial": { "address": "", "type": "string", "fixed": "0" }, "power_w_l1": { "address": "/status", "type": "float", "query": "emeters[0].power", "resolution": 1.0 }, "import_wh_l1": { "address": "/status", "type": "float", "query": "emeters[0].total", "resolution": 1.0 } }