We need to heat up an event room to reach Comfort temperature at the start of the event.
Events are booked by the customer and registered in a Google Calendar.
It can require up to 2 hours off pre-heaing, depending on the start temperature and the outside temperature.
Ideally, the schedule from the Google Calendar should be copied into an IRC schedule so Loxone handles the pre-heating from Economy to Comfort temperature automatically.
A Google Script can send the event info to Loxone, but how can we modify the IRC schedule?
Another approach would be to trigger Loxone 2 hours before the event, and add some logic in Loxone to calculate and start the pre-heating at the right time.
A Google script can get triggered at the start time of an event, but not x time before the start time.
IFTTT can send an http request max. 45 minutes before the start, which is not enough.
A possible solution is to let a Google Script create additional "pre-heating" events in the Google Calendar upon the booking of events, and make those trigger Loxone.
How can we edti the IRC schedule, or what would be the best approach to get this automated?