Direct EVSE Control API Docs
Priority Settings
{ "name" "get priority settings", "method" "get", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/prioritysettings", "description" "this method allows to retrieve the currently valid priority settings with a\ntimestamp until which the settings are valid if there are no currently valid settings, the response values are null ", "tab" "examples", "examples" { "languages" \[ { "id" "mr1yxquq2fuqz58ei6qbp", "language" "curl", "code" "curl location globoff '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings' \\\\\n header 'evsetoken string'", "customlabel" "" }, { "id" "59may7neveowckf8nng2d", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings',\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" "qfkg d cibzgryclyw8xb", "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}/prioritysettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "sanhmm0tbgu0hjswdc60n", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\"\n\npayload = {}\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "qdiyayiunu5yrdmsfdbe9", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\")\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" "mr1yxquq2fuqz58ei6qbp" }, "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 priority settings", "method" "post", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/prioritysettings", "description" "this endpoint allows to use a specified amount of power for a charging station\nwith a higher priority for a certain duration (in seconds) \nfor example, in case of a pv system with a surplus, the charging station\ncould be controlled to use this surplus with a higher priority ", "tab" "examples", "examples" { "languages" \[ { "id" "qm1rrivxijj8iatt6xlkt", "language" "curl", "code" "curl location globoff '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings' \\\\\n header 'evsetoken string' \\\\\n data '{\\"current\\" \\"integer\\",\\"duration\\" \\"integer\\"}'", "customlabel" "" }, { "id" "ry5b3gpyjj ukqu xdwlp", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'post',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings',\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" "pficfok4igsev1tf25xtm", "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}/prioritysettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "llizdzija2sx inu eoan", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\"\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" "ffztsys wi5ajxncnvhah", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\")\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" "qm1rrivxijj8iatt6xlkt" }, "results" { "languages" \[ { "id" "dez6 ipai8apy9ztlhpzi", "language" "201", "customlabel" "", "code" "{\n \\"state\\" \\"received\\",\n \\"current\\" 10,\n \\"duration\\" 60\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 priority settings", "method" "delete", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/prioritysettings", "description" "this method allows to reset the priority settings the previous settings\nare returned ", "tab" "examples", "examples" { "languages" \[ { "id" "fxbsgpjyojqzyhlqzh95s", "language" "curl", "code" "curl location globoff request delete '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings' \\\\\n header 'evsetoken string'", "customlabel" "" }, { "id" " dk14as ocmkcyh48c vz", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'delete',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/prioritysettings',\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" "iglk4dfwr2wx5bifs6caz", "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}/prioritysettings\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "z7mhs1lgr0ber5441z6gx", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\"\n\npayload = {}\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"delete\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "fciguqbgv84owjt5fyrly", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/prioritysettings\\")\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" "fxbsgpjyojqzyhlqzh95s" }, "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" } }