New API - scheduling
Posted: Wed Feb 21, 2024 11:08 am
Hi
Can anyone shed any light on the new endpoint in the new API at '/op/v0/device/scheduler/enable'?
I'm looking at the documentation here and then also the usage of this in the Code Example:
https://www.foxesscloud.com/public/i18n ... 13e203ca3e
Am I right in assuming that I could create a schedule of activity on a daily basis (in my case this would be force battery charging and switching between SelfUse & Backup modes) - thus making one api call instead of making multiple calls throughout the day?
Also it looks like you can pass in 2 different schedules - one seems to be enabling the other disabling. Is it necessary to follow this format or can everything be combined in one schedule.
Thanks
Chris
Can anyone shed any light on the new endpoint in the new API at '/op/v0/device/scheduler/enable'?
I'm looking at the documentation here and then also the usage of this in the Code Example:
https://www.foxesscloud.com/public/i18n ... 13e203ca3e
Am I right in assuming that I could create a schedule of activity on a daily basis (in my case this would be force battery charging and switching between SelfUse & Backup modes) - thus making one api call instead of making multiple calls throughout the day?
Also it looks like you can pass in 2 different schedules - one seems to be enabling the other disabling. Is it necessary to follow this format or can everything be combined in one schedule.
Thanks
Chris