Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chanlists opened this issue Apr 20, 2023 · 6 comments
Open

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

chanlists opened this issue Apr 20, 2023 · 6 comments

Comments

@chanlists
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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
Copy link
Author

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
Copy link
Author

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

@jbubik
Copy link

jbubik commented Dec 16, 2024

@chanlists Found your issue still open in 2024. I have created a javascript that may be generic enough to suite your needs. Please have a look at https://github.com/jbubik/automation4ical/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants