Refresh iCalendar at a fixed time instead of interval

Hi all,

is there a way to refresh iCal things at a given time rather than using an interval? For example, I would prefer that a calendar refreshes every time at midnight.

I am using iCal to keep track of waste pickup intervals, and thus looking for the next pickup date. As soon however as the next pickup is today, the next pickup date of course changes to the following one and the system is unable to display that the next pickup is today.

I could fix that by having two items, i.e. looking at current item and next item, but it would be much more convenient to just update the calendar every time at midnight than duplicating items.

Cheers,
Florian

This all depends on what the iCal binding supports. But if you can turn off the regular refresh there is a special command you can send to an Item called REFRESH. The binding should, upon receipt of that command, go out and poll the end device/API for the latest information.

But that will only work for you if you can somehow turn off the regular polling and the docs seem to indicate it doesn’t (the polling field is marked mandatory). Opening an issue to add a feature like this would be a good first step.

But until then you’ll need multiple Items and/or rules to handle this.