{ "rtype": 1, // 0 = modbus, 1 = http/json "name": "Tasmota Smartmeter PIC APA", // 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" }, "voltage_l1": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Volt_L1_curr", "type": "float", "resolution": 1.0 }, "voltage_l2": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Volt_L2_curr", "type": "float", "resolution": 1.0 }, "voltage_l3": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Volt_L3_curr", "type": "float", "resolution": 1.0 }, "current_l1": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Amperage_L1_curr", "type": "float", "resolution": 1000.0 }, "current_l2": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Amperage_L2_curr", "type": "float", "resolution": 1000.0 }, "current_l3": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].Amperage_L3_curr", "type": "float", "resolution": 1000.0 }, "power_w_l1": { "address": "/cm?cmnd=status%2010", "type": "float", "query": "StatusSNS['Netz -'].Power_L1_curr", "resolution": 1.0 }, "power_w_l2": { "address": "/cm?cmnd=status%2010", "type": "float", "query": "StatusSNS['Netz -'].Power_L2_curr", "resolution": 1.0 }, "power_w_l3": { "address": "/cm?cmnd=status%2010", "type": "float", "query": "StatusSNS['Netz -'].Power_L3_curr", "resolution": 1.0 }, "power_w": { "expr": "power_w_l1+power_w_l2+power_w_l3" }, "power_va": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].curr_w", "type": "float", "resolution": 1.0 }, "import_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].total_kWh", "type": "float", "resolution": 1000.0 }, "export_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS['Netz -'].total_kWh_out", "type": "float", "resolution": 1000.0 } }