node-red / node-red-web-nodes

A collection of node-red nodes aimed at web services
Apache License 2.0
226 stars 157 forks source link

Calender In Node triggers old Events or not at all #231

Open simone1999 opened 6 years ago

simone1999 commented 6 years ago

Hello, i have big Problems getting the Calender in Node to be reliable, Sometimes the Node Triggers on Events which are now set to a nother time or on deleted events. Also newly added Nodes aren't triggered at all.

Am i right with my assumption that the Node looks for the next event when the flow is deployed and then only after triggering the saved Event it looks what the next Event is?

Because if i use the node for example as an alarm clock for getting up in the Morning and for nothing else, i can edit the Alarm in two days and everything works fine, but when i edit the Alarm/Event for the next day the Google In node doesn't seem to care at all.

If my assumption is right, is there maybe an event driven connection to the google Callender, which alerts the Node when something changes? or otherwise at least as a hotfix could you implement a resync timer for the Node, so i can tell it to resync every minute or so with the callender?

Your Callender Nodes are very nice for controlling my Shutters every Morning, turning my lights on for waking up and playing some Music at fixed Times, but if i can't edit the next Event in the callender all these things don't work that well.

Thanks for your mostly great Nodes and have a nice day!

P1Rebo commented 6 years ago

Hi,

first of all I'm very glad about havin this nodes! Using this for my home automation!

Regarding this issue, I've got a similar effect that can be reproducable. When I create short calendar items (45 minutes) within one day I only receive the start event. Not so if I create calendar items that start on one day and end on the other...