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

[FEAT]: Would like to have VALARM parsed #10

Open
mbeynon opened this issue Nov 11, 2022 · 0 comments
Open

[FEAT]: Would like to have VALARM parsed #10

mbeynon opened this issue Nov 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mbeynon
Copy link

mbeynon commented Nov 11, 2022

I'm using this through the node-red integration to help an elderly relative avoid missing doctor appointments that are 30+ min away. They have calendar events for these with a notification for when they need to leave.

My plan was to use the node-red nodes that wraps this library to trigger a Google Home text to speech reminder to leave for the appointment. It all works, but there's nothing in the parsed json for the event to represent the event start time and the notification time (e.g., 30 min before).

Seems like this could be done by having a new flag to ical-trigger node that means "include the earliest notification offset in the trigger countdown". I searched the git repo for "VALARM" and don't see it anywhere, so I suspect it's just skipped by the parser.

A sample of what this looks like for a single 1 minute before notification within a VEVENT block is:

BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H1M0S
END:VALARM

@mbeynon mbeynon added the enhancement New feature or request label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants