Using Google Calendar integration to work out holidays

361 views
Skip to first unread message

Ben Jones

unread,
May 28, 2013, 9:46:07 PM5/28/13
to ope...@googlegroups.com
Hey guys,

I have found an online iCal which contains all public holidays for New Zealand (where I am). I think there is something similar for most countries. 

I was hoping I could use the Google Calendar integration in openHAB to automatically download these 'holiday events' and use them in my rules. For example I have a rule configured to send a WOL to my work development PC each weekday morning so that when I get to the office it is all ready for action. However I don't want this to happen for public holidays.

Ideally I could then also upload my personal holiday dates to my calendar and use the same logic.

However looking at the code for openHABs Google Calendar integration it looks like it is only using it for scheduling events and 'presence simulation'.

I just wanted to confirm I had understood this correctly. And wonder if anyone is looking at enhancing the calendar integration to support this sort of 'holiday event'?

I can see a great many uses for openHAB knowing when specific dates are public/bank holidays, personal holidays etc.

Cheers,
Ben

honkt...@gmail.com

unread,
May 29, 2013, 6:27:15 AM5/29/13
to ope...@googlegroups.com
Just 2cents on the gCal integration:
  • I created a google account for my house and use its calendar for events and such.
  • It would be great to use sub-calendars as 'tags' and filter events based on those. E.g. sub-cal 'trash' with each and every collection date. Easy to create a rule notifying each event. Other sub-cal for presence simulation etc.
  • Adding Ben's proposal would be really simple as it's just another 'foreign' calendar
What do you guys think about this?

Regards
Sascha

Ben Jones

unread,
May 29, 2013, 4:31:12 PM5/29/13
to ope...@googlegroups.com, honkt...@gmail.com
Hey Sascha,

Yep that is exactly what I was thinking. Using calendar events to drive notifications and be able to query them when executing rules.

I think it is very achievable, but I don't think the existing GCal integration in openHAB gives us what we want.

Thomas/Kai - can you confirm we are not missing anything here?

Cheers,
Ben

Kai Kreuzer

unread,
Jul 7, 2013, 4:12:22 PM7/7/13
to ope...@googlegroups.com, honkt...@gmail.com
This sounds like an interesting idea indeed.
As Thomas is our GCal expert (implementor and user!), I let him follow up on this :-)

Regards,
Kai

dong...@gmail.com

unread,
Jul 24, 2013, 5:32:54 AM7/24/13
to ope...@googlegroups.com
An TTS integration would be also really nice.
Just imagine that you enter early in the morning the bathroom and a friendly voice informs you about all your planned meetings for today :-)
Message has been deleted

jos.sc...@phasechange.com.au

unread,
May 23, 2014, 4:01:09 AM5/23/14
to ope...@googlegroups.com, dong...@gmail.com
Hi Dong,

A gcal event can run a script which can executes a "say" command:
https://groups.google.com/forum/#!searchin/openhab/gcal/openhab/lY-WX5JTkVI/Qc2A8m-E3oMJ

Regards
Jos

Reply all
Reply to author
Forward
0 new messages