Which schedule is used

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
rudolph.io
Posts: 3
Joined: 27 Jul 2018, 20:04

Which schedule is used

Post by rudolph.io » 13 Aug 2018, 22:42

When receiving data from https://api.netatmo.com/api/homesdata, I may get multiple schedules in one home object, but it seems to be impossible to determine which particular schedule a home/module/device/room is using.

Will it always be the first schedule? If not: How do I identify the current active schedule for a unit and on which object are these schedules assigned?
Would it be possible to assign different schedules on each room?

Thanks in advance

Michael

racarter
Posts: 4
Joined: 05 Aug 2017, 22:50

Re: Which schedule is used

Post by racarter » 28 Jan 2019, 14:50

Hi

Did you ever get an answer to this question?

Céline
Posts: 37
Joined: 20 Nov 2017, 18:17

Re: Which schedule is used

Post by Céline » 31 Jan 2019, 13:14

Hi,

You need to check if selected = true in the schedule object

▼schedules:

away_temp: 12
default: true
hg_temp: 7
►timetable:[...]
►zones:[...]
id: "5a327cbdb05a2133678b5d3f"
selected: true
type: "therm"

Céline
Céline - Netatmo Team :D

Post Reply

Return to “Netatmo API”