cURL
curl --request GET \ --url https://api.energy-hub.io/v1.0.0/users/{userId}/hvacs/{hvacId}/schedules \ --header 'X-API-KEY: <api-key>'
{ "schedules": [ { "mode": "HEAT", "start": { "time": "00:00", "day": "MONDAY" }, "temperature": 21.1, "end": { "time": "00:00", "day": "MONDAY" } } ], "timeZone": "Europe/Berlin" }
Returns all schedules by user and HVAC.
API key used for authorization and authentication.
User ID
Hvac ID
Successful operation
Response object of the schedules for each day of the week.
The list of schedule events.
Show child attributes
The scheduled mode.
HEAT
COOL
DRY
AUTO
REDUCED
OFF
"HEAT"
Object containing weekday and time of day.
The time of day.
"00:00"
The day of the week
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
SUNDAY
"MONDAY"
The scheduled temperature measured in °C.
21.1
The timezone of the schedule.
"Europe/Berlin"