{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 1, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "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" }, "power_w": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.GS303.Power_curr", "type": "float", "resolution": 1.0 }, "import_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.GS303.Total_in", "type": "float", "resolution": 1000.0 }, "export_wh": { "address": "/cm?cmnd=status%2010", "query": "StatusSNS.GS303.Total_out", "type": "float", "resolution": 1000.0 } }