google calendar
Moderators: marcelr, TheHogNL, Toonz
-
- Starting Member
- Posts: 35
- Joined: Sat Jun 03, 2017 9:13 pm
google calendar
Hi guys,
I had this wild idea: at our house we run a shared google calendar, which basicly has all our appointments in it, so we know what everybody has to do eveny day of the week.
Since we got ourselves a nice machine hanging on the wall, i thought it would be great to show the next upcoming events from a Google calendar on a tile.
I'm not a programmer, so i can't really guess how difficult that would be, but just wanted to drop it here as a nice idea..?
Any enthousiastic developers around?? )
I had this wild idea: at our house we run a shared google calendar, which basicly has all our appointments in it, so we know what everybody has to do eveny day of the week.
Since we got ourselves a nice machine hanging on the wall, i thought it would be great to show the next upcoming events from a Google calendar on a tile.
I'm not a programmer, so i can't really guess how difficult that would be, but just wanted to drop it here as a nice idea..?
Any enthousiastic developers around?? )
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: google calendar
This same idea has already crossed our minds a few times. Cannot be worked out at the moment due to a lack of a fully operational internet browser and dependencies for it.
-
- Starting Member
- Posts: 35
- Joined: Sat Jun 03, 2017 9:13 pm
Re: google calendar
Thats too bad.. and how about a daily (automated) dump of the calendar in ics format, and pick it up from there just like afvalwijzer??
Re: google calendar
Hi,
I quickly looked at this some time ago, the problem is that you will need to login to Google via a browser before you get to the data.
I didn't find a direct link into a calendar 'from the outside', unless you want to make your calendar public (but that is not the way to go)
And Toon currently doesn't have browser functionalty.....
If someone knows how to access a calendar without a browser, please let me know, happy to implement this on Toon
Kind regardz,
Toonz
I quickly looked at this some time ago, the problem is that you will need to login to Google via a browser before you get to the data.
I didn't find a direct link into a calendar 'from the outside', unless you want to make your calendar public (but that is not the way to go)
And Toon currently doesn't have browser functionalty.....
If someone knows how to access a calendar without a browser, please let me know, happy to implement this on Toon
Kind regardz,
Toonz
member of the Toon Software Collective
-
- Starting Member
- Posts: 35
- Joined: Sat Jun 03, 2017 9:13 pm
Re: google calendar
@Toonz:
Could this be a solution?? Seems ther's a service account for GCal...
https://developers.google.com/accounts/ ... iceAccount
Could this be a solution?? Seems ther's a service account for GCal...
https://developers.google.com/accounts/ ... iceAccount
Re: google calendar
potentially yes, but it does require a few Java API's. Absolutely not sure it will work as the Java implementation on Toon is non-standard (some call it crappy).
It will be a significant piece of work: once you have the interface running, you will need to build a rude calendar app in QML as well.
It will be a significant piece of work: once you have the interface running, you will need to build a rude calendar app in QML as well.
member of the Toon Software Collective
Re: google calendar
GCal lists an url that can be used to share the calendar without making it public.
It's in the per calendar settings and accompanied by the following (Dutch) text:
It's in the per calendar settings and accompanied by the following (Dutch) text:
Isn't this the url you're looking for? I get a valid *.ics file after downloading.Gebruik dit adres om deze agenda te openen vanuit andere apps zonder de agenda openbaar te maken.
Waarschuwing: Deel dit adres alleen met mensen die alle afspraakgegevens voor deze agenda mogen zien.
Re: google calendar
Sounds like it....will have a look tomorrow
member of the Toon Software Collective
Re: google calendar
Maybe someone can do something with this?
https://www.domoticz.com/wiki/Dashticz_ ... -_Calendar
https://github.com/Dashticz/dashticz_v2 ... alendar.js
https://www.domoticz.com/wiki/Dashticz_ ... -_Calendar
https://github.com/Dashticz/dashticz_v2 ... alendar.js
Member of the Toon Software Collective
Re: google calendar
Indeed you can find a link to your private calendar in ICS format in the Google Calendar webinterface (no need to logon for ICS retrieval), thanks for the tip Rudolf.
This is relatively easy to read and to display on Toon.
For the app: I guess a simple view of the next upcoming events in your calendar will do for now.
For example a tile with just the first next event (title, starttime and endtime) and a screen behind it with the first xx number of events.
And a configscreen to enter your private url for the ICS file (a bit long and awkward url to enter I'm afraid, blame Google).
Let me know if you have other suggestions.....
Kind regardz,
Toonz
This is relatively easy to read and to display on Toon.
For the app: I guess a simple view of the next upcoming events in your calendar will do for now.
For example a tile with just the first next event (title, starttime and endtime) and a screen behind it with the first xx number of events.
And a configscreen to enter your private url for the ICS file (a bit long and awkward url to enter I'm afraid, blame Google).
Let me know if you have other suggestions.....
Kind regardz,
Toonz
member of the Toon Software Collective
Re: google calendar
I think setting the url via ssh will be my preferred method.
No way I'm typing an url like that on Toon's touch screen.
The tile & screen could look very similar to WasteCollection; multiple events for today on the tile (starttime + title); more events for the full-screen widget (start - end + title).
Good luck with this app; I'll monitor its development closely.
If you open source it somewhere, I'll look into contributing.
No way I'm typing an url like that on Toon's touch screen.
The tile & screen could look very similar to WasteCollection; multiple events for today on the tile (starttime + title); more events for the full-screen widget (start - end + title).
Good luck with this app; I'll monitor its development closely.
If you open source it somewhere, I'll look into contributing.
Re: google calendar
I will create version 1 first and then move all my stuff to GitHub (another learning opportunity )
member of the Toon Software Collective
-
- Starting Member
- Posts: 35
- Joined: Sat Jun 03, 2017 9:13 pm
Re: google calendar
I'll keep an close eye as well!
Re: google calendar
small update: basic code of the app is done (good enough to start testing). Problem is that the ICS file doesn't come through via the xmlhttp request in QT.
Will look into this further later this week(end), could be a certificate issue. Fallback option is to use curl probably.......
Anyway, enough for today....
EDIT: 'wget' works fine with certificate check disabled...(as plan B)
Will look into this further later this week(end), could be a certificate issue. Fallback option is to use curl probably.......
Anyway, enough for today....
EDIT: 'wget' works fine with certificate check disabled...(as plan B)
member of the Toon Software Collective
Re: google calendar
hi all,
small teaser with rubbish test data from my google calendar (via a cron job and wget)..... nothing ready to be released yet, but progressing
In dim state I am thinking of showing the first next/active appointment only.
Also need to redesign the UI on the tile (show dates as mm/dd etc etc etc)
Not sure when ready for a first release, I have a busy weekend coming up.....
Kind regardz,
Toonz
small teaser with rubbish test data from my google calendar (via a cron job and wget)..... nothing ready to be released yet, but progressing
In dim state I am thinking of showing the first next/active appointment only.
Also need to redesign the UI on the tile (show dates as mm/dd etc etc etc)
Not sure when ready for a first release, I have a busy weekend coming up.....
Kind regardz,
Toonz
member of the Toon Software Collective