Calendar - List of today's upcoming events

Hello everyone and especially @bertrandda :slight_smile:

I would like to have a scene triggered at 8:00 PM in the evening in which all of the events coming the next day would be « available », so I can retrieve their time and title. Is this feasible, and how? :stuck_out_tongue:

Thanks,
Jean

Hello,
We should add a block to retrieve events from a time range (a bit like the block we have to retrieve the state of a device) but I think that requires more thought :thinking:. Because once you have the full set of events you need a way to iterate over each event to do what you want with it, and at the UX level I don’t know how we could handle that…

1 Like

it depends on the purpose, if the goal is purely to send a message or a voice announcement, it can just be a list in text form

@jean_bruder what are you asking this for? :slight_smile:

Hello @pierre-gilles :slight_smile:

Indeed, it’s purely for informational purposes: I want Gladys to have the list of upcoming events (and the times, while we’re at it…) so she can announce them the evening before when we’re at the table :stuck_out_tongue:

Thanks,
Jean

Do you want that to be a voice announcement via the scene action « Speak on a speaker »?

No, I don’t use that feature. It will be done by retrieving values and then making calls to an in-house API :+1:

It would be really nice to be able to use the function you mention, if it could handle any audio output :wink:

So it would need to be available in a scene variable, basically? To be able to inject it into another block?

I’d like that too! Unfortunately there isn’t a standard in the audio world; each integration has to be coded ^^

Hello @pierre-gilles :slight_smile:
Yes, the values should be retrieved as scene variables so they can be reused in an API call block.
Regarding audio, if I could help you develop the PulseAudio integration, I would gladly do so, but I don’t know how :frowning: I’m sure it would please all Gladys users on Linux, because it’s the current audio standard (although Mint has introduced PipeWire as the new standard …), as AirPlay is on Mac I believe :slight_smile:
Have a nice day,
Jean

1 Like