Operator — Remote Control
Set charging schedule
Stores a scheduled charging plan on the connector. The charger executes the schedule autonomously, even without continuous platform connectivity.
POST
/
operator
/
devices
/
{device_id}
/
connectors
/
{connector_id}
/
schedule
Set charging schedule
curl --request POST \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "sch_001",
"enabled": true,
"type": "weekly",
"time_slots": [
{
"day_of_week": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "22:00",
"end": "08:00",
"power_limit": 7,
"action": "charge"
}
],
"target_soc": 90,
"effective_from": "2025-03-16T00:00:00Z",
"effective_until": "2025-03-31T23:59:59Z",
"timezone": "Europe/London"
}
'import requests
url = "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule"
payload = {
"schedule_id": "sch_001",
"enabled": True,
"type": "weekly",
"time_slots": [
{
"day_of_week": ["mon", "tue", "wed", "thu", "fri"],
"start": "22:00",
"end": "08:00",
"power_limit": 7,
"action": "charge"
}
],
"target_soc": 90,
"effective_from": "2025-03-16T00:00:00Z",
"effective_until": "2025-03-31T23:59:59Z",
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
schedule_id: 'sch_001',
enabled: true,
type: 'weekly',
time_slots: [
{
day_of_week: ['mon', 'tue', 'wed', 'thu', 'fri'],
start: '22:00',
end: '08:00',
power_limit: 7,
action: 'charge'
}
],
target_soc: 90,
effective_from: '2025-03-16T00:00:00Z',
effective_until: '2025-03-31T23:59:59Z',
timezone: 'Europe/London'
})
};
fetch('https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'schedule_id' => 'sch_001',
'enabled' => true,
'type' => 'weekly',
'time_slots' => [
[
'day_of_week' => [
'mon',
'tue',
'wed',
'thu',
'fri'
],
'start' => '22:00',
'end' => '08:00',
'power_limit' => 7,
'action' => 'charge'
]
],
'target_soc' => 90,
'effective_from' => '2025-03-16T00:00:00Z',
'effective_until' => '2025-03-31T23:59:59Z',
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule"
payload := strings.NewReader("{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
OAuth2 client-credentials grant for operator-side integrations.
Obtain an access token by POSTing client_id and client_secret
to /v1/operator/oauth/token. Tokens are valid for 24 hours
(86,400 seconds).
Body
application/json
Available options:
once, daily, weekly Show child attributes
Show child attributes
Required range:
0 <= x <= 100IANA timezone (e.g., Europe/London, Asia/Shanghai).
Response
200
Schedule stored.
⌘I
Set charging schedule
curl --request POST \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "sch_001",
"enabled": true,
"type": "weekly",
"time_slots": [
{
"day_of_week": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"start": "22:00",
"end": "08:00",
"power_limit": 7,
"action": "charge"
}
],
"target_soc": 90,
"effective_from": "2025-03-16T00:00:00Z",
"effective_until": "2025-03-31T23:59:59Z",
"timezone": "Europe/London"
}
'import requests
url = "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule"
payload = {
"schedule_id": "sch_001",
"enabled": True,
"type": "weekly",
"time_slots": [
{
"day_of_week": ["mon", "tue", "wed", "thu", "fri"],
"start": "22:00",
"end": "08:00",
"power_limit": 7,
"action": "charge"
}
],
"target_soc": 90,
"effective_from": "2025-03-16T00:00:00Z",
"effective_until": "2025-03-31T23:59:59Z",
"timezone": "Europe/London"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
schedule_id: 'sch_001',
enabled: true,
type: 'weekly',
time_slots: [
{
day_of_week: ['mon', 'tue', 'wed', 'thu', 'fri'],
start: '22:00',
end: '08:00',
power_limit: 7,
action: 'charge'
}
],
target_soc: 90,
effective_from: '2025-03-16T00:00:00Z',
effective_until: '2025-03-31T23:59:59Z',
timezone: 'Europe/London'
})
};
fetch('https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'schedule_id' => 'sch_001',
'enabled' => true,
'type' => 'weekly',
'time_slots' => [
[
'day_of_week' => [
'mon',
'tue',
'wed',
'thu',
'fri'
],
'start' => '22:00',
'end' => '08:00',
'power_limit' => 7,
'action' => 'charge'
]
],
'target_soc' => 90,
'effective_from' => '2025-03-16T00:00:00Z',
'effective_until' => '2025-03-31T23:59:59Z',
'timezone' => 'Europe/London'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule"
payload := strings.NewReader("{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"schedule_id\": \"sch_001\",\n \"enabled\": true,\n \"type\": \"weekly\",\n \"time_slots\": [\n {\n \"day_of_week\": [\n \"mon\",\n \"tue\",\n \"wed\",\n \"thu\",\n \"fri\"\n ],\n \"start\": \"22:00\",\n \"end\": \"08:00\",\n \"power_limit\": 7,\n \"action\": \"charge\"\n }\n ],\n \"target_soc\": 90,\n \"effective_from\": \"2025-03-16T00:00:00Z\",\n \"effective_until\": \"2025-03-31T23:59:59Z\",\n \"timezone\": \"Europe/London\"\n}"
response = http.request(request)
puts response.read_body