Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Re: Toon app: Afvalwijzer

Postby Toonz » Fri Jan 11, 2019 2:28 pm

sure, thanks :-)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby erik73 » Fri Jan 11, 2019 11:09 pm

Hello,

Yesterday I updatet my rooted Toon with the newest ver of afvalkalender, and now I only A blank symbol.
Any idee ?

Kind regards,

Erik
erik73
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby Toonz » Sat Jan 12, 2019 11:23 am

Sometimes you need to click on the tile, click on 'instellingen' en press 'opslaan' to force the retrieval of the data after a restart. Does that help?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby SDeath » Sat Jan 12, 2019 3:05 pm

For me that is the only way to get the data, it doesn't do it automatically.
Is there a reason to not do it on startup automatically?
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Sat Jan 12, 2019 4:07 pm

It is supposed to startup automatically.
Is on my todo list to fix but had other priorities lately.
Once you see the data it is automatically refreshed daily.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby SDeath » Sun Jan 13, 2019 12:22 am

Ok thanks for explaining I was expecting for it to work that way, but it didn't.
Thought it must have been a bug.
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: Afvalwijzer

Postby erik73 » Sun Jan 13, 2019 8:49 am

Nop, Nottingham workshop. Stars blank
Could it be that it has something to do that I have to put a space or 0 (or anything) in the field Straatnr(BE) ? I can't completely empty
erik73
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby Toonz » Sun Jan 13, 2019 12:25 pm

Can you pm me your settings file?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Sun Jan 13, 2019 9:04 pm

Arcidodo wrote:@toonz i edit the your app to add "oud papier" support for Omrin can you add it to the production version?

Code: Select all
//read oudpapier entries

                i = aNode.indexOf("Oud Papier en Karton");
                m = aNode.indexOf("dates", i);

                for (k = 1; k < 13; k++) {

                    monthStr = ("00" + k).slice(-2);
                    i = aNode.indexOf('"' + k + '"', m);
                    n = aNode.indexOf("[", i);
                    m = aNode.indexOf("]", i);
                    var monthDates = aNode.substring(n + 1, m).split(',');  //get array for the month

                    for (l = 0; l < monthDates.length; l++) {
                        omrinAfvalbeheerDates.push(omrinYear + "-" + monthStr + "-" + monthDates[l].replace(/['"]+/g, '') + ",2");    //oudpapier
                    }
                }


will be in 4.11 in the new few days
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Jan 14, 2019 8:41 pm

Hi all,

version 4.11 has been published on ToonStore.
It contains a bugfix for the issue that waste calendars are not read after rebooting the gui (bug was introduced in version 4.9 I believe).
Waste data will be read 20 seconds after initialising the app on a Toon 2 (60 seconds for a Toon 1), to allow the gui to startup completely.

Changelog4.11
- added 'oud papier' to the Omrin provider (thanks Arcidodo)
- added an option to create an ICS file for use in the calendar app (based on collected waste data from any provider)
(add calendar: "file:///var/volatile/tmp/wasteDates.ics" to the userSettings.json file in the calender app)
- cosmetic changes to the config screen
- fixed the bug preventing reading waste calenders at startup

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby SDeath » Tue Jan 15, 2019 4:26 pm

Hi Toonz,

I have an error since yesterday for my waste collector HVC, see attached screenshot and below the contents of the ICS file that I downloaded from the HVC website, I hope this helps in fixing the error, it also happens in the new version:

Code: Select all
BEGIN:VCALENDAR
VERSION:2.0
PRODID:inzamelkalender.hvcgroep.nl_ophalen
X-WR-CALNAME:Inzamelkalender HVC
X-PUBLISHED-TTL:P1W
BEGIN:VEVENT
UID:5c3df6ccb8435
DTSTART;VALUE=DATE:20190206
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190207
SUMMARY:Restafval
CLASS:PUBLIC
DESCRIPTION:Restafval
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Restafval wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb84ad
DTSTART;VALUE=DATE:20190306
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190307
SUMMARY:Restafval
CLASS:PUBLIC
DESCRIPTION:Restafval
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Restafval wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb850d
DTSTART;VALUE=DATE:20190116
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190117
SUMMARY:Gft & etensresten
CLASS:PUBLIC
DESCRIPTION:Gft & etensresten
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Gft & etensresten wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb8569
DTSTART;VALUE=DATE:20190130
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190131
SUMMARY:Gft & etensresten
CLASS:PUBLIC
DESCRIPTION:Gft & etensresten
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Gft & etensresten wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb85c6
DTSTART;VALUE=DATE:20190213
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190214
SUMMARY:Gft & etensresten
CLASS:PUBLIC
DESCRIPTION:Gft & etensresten
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Gft & etensresten wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb8623
DTSTART;VALUE=DATE:20190227
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190228
SUMMARY:Gft & etensresten
CLASS:PUBLIC
DESCRIPTION:Gft & etensresten
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Gft & etensresten wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb8684
DTSTART;VALUE=DATE:20190313
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190314
SUMMARY:Gft & etensresten
CLASS:PUBLIC
DESCRIPTION:Gft & etensresten
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Gft & etensresten wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb86e0
DTSTART;VALUE=DATE:20190123
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190124
SUMMARY:Plastic\, blik & drinkpakken
CLASS:PUBLIC
DESCRIPTION:Plastic\, blik & drinkpakken
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Plastic\, blik & drinkpakken wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb873b
DTSTART;VALUE=DATE:20190220
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190221
SUMMARY:Plastic\, blik & drinkpakken
CLASS:PUBLIC
DESCRIPTION:Plastic\, blik & drinkpakken
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Plastic\, blik & drinkpakken wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb8797
DTSTART;VALUE=DATE:20190209
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190210
SUMMARY:Papier en karton
CLASS:PUBLIC
DESCRIPTION:Papier en karton
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Papier en karton wordt opgehaald
END:VALARM
END:VEVENT
BEGIN:VEVENT
UID:5c3df6ccb87f5
DTSTART;VALUE=DATE:20190309
SEQUENCE:0
TRANSP:OPAQUE
DTEND;VALUE=DATE:20190310
SUMMARY:Papier en karton
CLASS:PUBLIC
DESCRIPTION:Papier en karton
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
DTSTAMP:20190115T160548Z
BEGIN:VALARM
TRIGGER:-PT12H
ACTION:DISPLAY
DESCRIPTION:Papier en karton wordt opgehaald
END:VALARM
END:VEVENT
END:VCALENDAR
Attachments
Error Afvalwijzer.png
Error Afvalwijzer.png (107.77 KiB) Viewed 203 times
Toon1 running firmware 5.0.4 (rooted)
SDeath
Starting Member
Starting Member
 
Posts: 29
Joined: January 2019

Re: Toon app: Afvalwijzer

Postby yjb » Tue Jan 15, 2019 5:02 pm

I see the same (HVC as well)
yjb
Member
Member
 
Posts: 165
Joined: April 2009
Location: Venhuizen, Netherlands

Re: Toon app: Afvalwijzer

Postby Toonz » Tue Jan 15, 2019 5:12 pm

will have a look tonight, not a big deal (will be version 4.12)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 928
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby erik73 » Tue Jan 15, 2019 6:15 pm

My problem (not shownieuws anything after update) corrected itself with the first wast collectief day. Everything is back :P
erik73
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon app: Afvalwijzer

Postby atlantica » Tue Jan 15, 2019 7:26 pm

Hey Toonz,

Alphen aan den RIjn provider 23 seems to be broken.
the url is still working if I try this on a browser.
Could there be something wrong with te SSL setting?
Regards

David
atlantica
Starting Member
Starting Member
 
Posts: 25
Joined: March 2018

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest