{ "rtype": 1, // 0 = modbus, 1 = http/json "name": "Shelly Plus 1PM", // as displayed in the config dialog "manufacturer": "Shelly", "dev_type": "shelly_plus_1PM_http_json", // will be prefixed by "meter_" "delay_accumulated": false, // true = Akkumulierte Werte (kWh) werden nur alle 3 Sekunden oder bei ausreichender Leistung abgefragt. // 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" }, "voltage_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['switch:0'].voltage", "resolution": 1.0 }, "current_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['switch:0'].current", "resolution": 1000 }, "power_w_l1": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['switch:0'].apower", "resolution": 1.0 }, "import_wh": { "address": "/rpc/Shelly.GetStatus", "type": "float", "query": "['switch:0'].aenergy.total", "resolution": 1.0 }, "outputs": [ { "address": "/relay/0?turn=${if exists(output1) && output1`on`off}" } ] }