iobroker-community-adapters / ioBroker.ical

Read information from google calender and from iCal files into ioBroker.
MIT License
45 stars 32 forks source link

React to all events in calendar, pre-delay? #536

Open chanlists opened 1 year ago

chanlists commented 1 year ago

Our congregation keeps an occupation plan of some of our group rooms in google calendars. During events configured in the calendar, the room should be heated (we have a homematic wall thermostat and radiator thermostats). I would like to increase the temperature while there is ANY event in a given calendar. Ideally, the event variable in iobroker would even be set a configurable time before the event in the google calendar starts, so that a script can start heating up the room ahead of time.

I have a current solution (blockly script), but it requires the event to contain the "Name" configured on the "Events" tab in the ical adapter. And it does not allow the heating of the room to be started prior to the event time configured in the calendar.

Apollon77 commented 1 year ago

I would more propose to add "eventNextTime" as states per event where you could see when the event shouldgo to enabled next time ghiven the currently parsed data ( so still not 1000% accurate). That shoukd also allow what you like, but also allows more generic usecases, or?

chanlists commented 1 year ago

I would more propose to add "eventNextTime" as states per event where you could see when the event shouldgo to enabled next time ghiven the currently parsed data ( so still not 1000% accurate). That shoukd also allow what you like, but also allows more generic usecases, or?

Sure, that should work as well. But it would only solve the pre-delay issue and not give me the ability to react to all events in the calendar, right?

Apollon77 commented 1 year ago

If you can not make sure that you have a keyword in the event, currently now. so in fact we would additionally (second feature request) need a "any appointment" event which is automatically triggereing on anything in the calendar?

chanlists commented 1 year ago

If you can not make sure that you have a keyword in the event, currently now. so in fact we would additionally (second feature request) need a "any appointment" event which is automatically triggereing on anything in the calendar?

That would be perfect!

chanlists commented 1 year ago

Hi Ingo,

to get back to this - I know it is an improvement, not a bug. Would sponsorship help to get this one implemented before the cold season starts? :-) Thanks,

Christian