{ "rtype": 1, // 0 = modbus, 1 = http/json "mtype": 0, // 0 = other, 1 = meter, 2 = inverter, 4 = battery "name": "my-PV AC ELWA 2+HTTP", // as displayed in the config dialog "manufacturer": "my-PV", "dev_type": "my-pv_ac_elwa_2+http", // will be prefixed by "meter_" // values used to build the model string "type_designation": { "fixed": "AC ELWA 2+HTTP" }, // instantaneous values "power_w": { "address": "GET /data.jsn", "query": "power_elwa2", "type": "int16", "resolution": 1.0 }, "*temp1": { "address": "GET /data.jsn", "query": "temp1", "type": "int16", "resolution": 0.1 }, "*temp2": { "address": "GET /data.jsn", "query": "temp2", "type": "int16", "resolution": 0.1 }, "outputs": [ //see: https://www.cfos-emobility.de/de/cfos-charging-manager/documentation/battery-rules.htm { "address": "${if exists(charge_power_w)`POST /control.html?power=${charge_power_w}}" } ] }