{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 1, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "Shelly Pro 3EM_new2", // as displayed in the config dialog "manufacturer": "Shelly", "dev_type": "shelly_pro_3em_CW_json", // will be prefixed by "meter_" "delay_accumulated": true, // 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": "id" }, "version": { "address": "/shelly", "type": "string", "query": "gen" }, "firmware_version": { "address": "/shelly", "type": "string", "query": "ver" }, "serial": { "address": "", "type": "string", "fixed": "0" }, "import_wh_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:0'].total_act_energy" }, "import_wh_l2": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:1'].total_act_energy" }, "import_wh_l3": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:2'].total_act_energy" }, "import_wh": { "expr": "import_wh_l1+import_wh_l2+import_wh_l3" }, "export_wh_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:0'].total_act_ret_energy" }, "export_wh_l2": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:1'].total_act_ret_energy" }, "export_wh_l3": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1data:2'].total_act_ret_energy" }, "export_wh": { "expr": "export_wh_l1+export_wh_l2+export_wh_l3" }, "voltage_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:0'].voltage" }, "voltage_l2": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:1'].voltage" }, "voltage_l3": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:2'].voltage" }, "current_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:0'].current", "resolution": 1000.0 }, "current_l2": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:1'].current", "resolution": 1000.0 }, "current_l3": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:2'].current", "resolution": 1000.0 }, "power_w_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:0'].act_power" }, "power_w_l2": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:1'].act_power" }, "power_w_l3": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['em1:2'].act_power" }, "power_w": { "expr": "power_w_l1+power_w_l2+power_w_l3" }, }