-
Notifications
You must be signed in to change notification settings - Fork 157
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
Google Calendar Node #16
Comments
@hindessm In the output node, will there also be an option to specify time of event etc? And am I right in assuming the initial pass would add an event to my calendar but not handle invitations to others? Just trying to understand initial scope |
The syntax of the quick add text field supports "what", "when", "where" and "who". So you could set In general, with the first pass at a node, we've tended to limit the scope to a minimum useful behaviour while, at the same time, giving some thought to extending functionality in future. In this case, my intention is to add a |
I'm happy with the initial implementation in #18. Items that I still intend to work on are:
I'm still not sure how to handle the issue of extending the scope when other nodes - such as tasks, drive, etc. - are added using the same credentials but I'll worry about that when I/we come to write another Google node. It turns out the quick add syntax doesn't support "with" so inviting other people will require the full insert functionality. |
@knolleary, @hbeeken I've updated the description of the query node. I'm struggling to decide what should be in the payload. I'm also not sure what to do with the string location (but I wrote an intial guess.) Comments/thoughts welcome. |
Would it be possible to modify the node so that we also get the current event ? |
@natcl it is worth pointing out, all of these web nodes are minimal implementations to get some basic functionality in place. There are lots of different queries that could be included - the challenge is working out how best to expose them to the user. Having multiple outputs for different events doesn't scale well... what if you want the next 5 events.. is that 5 outputs? It would be better offered as an option to emit the next n events from the single output, where n starts either with the current or next event. |
I agree. |
All of the nodes in this repo should be working - any questions on this node, @hindessm may be able to help. |
@knolleary Hi Nick, any update on multiple event queries? We use a Google Calendar-based scheduler and I'd like to be able to get everything for the upcoming day for a display in our office... And/or the current event as it's happening, so I can show that with extra emphasis too - so both features would be fantastic if possible |
Hi @hindessm ! Any news on credentials re-authentication? Also wanted to mention that on every NR restart the Google calendar nodes complain that the google credentials are missing, even if the nodes are connecting fine... Thanks! |
@knolleary Can we hope for a google-cal credentials re-auth fix in the near future? |
We would be very happy if anyone volunteered to help look after this/these nodes. PR would be kindly looked upon. |
Can someone please provide an example flow that i can use to enter some strings in to google calendar? |
The following is the payload that enters the Google Calendar Out Node
startDateTime and endDateTime are in ISO Format (you can set a Date object and then use the "toISOString" method) I hope this helps |
Hey Basically I'm creating events on a calendar using the Google Calendar Out node.
startDateTime and endDateTime are in ISO Format. Now, I want the attendees to be notified, and therefore along with this msg.payload I make I tried this out here: https://developers.google.com/google-apps/calendar/v3/reference/events/insert with the sendNotifications sent to true and it worked. Everything else works well. Cheers |
Hello Can you guys check the post just before this one? It's mine and about the msg.sendNotifications flag to the Google Calendar Out. I just updated the node-red-node-google package and still can't send notifications for the attendees. Cheers |
you may want to ask on the mailing list or slack channel as there are more users out there who may be able to help. |
Ok. I'll give it a try. Thanks! |
Is there any way to retrieve more than one event with Calendar Query? For instance if I would like to display my complete schedule for a full day or a week? |
The redirect uri in the Google credentials node is documented as "http://node-red.example.com:1880/google-credentials/auth/callback". Does this need to be changed to https? I got an email from Google saying that the project will be removed if the uri is not compliant. I changed the uri on my Google developer site to https://. However, the authentication fails with "Error 400: redirect_uri_mismatch - The redirect URI in the request, http://node-red.example.com:1880/google-credentials/auth/callback, does not match the ones authorized for the OAuth client. ". Any chance that will be fixed or is there a workaround? |
Input Nodes
Query Nodes
calendar
- calendar to lookup events incalendar
- calendar to lookup events inpayload
- text search used to select relevant events (optional)title
- the summary string from the calendar entrydescription
- the description from the calendar entrylocation.description
- the location string from the calendar entrydata
- the raw event from the google calendar querypayload
object containing:title
- the summary string from the calendar entrydescription
- the description from the calendar entrylocation.description
- the location string from the calendar entrystart
- Javascript Date of start time - midnight for all day eventend
- Javascript Date of end time - midnight for all day eventallDayEvent
- true if event is an all day eventcreator
- object containingname
andemail
propertiesattendees
- list of objects containingname
andemail
propertiesOutput Nodes
calendar
- calender to add events tocalendar
- calendar to add events topayload
- string describing the event in quick add formatCalendars
The
calendar
option should be able to specified as the id string of the calendar, name of the calendar, or the stringprimary
to use the users primary calendar. The default will beprimary
.The text was updated successfully, but these errors were encountered: