Direct EVSE Control API Docs
Current Target Value Settings
{ "name" "get current target settings", "method" "get", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/currentsettings", "description" "this method allows to retrieve the currently valid current settings with a timestamp until which the settings are valid if there are no currently valid settings, the response values are null ", "tab" "examples", "examples" { "languages" \[ { "id" "c2hmngnlzroc kbbzthc6", "language" "curl", "code" "curl location globoff '/edgedevices/{edge device id}/evses/{uuid}/currentsettings' \\\\\n header 'evsetoken string'", "customlabel" "" }, { "id" "ujuz7j4qftt2wpqbwnqvq", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/currentsettings',\n 'headers' {\n 'evsetoken' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "qlhuzu4ownq0rr7zqs118", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"evsetoken\\", \\"string\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ilgxtj7kgawkhzl ehgri", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\"\n\npayload = {}\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "ecrnqc6zl6at0t3f tzqg", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\")\n\nhttp = net http new(url host, url port);\nrequest = net http get new(url)\nrequest\[\\"evsetoken\\"] = \\"string\\"\n\nresponse = http request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "c2hmngnlzroc kbbzthc6" }, "results" { "languages" \[ { "id" "nd4nttkjfhthjtsi 2wgc", "language" "200", "customlabel" "", "code" "{\n \\"current\\" 10 | null,\n \\"valid until\\" \\"2024 05 30t09 14 47 244362+00 00\\" | null\n}" } ], "selectedlanguageid" "nd4nttkjfhthjtsi 2wgc" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "evsetoken", "kind" "required", "type" "string", "description" "evse authentication token for the specific charging station ", "children" \[] } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } } { "name" "set current target value", "method" "post", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/currentsettings", "description" "allows to set a current target value of a charging station for a certain duration (in seconds) this target value is applied on all phases of the charger the response of this request states whether the requested target value was received or rejected (e g due to the clemap device being disconnected) the target value may not be reached due to external factors, e g if the current limit is reached, external signals from the supply company, or other systems controlling the charging station ", "tab" "examples", "examples" { "languages" \[ { "id" "hk7x dt4jhe 955aunavq", "language" "curl", "code" "curl location globoff '/edgedevices/{edge device id}/evses/{uuid}/currentsettings' \\\\\n header 'evsetoken string' \\\\\n data '{\\"current\\" \\"integer\\",\\"duration\\" \\"integer\\"}'", "customlabel" "" }, { "id" "3ztklbqmf3v4yepxz1ure", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/currentsettings',\n 'headers' {\n 'evsetoken' 'string'\n },\n body '{\\"current\\" \\"integer\\",\\"duration\\" \\"integer\\"}'\n\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "nc2lqo 7nudbfrzrb00ep", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"evsetoken\\", \\"string\\");\n\nvar raw = \\"{\\\\\\"current\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"duration\\\\\\" \\\\\\"integer\\\\\\"}\\";\n\nvar requestoptions = {\n method 'post',\n headers myheaders,\n body raw,\n redirect 'follow'\n};\n\nfetch(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "ratcpwz8o4oxmkveqkvnk", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\"\n\npayload = \\"{\\\\\\"current\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"duration\\\\\\" \\\\\\"integer\\\\\\"}\\"\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"post\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "oeejxze0nahtwzxptixn0", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\")\n\nhttp = net http new(url host, url port);\nrequest = net http post new(url)\nrequest\[\\"evsetoken\\"] = \\"string\\"\nrequest body = \\"{\\\\\\"current\\\\\\" \\\\\\"integer\\\\\\",\\\\\\"duration\\\\\\" \\\\\\"integer\\\\\\"}\\"\n\nresponse = http request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "hk7x dt4jhe 955aunavq" }, "results" { "languages" \[ { "id" "dez6 ipai8apy9ztlhpzi", "language" "201", "customlabel" "", "code" "{\n \\"state\\" \\"received\\",\n \\"current\\" 10,\n \\"duration\\" 3600\n}" } ], "selectedlanguageid" "dez6 ipai8apy9ztlhpzi" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "evsetoken", "kind" "required", "type" "string", "description" "evse authentication token for the specific charging station ", "children" \[] } ], "bodydataparameters" \[ { "name" "current", "kind" "required", "type" "integer", "description" "current target in ampere " }, { "name" "duration", "kind" "required", "type" "integer", "description" "duration in seconds", "children" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "name" "reset current target value", "method" "delete", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/currentsettings", "description" "this method allows to reset the current settings value the previous settings\nare returned ", "tab" "examples", "examples" { "languages" \[ { "id" "q4elpnsoacsrqtbvxuzz7", "language" "curl", "code" "curl location globoff request delete '/edgedevices/{edge device id}/evses/{uuid}/currentsettings' \\\\\n header 'evsetoken string'", "customlabel" "" }, { "id" "x06owwwgv8dpzbxrwlgsy", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'delete',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/currentsettings',\n 'headers' {\n 'evsetoken' 'string'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "customlabel" "" }, { "id" "yxdgr8 v5y7kfpcrt 02u", "language" "javascript", "code" "var myheaders = new headers();\nmyheaders append(\\"evsetoken\\", \\"string\\");\n\nvar requestoptions = {\n method 'delete',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "6g9wkyeo3 mckxv6doh u", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\"\n\npayload = {}\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"delete\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "xdgbdb6kek4oinaazlmuw", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/currentsettings\\")\n\nhttp = net http new(url host, url port);\nrequest = net http delete new(url)\nrequest\[\\"evsetoken\\"] = \\"string\\"\n\nresponse = http request(request)\nputs response read body\n", "customlabel" "" } ], "selectedlanguageid" "q4elpnsoacsrqtbvxuzz7" }, "results" { "languages" \[ { "id" "0ohbb8vd6dlcvcgicfsmq", "language" "200", "customlabel" "", "code" "{\n \\"current\\" 10 | null,\n \\"valid until\\" \\"2024 05 30t09 14 47 244362+00 00\\" | null\n}" } ], "selectedlanguageid" "0ohbb8vd6dlcvcgicfsmq" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "evsetoken", "kind" "required", "type" "string", "description" "evse authentication token for the specific charging station ", "children" \[] } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }