Direct EVSE Control API Docs
Status Information of Charging Station
{ "name" "status information of charging station", "method" "get", "url" "https //cloud clemap com 3032/edgedevices/{edge device id}/evses/{uuid}/status", "description" "allows to retrieve current status information of a charging station \nthe response consists of an array of objects for each plug of the charging station, as some charging stations have multiple plugs it contains the plug uuid and plug label identifying the plug and the evse uuid, identifying the charging station (same for each plug) the fields current l1, current l2, current l3, and dyn current limit are given in ampere the power field is given in watts ", "tab" "examples", "examples" { "languages" \[ { "id" "rk2cvwzgzyfcgw yfwdes", "language" "curl", "code" "curl location globoff '/edgedevices/{edge device id}/evses/{uuid}/status' \\\\\n header 'evsetoken string'", "customlabel" "" }, { "id" "wigfvokbtfa9iv287enxm", "language" "nodejs", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' '/edgedevices/{edge device id}/evses/{uuid}/status',\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" "ji7fk 8h2a4dlx0uuuyjz", "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}/status\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "customlabel" "" }, { "id" "jazcs c3fahlzhlag8rcx", "language" "python", "code" "import requests\n\nurl = \\"/edgedevices/{edge device id}/evses/{uuid}/status\\"\n\npayload = {}\nheaders = {\n 'evsetoken' 'string'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "customlabel" "" }, { "id" "hh58atyhmpbjvmgziplo ", "language" "ruby", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"/edgedevices/{edge device id}/evses/{uuid}/status\\")\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" "rk2cvwzgzyfcgw yfwdes" }, "results" { "languages" \[ { "id" "rowp0wadauqajbqua3qeg", "language" "200", "customlabel" "", "code" "\[\n {\n \\"time\\" \\"2024 03 25t11 12 17 851z\\",\n \\"plug uuid\\" \\"6bbf9fd56dc24f9697b078d5d8ccda84\\",\n \\"plug label\\" \\"plug 1\\",\n \\"evse uuid\\" \\"25104c56d7f848af830af4300193efb3\\",\n \\"status\\" \\"idle\\",\n \\"current l1\\" 0,\n \\"current l2\\" 0,\n \\"current l3\\" 0,\n \\"power\\" 0,\n \\"dyn current limit\\" 6,\n },\n {\n \\"time\\" \\"2024 03 25t11 12 17 851z\\",\n \\"plug uuid\\" \\"c99838f9eb5b423d98f8ba33389a255c\\",\n \\"plug label\\" \\"plug 2\\",\n \\"evse uuid\\" \\"25104c56d7f848af830af4300193efb3\\",\n \\"status\\" \\"charging\\",\n \\"current l1\\" 10 3,\n \\"current l2\\" 10 3,\n \\"current l3\\" 10 3,\n \\"power\\" 7107 0,\n \\"dyn current limit\\" 12,\n }\n]" } ], "selectedlanguageid" "rowp0wadauqajbqua3qeg" }, "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" } } possible status values status description charging charging station is charging a vehicle recently started charging charging station has recently started a charging session idle charging station is idle and waiting for a command connected vehicle is connected but not charging discharging resource is discharging and supplying power to the grid error charging station is in an error state, control is not possible offline charging station cannot be reached cloud offline clemap device cannot reach clemap cloud init during initialization stopped charging station is stopped starting charging station is starting producing for pv systems only, irrelevant for ev charging stations unknown unknown status