{ "rtype": 1, // 0 = modbus, 1 = http/json "name": "Tasmota Smartmeter HTTP", // 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.SML.Volt_p1", "type": "float", "resolution": 1.0 }, "voltage_l2": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Volt_p2", "type": "float", "resolution": 1.0 }, "voltage_l3": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Volt_p3", "type": "float", "resolution": 1.0 }, "current_l1": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Curr_p1", "type": "float", "resolution": 1000.0 }, "current_l2": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Curr_p2", "type": "float", "resolution": 1000.0 }, "current_l3": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Curr_p3", "type": "float", "resolution": 1000.0 }, "power_w": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Power_curr", "type": "float", "resolution": 1.0 }, "import_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Total_in", "type": "float", "resolution": 1000.0 }, "export_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.SML.Total_out", "type": "float", "resolution": 1000.0 } }