Page 8 of 19

Re: Toon app: Kalender

Posted: Mon Dec 31, 2018 1:56 pm
by Toonz
Templar wrote:
Toonz wrote: ..................at least I know now why the dates in your own file are not showing up, it is because you use just <LF> as line separator where the app is expecting <CR><LF>..............
Wow, how did you came to that conclusion?
FYI: I use a Windows 10 OS with the programs WinSCP to edit userSettings.json and Notepad++ to edit the ICS files.

EDIT:
Checked the Notepad++ settings, it already used the Windows format (CR LF) for the ICS files correctly. Changing to UNIX format (LF) makes the ICS file not shown into the Kalender App.

I also use UTF-8 without BOM as character encoding.
Hi Templar,

I found a bug related to the missing end dates.
Can you manually install the ipk in the attached zipfile and check if this fixes the issue with your own calendar?
Still assuming the calendar file has <CR><LF> as line separators ;-).
If ok, I will publish this one in ToonStore as well.

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Mon Dec 31, 2018 3:55 pm
by Templar
Toonz wrote: Hi Templar,

I found a bug related to the missing end dates.
Can you manually install the ipk in the attached zipfile and check if this fixes the issue with your own calendar?
Still assuming the calendar file has <CR><LF> as line separators ;-).
If ok, I will publish this one in ToonStore as well.

Kind regardz,

Toonz
Alas, it didn't work out.
If I remove a DTEND in a VEVENT it removes the event (or SUMMARY?) and places the next event (or SUMMARY) listed in the ICS file at it's date...
If it is the last event in the ICS file it lists the first event of the file in its place...

Re: Toon app: Kalender

Posted: Mon Dec 31, 2018 4:07 pm
by Toonz
Hi, I cannot reproduce this.
If you email me your specific ics file (of course you can anonymize all summary lines if you prefer) I can check what's going on....

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Mon Dec 31, 2018 5:01 pm
by Templar
Toonz wrote:Hi, I cannot reproduce this.
If you email me your specific ics file (of course you can anonymize all summary lines if you prefer) I can check what's going on....

Kind regardz,

Toonz
Mailed you via this forum (no file).

Re: Toon app: Kalender

Posted: Wed Jan 02, 2019 12:37 am
by Rudi
I am trying to install calendar on my newly rooted Toon.

opkg install calendar_1.1.2-r0_qb2.ipk gives me the follwing error:

Installing calendar (1.1.2-r0) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for calendar:
* tsc-certificates (>= 1.0.2) *
* opkg_install_cmd: Cannot install package calendar.

can someone help me to resolve this?

Re: Toon app: Kalender

Posted: Wed Jan 02, 2019 10:04 am
by TerrorSource
Rudi wrote:I am trying to install calendar on my newly rooted Toon.

opkg install calendar_1.1.2-r0_qb2.ipk gives me the follwing error:

Installing calendar (1.1.2-r0) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for calendar:
* tsc-certificates (>= 1.0.2) *
* opkg_install_cmd: Cannot install package calendar.

can someone help me to resolve this?
Guess that you tried to install the package manually and not via de ToonStore?

The tsc-certificates ipk is found here:
http://files.domoticaforum.eu/index.php ... ates-1.0.2

Re: Toon app: Kalender

Posted: Thu Jan 03, 2019 1:24 am
by Bassie
Nice addition for the Toon! Thanks!
Works OK, added our kids schoolcalendars.

Re: Toon app: Kalender

Posted: Tue Jan 08, 2019 10:26 pm
by edwin999
After having added my google calender ics to userSettings.json I am seeing past entries in the Toon app, i.e. following entry is shown in Toon for 09-01:

BEGIN:VEVENT
DTSTART;VALUE=DATE:20110110
DTEND;VALUE=DATE:20110111
RRULE:FREQ=WEEKLY;UNTIL=20110124;BYDAY=MO,WE
DTSTAMP:20190108T200648Z
UID:.....................................@google.com
CREATED:20101227T125608Z
DESCRIPTION:
LAST-MODIFIED:20110115T042057Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:cursus java
TRANSP:TRANSPARENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P6DT15H0M0S
END:VALARM
END:VEVENT

Do you have any idea why this happens?

Re: Toon app: Kalender

Posted: Tue Jan 08, 2019 11:09 pm
by Toonz
I did some debugging and found out it is because the UNTIL tag doesn't contain minutes and seconds.
I assumed these to be there by default because they were generated as such in my google calendar.

I will change this in the next release, probably next week.
By doing this I also noticed I can significantly speedup processing of these old entries which are already expired.
(you have 7 year old expired entries still in your calender ;-) ? ).

Stay tuned....

Kind regards,

Toonz

Re: Toon app: Kalender

Posted: Tue Jan 08, 2019 11:33 pm
by edwin999
Many thanks for looking into this :)
I indeed have some very old entries in calendar.google.com: up until 2009...

Re: Toon app: Kalender

Posted: Thu Jan 10, 2019 9:21 pm
by Toonz
Hi all,

Version 1.1.3 is available in ToonStore.
Changelog:
- supporting Microsoft Office365 Outlook ics files
- processing UNTIL entries without timestamp correctly
- significantly increased performance of handling expired recurring items

Kind regardz,

Toonz

Re: Toon app: Kalender

Posted: Fri Jan 11, 2019 10:43 am
by mAiden
Will test Office365 tonight.
Will be nice as this work, I can add my work calendar to Toon then.

Re: Toon app: Kalender

Posted: Sat Jan 12, 2019 8:56 pm
by Rudolf
Added birthdays and important dates and appointments to Google Calendar and added them to my Toon with ease, very nice!

Now I wish mijnafvalwijzer could export an ical.... That would combine the two on a single tile.

Thanks for the great app.

Re: Toon app: Kalender

Posted: Sat Jan 12, 2019 9:30 pm
by Toonz
Rudolf wrote:Now I wish mijnafvalwijzer could export an ical.... That would combine the two on a single tile.
I could build an ics file in the waste collection app for use in the calendar app, that would work probably.
Although personally I prefer the big waste icons in the thermostat panel, which give you notice from a distance.

Re: Toon app: Kalender

Posted: Sun Jan 13, 2019 9:35 pm
by Toonz
Toonz wrote:
Rudolf wrote:Now I wish mijnafvalwijzer could export an ical.... That would combine the two on a single tile.
I could build an ics file in the waste collection app for use in the calendar app, that would work probably.
Although personally I prefer the big waste icons in the thermostat panel, which give you notice from a distance.
Done creating the ICS file, was less then 20 lines of code.....will be in version 4.11 of the waste collection app.
(working for all waste collectors by the way)