Multi-device Scheduling #876
Replies: 4 comments 5 replies
-
Thanks!
|
Beta Was this translation helpful? Give feedback.
-
Originally posted by @nhoening in #531 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
-
Proposal to make this into a project - with sub-issues as follows:
Retrieving the schedules can actually still happen per sensor, so for a POC we do not need to adapt that yet. Feel free to criticize / extend |
Beta Was this translation helpful? Give feedback.
-
Work has started in #1065 |
Beta Was this translation helpful? Give feedback.
-
In order to expose the full potential of the
device_scheduler
, @Flix6x and I had a session to discuss how to describe the scheduling message for multiple devices.To exemplify how it would look, let us present the outcome of the discussion:
URI:
sensors/0/schedules/trigger
Body
General notes:
flex-model
andflex-context
as the unique keys). This will facilitate backwards compatibility.topology
. This field describes a tree of devices which helps us to introduce intermediate power constraints and different price sensors for each of the groups.inflexible-device-sensors
field.How expressive is this schema?
Some constraints that we can define:
Some constraints that we can't establish:
This schema also aligns very well with the
DataGenerator
description.Follow-up tasks
(feel free to add to this list)
MultiDeviceScheduler
) or reuse theStorageScheduler
.MultiDeviceScheduler
will allow to schedule a single storage device so it will cover the existing scope of theStorageScheduler
. On the other side, we are relying on the type to trigger the fallback mechanism. Moreover, the new scheduler might come with bugs and we might want to battle test it for a while (e.g. with internal projects) and phase out theStorageScheduler
.MultiDeviceScheduler
implement:MultiDeviceScheduler
will return a list of output BeliefDataFrames and the existing infra should support saving the resulting beliefs. This goes inline with what theDataGenerator
does.What do you think @Flix6x and @nhoening?
Beta Was this translation helpful? Give feedback.
All reactions