Comments (20)
@knolleary Can we hope for a google-cal credentials re-auth fix in the near future?
from node-red-web-nodes.
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?
from node-red-web-nodes.
@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
from node-red-web-nodes.
The syntax of the quick add text field supports "what", "when", "where" and "who". So you could set msg.payload = "coffee at 8am in hursley with [email protected]"
and it should work as you'd expect. It doesn't send invitations by default but the api does support this.
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 msg.sendNotifications
option to match the sendNotications query parameter on the api and if the msg.payload
is an object use that to populate the body of an insert request.
from node-red-web-nodes.
I'm happy with the initial implementation in #18. Items that I still intend to work on are:
- Support rich insert requests
- Support sendNotification - via. msg and node properties
- Provide UI feature to re-authenticate if crediential refreshing fails
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.
from node-red-web-nodes.
@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.
from node-red-web-nodes.
Would it be possible to modify the node so that we also get the current event ?
The way I would see it, it could have 2 outputs.
The first output would send the current event and the second one the next event. Seems like it would be quite useful...
from node-red-web-nodes.
@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.
from node-red-web-nodes.
I agree.
I just updated to the latest version and noticed there is now an input node for Google calendar, that's actually exactly what I was looking for. I wasn't able to make it work yet though, is it working or still a work in progress ?
from node-red-web-nodes.
All of the nodes in this repo should be working - any questions on this node, @hindessm may be able to help.
from node-red-web-nodes.
@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
Thanks!
from node-red-web-nodes.
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!
from node-red-web-nodes.
We would be very happy if anyone volunteered to help look after this/these nodes. PR would be kindly looked upon.
from node-red-web-nodes.
Can someone please provide an example flow that i can use to enter some strings in to google calendar?
from node-red-web-nodes.
The following is the payload that enters the Google Calendar Out Node
msg.payload = { description: "Great picnic with friends", location: "hyde Park, London",
start: {
dateTime: startDateTime
},
end: {
dateTime: endDateTime
},
attendees: [{email: "[email protected]", displayName: "Jane Doe"},{email: "[email protected]", displayName: "John Smith"}],
summary: "Welcome 2018 Picninc"
};
startDateTime and endDateTime are in ISO Format (you can set a Date object and then use the "toISOString" method)
I hope this helps
from node-red-web-nodes.
Hey
Basically I'm creating events on a calendar using the Google Calendar Out node.
The payload that goes on to that node is something like this:
msg.payload = { description: "Great picnic with friends", location: "hyde Park, London", start: { dateTime: startDateTime }, end: { dateTime: endDateTime }, attendees: [{email: "[email protected]", displayName: "Jane Doe"},{email: "[email protected]", displayName: "John Smith"}], summary: "Welcome 2018 Picninc" };
startDateTime and endDateTime are in ISO Format.
Now, I want the attendees to be notified, and therefore along with this msg.payload I make msg.sendNotifications = true;
but it has no effect. I tried with false as well as and it is pretty much the same.
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.
Am I doing something wrong? Is is a known bug? Is there a workaround?
Cheers
from node-red-web-nodes.
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
from node-red-web-nodes.
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.
from node-red-web-nodes.
Ok. I'll give it a try.
Thanks!
from node-red-web-nodes.
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?
from node-red-web-nodes.
Related Issues (20)
- openweathermap node option for imperial units?
- Calendar - all day events are not triggered by calendar in
- Openweathermap fails to install HOT 1
- openweathermap catchable errors HOT 2
- Openweathermap Dewpoint? HOT 2
- Auth times out every few days. HOT 1
- S3 on node-red-node-aws will not upload if account cannot access root directory of bucket HOT 2
- Calendar events with links (Google Meet) HOT 1
- Take input as msg parameter
- Google Calendar HOT 2
- Google contacts HOT 1
- node-red-node-google - Conference data HOT 1
- Dropbox refresh token HOT 19
- OpenWeatherMap Incomplete Pressure Data? HOT 1
- Darksky no longer supported HOT 1
- OpenWeather - 5 day data missing, current day data ok HOT 2
- Migration from One Call 2.5 to One Call 3.0 HOT 7
- node-red-node-openweathermap update to 1.0.0 -> error HOT 16
- Wrong structure output somoetimes.
- mention Onecall 3.0 option in the documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-web-nodes.